id: CVE-2015-7823

info:
  name: Kentico CMS 8.2 - Open Redirect
  author: 0x_Akoko
  severity: medium
  description: Kentico CMS 8.2 contains an open redirect vulnerability via GetDocLink.ashx with link variable. An attacker can construct a URL within the application that causes a redirection to an arbitrary external domain.
  impact: |
    An attacker can exploit this vulnerability to redirect users to malicious websites, leading to phishing attacks or the installation of malware.
  remediation: |
    Apply the latest security patches or upgrade to a newer version of Kentico CMS.
  reference:
    - https://packetstormsecurity.com/files/133981/Kentico-CMS-8.2-Cross-Site-Scripting-Open-Redirect.html
    - https://nvd.nist.gov/vuln/detail/CVE-2015-7823
    - http://packetstormsecurity.com/files/133981/Kentico-CMS-8.2-Cross-Site-Scripting-Open-Redirect.html
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:P/A:N
    cvss-score: 5.8
    cve-id: CVE-2015-7823
    cwe-id: NVD-CWE-Other
    epss-score: 0.05143
    epss-percentile: 0.91326
    cpe: cpe:2.3:a:kentico:kentico_cms:8.2:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: kentico
    product: kentico_cms
    shodan-query:
      - cpe:"cpe:2.3:a:kentico:kentico_cms"
      - http.title:"kentico database setup"
    fofa-query: title="kentico database setup"
    google-query: intitle:"kentico database setup"
  tags: cve2015,cve,kentico,redirect,packetstorm,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/CMSPages/GetDocLink.ashx?link=https://interact.sh/"

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