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.00233
    epss-percentile: 0.6128
    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

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