StivaSoft Car Rental Script Cross-Site Scripting and Request Forgery Vulnerabilities
Description
Two vulnerabilities has been reported in Car Rental Script, which can be exploited by malicious people to conduct cross-site scripting and request forgery attacks.
1) Input passed via the "p_date" GET parameter to index.php (when "controller" is set to "AdminBookings") is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a administrator's browser session in context of an affected site.
2) The application allows users to perform certain actions via HTTP requests without performing proper validity checks to verify the requests. This can be exploited to e.g. change configuration settings when a logged-in administrative user visits a specially crafted web page.
Note: This can further be exploited to conduct script insertion attacks.