제출 #91363: SOURCECODESTER Auto Dealer Management System 1.0 / manage_user.php id SQL Injection정보

제목SOURCECODESTER Auto Dealer Management System 1.0 / manage_user.php id SQL Injection
설명Auto Dealer Management System manage_user.php id parameter is vulnerable to SQL Injection. Although, this page is only developed to access from admin portal but due to broken access control issue, low privileged user could able to access and perform the SQL Injection to get full system access. Vendor Homepage: https://www.sourcecodester.com Software Link: Auto Dealer Management System (https://www.sourcecodester.com/php/15371/auto-dealer-management-system-phpoop-free-source-code.html) Version: v 1.0 Affected Page: manage_user.php On this page id parameter is vulnerable to SQL Injection Attack URL of the vulnerable parameter is: ?page=user/manage_user&id=* Description: The auto dealer management system supports two roles of users, one is admin, and another is a normal employee. the detail of role is given below Admin user has full access to the system Employee user has only a few menu access i.e. dashboard, car models and vehicle (available and transaction) Although the employee user doesn't have manage_user.php access, due to broken access control, an employee could able to perform the SQL Injection by opening manage_user.php page. Therefore, low-privileged users could able to get the access full system. Proof of Concept: The following steps are involved: - Employee guesses the page manager_user.php and passes the random id parameter that parameter is vulnerable to SQL injection (?page=user/manage_user&id=1*) - Full SQL Injection payload is: localhost/adms/admin/?page=user/manage_user&id=1%27+and+false+union+select+1,user(),3,4,database(),6,7,8,9,10,11--+- Recommendation: Whoever uses this CMS, should update the code of the application in to parameterized queries to avoid SQL Injection attack: Example Code: $sql = $obj_admin->db->prepare("SELECT * FROM users where id = :id "); $sql->bindparam(':id', $id); $sql->execute(); $row = $sql->fetch(PDO::FETCH_ASSOC);
원천⚠️ https://github.com/navaidzansari/CVE_Demo/blob/main/2023/Auto%20Dealer%20Management%20System%20-%20SQL%20Injection%20-%203.md
사용자
 navaidansari (UID 41266)
제출2023. 02. 18. PM 09:09 (4 연령 ago)
모더레이션2023. 02. 19. AM 09:08 (12 hours later)
상태수락
VulDB 항목221490 [SourceCodester Auto Dealer Management System 1.0 manage_user 아이디 SQL 주입]
포인트들20

Interested in the pricing of exploits?

See the underground prices here!