id: CVE-2019-1010290

info:
  name: Babel - Open Redirect
  author: 0x_Akoko
  severity: medium
  description: Babel contains an open redirect vulnerability via redirect.php in the newurl parameter. An attacker can use any legitimate site using Babel to redirect user to a malicious site, thus possibly obtaining sensitive information, modifying data, and/or executing unauthorized operations.
  impact: |
    An attacker can exploit this vulnerability to redirect users to malicious websites, leading to potential phishing attacks.
  remediation: |
    Upgrade to Babel version 7.4.0 or later to mitigate this vulnerability.
  reference:
    - https://untrustednetwork.net/en/2019/02/20/open-redirection-vulnerability-in-babel/
    - http://dev.cmsmadesimple.org/project/files/729
    - https://nvd.nist.gov/vuln/detail/CVE-2019-1010290
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2019-1010290
    cwe-id: CWE-601
    epss-score: 0.00215
    epss-percentile: 0.59555
    cpe: cpe:2.3:a:cmsmadesimple:bable\:multilingual_site:*:*:*:*:*:cms_made_simple:*:*
  metadata:
    max-request: 1
    vendor: cmsmadesimple
    product: bable\
  tags: cve2019,cve,redirect,babel,cmsmadesimple

http:
  - method: GET
    path:
      - '{{BaseURL}}/modules/babel/redirect.php?newurl=http://interact.sh'

    matchers:
      - type: regex
        part: header
        regex:
          - '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)(?:[a-zA-Z0-9\-_\.@]*)interact\.sh\/?(\/|[^.].*)?$' # https://regex101.com/r/L403F0/1
# digest: 490a0046304402204c14f70b7f4a196bfbfe6a289f53fa2041c81910a71364acb59ef3ac270f44b902201e00024c42c8070c3e447e8d8af4d398c1810a2a952631474baa6a5d750f6c40:922c64590222798bb761d5b6d8e72950