PHPGurukul Car Rental Portal
cpe:2.3:a:phpgurukul:car_rental_portal:*:*:*:*:*:*:*
- 3.0
A cross-site request forgery (CSRF) vulnerability has been identified in PHPGurukul Car Rental Portal version 3.0. This vulnerability allows attackers to trick authenticated users into performing actions without their consent. The issue arises because the application does not properly verify whether a request was intentionally made by the user. As a result, an attacker can exploit this flaw to manipulate user actions, potentially leading to unauthorized changes or transactions.
Exploitation of this vulnerability allows for cross-site request forgery, where an attacker can perform actions on behalf of an authenticated user without their knowledge. This could include unauthorized transactions, changes to account information, or other actions depending on the user's role within the application.
To reproduce this vulnerability, create two user accounts: one for the attacker and one for the victim. Log into the attacker's account and identify a function within the application that can be exploited, such as a car booking option. Capture the request using a tool like Burp Suite, but do not send it to the server yet. Instead, generate a CSRF payload by saving the captured request as an HTML file. Then, log into the victim's account in a private or different browser, and open the saved HTML file. This will trigger the CSRF attack by sending the request as if it were initiated by the victim.
No specific remediation is known for this vulnerability. However, general CSRF prevention techniques can be applied, such as using CSRF tokens to validate requests and setting the SameSite attribute on cookies to restrict cross-origin transmission.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.