HexBrain

Browse / CVEs / CVE-2017-1000163

CVE-2017-1000163· phoenixframework / phoenix· CWE-601

Phoenix Framework - Open Redirect

mediumseverity
6.1CVSS score
2.4%likelihood of exploitation, next 30 days
84%of all CVEs are less likely
Readycheck to confirm it

Phoenix Framework versions 1.0.0 through 1.0.4, 1.1.0 through 1.1.6, 1.2.0, 1.2.2 and 1.3.0-rc.0 contain an open redirect vulnerability, which may result in phishing or social engineering attacks.

Impact

An attacker can craft a malicious URL that redirects users to a malicious website, leading to potential phishing attacks.

Fix

Apply the latest security patches or upgrade to a patched version of the Phoenix Framework.

How to confirm it

Send: GET {{BaseURL}}/?redirect=/\interact.sh
Positive when: matches in header /(?m)^(?:Location\s*?:\s*?)(?:https?://|//)?(?:[a-zA-Z0-9\-_]*\.)?interact\.sh(?…/

Run it with nuclei: nuclei -id CVE-2017-1000163 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2017-1000163

info:
  name: Phoenix Framework - Open Redirect
  author: 0x_Akoko
  severity: medium
  description: Phoenix Framework versions 1.0.0 through 1.0.4, 1.1.0 through 1.1.6, 1.2.0, 1.2.2 and 1.3.0-rc.0 contain an open redirect vulnerability, which may result in phishing or social engineering attacks.
  impact: |
    An attacker can craft a malicious URL that redirects users to a malicious website, leading to potential phishing attacks.
  remediation: |
    Apply the latest security patches or upgrade to a patched version of the Phoenix Framework.
  reference:
    - https://elixirforum.com/t/security-releases-for-phoenix/4143
    - https://vuldb.com/?id.109587
    - https://nvd.nist.gov/vuln/detail/CVE-2017-1000163
    - 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-2017-1000163
    cwe-id: CWE-601
    epss-score: 0.02377
    epss-percentile: 0.8401
    cpe: cpe:2.3:a:phoenixframework:phoenix:1.0.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: phoenixframework
    product: phoenix
  tags: cve,cve2017,redirect,phoenix,phoenixframework,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/?redirect=/\interact.sh'

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

References

Use this check only on systems you are authorised to test. Where the data comes from