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.89341
    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: 4a0a00473045022100f201cb8daa9168207694f3ed32cc5233f8da90135491ae4f2d7907b8a2ce486d02206b7d942e510d245d4576f4ee842f807bfa5bb8e68c2807826a0e391b6c60292b:922c64590222798bb761d5b6d8e72950