id: CVE-2019-9915

info:
  name: GetSimple CMS 3.3.13 - Open Redirect
  author: 0x_Akoko
  severity: medium
  description: GetSimple CMS 3.3.13 contains an open redirect vulnerability via the admin/index.php redirect parameter. An attacker can redirect a user to a malicious site and possibly obtain sensitive information, modify data, and/or execute unauthorized operations.
  impact: |
    An attacker can exploit this vulnerability to redirect users to malicious websites, leading to phishing attacks or the installation of malware.
  remediation: |
    Upgrade to the latest version of GetSimple CMS to fix the open redirect vulnerability.
  reference:
    - https://www.invicti.com/web-applications-advisories/ns-18-056-open-redirection-vulnerability-in-getsimplecms
    - https://github.com/GetSimpleCMS/GetSimpleCMS/issues/1300
    - https://www.netsparker.com/web-applications-advisories/ns-18-056-open-redirection-vulnerability-in-getsimplecms/
    - https://nvd.nist.gov/vuln/detail/CVE-2019-9915
    - 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-9915
    cwe-id: CWE-601
    epss-score: 0.03626
    epss-percentile: 0.88047
    cpe: cpe:2.3:a:get-simple.:getsimplecms:3.3.13:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: get-simple.
    product: getsimplecms
  tags: cve,cve2019,redirect,getsimple,cms,get-simple.,vuln

http:
  - raw:
      - |
        POST /admin/index.php?redirect=https://interact.sh/ HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        userid={{username}}&pwd={{password}}&submitted=Login

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