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.04059
    epss-percentile: 0.89641
    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,vuln

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: 490a004630440220321d78d212e879b2120b6aad7256ccdae294a6c8a940e94c6f0dd280a88915b1022004fc067073873888ffd7a614bbb2d142ea989c92acfe72588a5d5766c7175cbe:922c64590222798bb761d5b6d8e72950