Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .appsec-tests/vpatch-CVE-2024-5057/CVE-2024-5057.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
## autogenerated on 2026-01-14 14:58:55
id: CVE-2024-5057
info:
name: CVE-2024-5057
author: crowdsec
severity: info
description: CVE-2024-5057 testing
tags: appsec-testing
http:
- raw:
- |
GET /wp-admin/admin-ajax.php?action=edd_download_search&s=a')/**/AND/**/SLEEP(6)%23 HTTP/1.1
Host: {{Hostname}}
cookie-reuse: true
matchers:
- type: status
status:
- 403
5 changes: 5 additions & 0 deletions .appsec-tests/vpatch-CVE-2024-5057/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## autogenerated on 2026-01-14 14:58:55
appsec-rules:
- ./appsec-rules/crowdsecurity/base-config.yaml
- ./appsec-rules/crowdsecurity/vpatch-CVE-2024-5057.yaml
nuclei_template: CVE-2024-5057.yaml
45 changes: 45 additions & 0 deletions appsec-rules/crowdsecurity/vpatch-CVE-2024-5057.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
## autogenerated on 2026-01-14 14:58:55
name: crowdsecurity/vpatch-CVE-2024-5057
description: 'Detects SQL injection vulnerability in WordPress Easy Digital Downloads <= 3.2.12 via the edd_download_search action.'
rules:
- and:
- zones:
- URI
transform:
- lowercase
- urldecode
match:
type: contains
value: /wp-admin/admin-ajax.php
- zones:
- ARGS
variables:
- action
transform:
- lowercase
- urldecode
match:
type: equals
value: edd_download_search
- zones:
- ARGS
variables:
- s
transform:
- lowercase
- urldecode
match:
type: contains
value: "'"

labels:
type: exploit
service: http
confidence: 3
spoofable: 0
behavior: 'http:exploit'
label: 'Easy Digital Downloads - SQLI'
classification:
- cve.CVE-2024-5057
- attack.T1190
- cwe.CWE-89
1 change: 1 addition & 0 deletions collections/crowdsecurity/appsec-virtual-patching.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ appsec-rules:
- crowdsecurity/vpatch-CVE-2023-46805
- crowdsecurity/vpatch-CVE-2024-23897
- crowdsecurity/vpatch-CVE-2023-22527
- crowdsecurity/vpatch-CVE-2024-5057
- crowdsecurity/vpatch-CVE-2023-35078
- crowdsecurity/vpatch-CVE-2023-35082
- crowdsecurity/vpatch-CVE-2022-22954
Expand Down
Loading