CVE-2024-2879
published 2024-04-03CVE-2024-2879: 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…
PriorityP181high7.5CVSS 3.1
AVNACLPRNUINSUCHINAN
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
18.40%
96.9th percentile
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
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| kreaturamedia | layerslider | — | — |
| kreaturamedia | layerslider | — | — |
| layerslider | layerslider | 7.9.11 – 7.10.0 | — |
Detection & IOCsextracted from sources · hover to see the quote
url/wp-admin/admin-ajax.php?action=ls_get_popup_markup&id[where]=1)+AND+(SELECT+1+FROM+(SELECT(SLEEP(6)))x)--+x)
path/wp-content/plugins/LayerSlider/
- →Detect exploitation attempts by monitoring GET requests to /wp-admin/admin-ajax.php with action=ls_get_popup_markup and an array-style 'id[where]' parameter containing SQL payloads (e.g., SLEEP, SELECT subqueries). The attack is time-based blind SQLi — flag responses with anomalous delays (>=6s).
- →The vulnerability is triggered when the 'id' parameter is non-numeric and passed as an array (e.g., id[where]=...), bypassing the is_numeric() check and injecting unsanitized input into the SQL WHERE clause. ↗
- →Fingerprint vulnerable LayerSlider installations by checking for the presence of the string '.ls-clearfix:before' in /wp-content/plugins/LayerSlider/assets/static/public/front.css before probing for SQLi.
- →The attack is limited to time-based blind SQL injection — detection should focus on response time anomalies correlated with SLEEP() payloads in the id[where] parameter of ls_get_popup_markup AJAX requests. ↗
- →No authentication is required to exploit this vulnerability — any unauthenticated HTTP GET request to the admin-ajax endpoint with the malicious action and id parameter is sufficient. ↗
- ·Affected versions are strictly 7.9.11 and 7.10.0 only; version 7.10.1 is patched. Ensure version detection is scoped to these two specific versions to avoid false positives. ↗
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vulncheck7.5HIGH
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-53x2-fcg3-m32m: The LayerSlider plugin for WordPress is vulnerable to SQL Injection via the ls_get_popup_markup action in versions 7
ghsa_unreviewed·2024-04-03
CVE-2024-2879 [CRITICAL] CWE-89 GHSA-53x2-fcg3-m32m: The LayerSlider plugin for WordPress is vulnerable to SQL Injection via the ls_get_popup_markup action in versions 7
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.
VulnCheck
kreaturamedia layerslider Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
vulncheck·2024·CVSS 7.5
CVE-2024-2879 [HIGH] kreaturamedia layerslider Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
kreaturamedia layerslider Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
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: kreaturamedia layerslider
Required Action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Exploitation References: https://patchstack.com/datab
No detection rules found.
Nuclei
WordPress Plugin LayerSlider 7.9.11-7.10.0 - SQL Injection
nuclei·CVSS 7.5
CVE-2024-2879 [HIGH] WordPress Plugin LayerSlider 7.9.11-7.10.0 - SQL Injection
WordPress Plugin LayerSlider 7.9.11-7.10.0 - SQL Injection
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.
Template:
id: CVE-2024-2879
info:
name: WordPress Plugin LayerSlider 7.9.11-7.10.0 - SQL Injection
author: d4ly
severity: high
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 es
Qualys
WordPress LayerSlider Plugin SQL Injection Vulnerability (CVE-2024-2879) | Qualys
blogs_qualys·2024-04-22·CVSS 9.8
CVE-2024-2879 [CRITICAL] WordPress LayerSlider Plugin SQL Injection Vulnerability (CVE-2024-2879) | Qualys
#### Table of Contents
- About CVE-2024-2879
- SQL Injection Analysis
- Detecting the Vulnerability with Qualys WAS
- Solution
- References
- Contributors
On March 25th, 2024, a critical security vulnerability was discovered in the LayerSlider plugin for WordPress, marked as CVE-2024-2879. The plugins have more than 10 lakh active installations. This flaw, rated with a CVSS score of 7.5 out of 10.0, is identified as an SQL injection vulnerability impacting LayerSlider versions 7.9.11 through 7.10.0.
Qualys Web Application Scanning released a QID 150868 to address CVE-2024-2879. The detection is part of the OWASP Top 10 Injection category. SQL injections have been getting a lot of visibility recently which we have discussed in our blog on Navigating SQL Injections.
## About CVE-2024-287
Qualys
WordPress LayerSlider Plugin: SQL Injection Vulnerability
blogs_qualys·2024-04-22·CVSS 9.8
CVE-2024-2879 [CRITICAL] WordPress LayerSlider Plugin: SQL Injection Vulnerability
## Table of Contents
About CVE-2024-2879
SQL Injection Analysis
Detecting the Vulnerability with Qualys WAS
Solution
References
Contributors
On March 25th, 2024, a critical security vulnerability was discovered in the LayerSlider plugin for WordPress, marked as CVE-2024-2879 . The plugins have more than 10 lakh active installations. This flaw, rated with a CVSS score of 7.5 out of 10.0, is identified as an SQL injection vulnerability impacting LayerSlider versions 7.9.11 through 7.10.0.
Qualys Web Application Scanning released a QID 150868 to address CVE-2024-2879. The detection is part of the OWASP Top 10 Injection category. SQL injections have been getting a lot of visibility recently which we have discussed in our blog on Navigating SQL Injections .
## About CVE-2024-2879
QID
Bleepingcomputer
Critical flaw in LayerSlider WordPress plugin impacts 1 million sites
blogs_bleepingcomputer·2024-04-03·CVSS 9.8
[CRITICAL] Critical flaw in LayerSlider WordPress plugin impacts 1 million sites
## Critical flaw in LayerSlider WordPress plugin impacts 1 million sites
## Bill Toulas
A premium WordPress plugin named LayerSlider, used in over one million sites, is vulnerable to unauthenticated SQL injection, requiring admins to prioritize applying security updates for the plugin.
LayerSlider is a versatile tool for creating responsive sliders, image galleries, and animations on WordPress sites, allowing users to build visually appealing elements with dynamic content on online platforms.
Researcher AmrAwad discovered the critical (CVSS score: 9.8) flaw, tracked as CVE-2024-2879, on March 25, 2024, and reported it to WordPress security firm Wordfence via its bug bounty program. For his responsible reporting, AmrAwad received a bounty of $5,500.
The flaw, which impacts versions 7.9
Greynoiseio
NoiseLetter April 2024
blogs_greynoiseio
NoiseLetter April 2024
CVE Disclosure Early Warning Get an early warning when traffic spikes indicate a high likelihood of new disclosures
Compromised Asset Detection Find out immediately if an asset communicates with a malicious IP address
Vulnerability Prioritization Get real-time insight into active exploitation trends to better understand risk and severity
SOC Efficiency Filter out noisy, low priority and false-positive alerts from mass internet scanners
Incident Investigation Add context to incidents to speed the determinations of scope and timelines
Threat Hunting Quickly identify anomalous behavior and enrich your threat hunting campaigns
Why GreyNoise
CVE Disclosure Early Warning Get an early warning when traffic spikes indicate a high likelihood of new disclosures
Compromised Asset Detection Fin
2024-04-03
Published
Exploited in the wild