.. / CVE-2024-2879

Exploit for WordPress Plugin LayerSlider 7.9.11 to 7.10.0 - Unauthenticated SQL Injection (CVE-2024-2879)

Description:

The LayerSlider plugin for WordPress is vulnerable to SQL Injection via the ls_get_popup_markup action in versions 7.9.11 and 7.10.0 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

Affected Products:

Proof of Concept

PoC exploits

Nuclei Template

View the template here CVE-2024-2879.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2024/CVE-2024-2879.yaml
Copy

References:

https://nvd.nist.gov/vuln/detail/CVE-2024-2879
https://layerslider.com/release-log/
https://www.securityblue.team/blog/posts/Critical-Vulnerability-in-WordPress-Plugin-LayerSlider
https://www.wordfence.com/blog/2024/04/5500-bounty-awarded-for-unauthenticated-sql-injection-vulnerability-patched-in-layerslider-wordpress-plugin/