HexBrain

Browse / CVEs / CVE-2018-14474

CVE-2018-14474· goodoldweb / orange forum· CWE-601

Orange Forum 1.4.0 - Open Redirect

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

Orange Forum 1.4.0 contains an open redirect vulnerability in views/auth.go via the next parameter to /login or /signup. 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.

Fix

Upgrade to a patched version of Orange Forum or apply the necessary security patches to fix the open redirect vulnerability.

How to confirm it

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

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

The full check
id: CVE-2018-14474

info:
  name: Orange Forum 1.4.0 - Open Redirect
  author: 0x_Akoko
  severity: medium
  description: |
    Orange Forum 1.4.0 contains an open redirect vulnerability in views/auth.go via the next parameter to /login or /signup. 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 a patched version of Orange Forum or apply the necessary security patches to fix the open redirect vulnerability.
  reference:
    - https://github.com/s-gv/orangeforum/commit/1f6313cb3a1e755880fc1354f3e1efc4dd2dd4aa
    - https://seclists.org/fulldisclosure/2019/Jan/32
    - https://vuldb.com/?id.122045
    - https://nvd.nist.gov/vuln/detail/CVE-2018-14474
    - 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-2018-14474
    cwe-id: CWE-601
    epss-score: 0.02257
    epss-percentile: 0.83109
    cpe: cpe:2.3:a:goodoldweb:orange_forum:1.4.0:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: goodoldweb
    product: orange_forum
  tags: cve2018,cve,redirect,orangeforum,oss,seclists,goodoldweb,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/login?next=http://interact.sh/?app.scan/'
      - '{{BaseURL}}/signup?next=http://interact.sh/?app.scan/'

    stop-at-first-match: true
    matchers:
      - type: regex
        part: header
        regex:
          - '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)(?:[a-zA-Z0-9\-_\.@]*)interact\.sh\/?(\/|[^.].*)?$' # https://regex101.com/r/L403F0/1

References

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