CVE-2024-5385 in Online Car Wash Booking Systeminfo

Summary

by MITRE • 05/27/2024

A vulnerability, which was classified as problematic, has been found in oretnom23 Online Car Wash Booking System 1.0. This issue affects some unknown processing of the file /admin/?page=user/list. The manipulation of the argument First Name/Last Name with the input <script>confirm (document.cookie)</script> leads to cross site scripting. The attack may be initiated remotely. The associated identifier of this vulnerability is VDB-266303.

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Analysis

by VulDB Data Team • 07/30/2025

The vulnerability identified as CVE-2024-5385 represents a critical cross-site scripting flaw within the oretnom23 Online Car Wash Booking System version 1.0. This security weakness resides in the administrative interface component, specifically within the user management module accessible through the URL path /admin/?page=user/list. The vulnerability classification as problematic indicates a significant risk to system security and user data integrity. The flaw demonstrates a classic XSS vulnerability pattern where improper input validation allows malicious script execution within the context of the victim's browser. The vulnerability's remote exploitability means that attackers can initiate the attack without requiring physical access to the system, making it particularly dangerous in web-based environments where users interact with the application through standard web browsers.

The technical implementation of this vulnerability stems from inadequate sanitization of user input parameters, specifically the First Name and Last Name fields within the user listing interface. When an attacker submits the malicious payload <script>confirm (document.cookie)</script> as part of either the first name or last name input fields, the system fails to properly validate or escape the input before rendering it within the web page context. This allows the JavaScript code to execute in the browser of any user who views the affected page, particularly administrators who may have elevated privileges. The confirm() function serves as a proof-of-concept demonstrating that the malicious script executes successfully, potentially exposing session cookies and other sensitive information to unauthorized parties. The vulnerability's presence in the administrative user listing page creates a particularly dangerous scenario where attackers could compromise administrator accounts and gain full system control.

The operational impact of this vulnerability extends beyond simple data theft, as it enables a range of sophisticated attack vectors that can severely compromise system security. An attacker could potentially steal administrative session cookies to hijack administrator accounts, escalate privileges within the system, or even redirect users to malicious sites. The remote nature of the attack means that threat actors can exploit this vulnerability from anywhere on the internet without requiring any local system access. This vulnerability directly maps to CWE-79, which describes Cross-Site Scripting vulnerabilities in software applications, and aligns with ATT&CK technique T1566.001 for initial access through spearphishing attachments or links. The impact is particularly severe because the administrative interface typically contains sensitive data and system controls that could be exploited for further compromise.

Mitigation strategies for CVE-2024-5385 should focus on immediate input validation and output encoding measures. The system must implement comprehensive sanitization of all user inputs, particularly those rendered in web pages, using proper HTML escaping techniques and input validation libraries. The most effective approach involves implementing a whitelist-based input validation system that only accepts known good characters and formats for name fields. Additionally, the application should employ Content Security Policy (CSP) headers to prevent execution of unauthorized scripts and implement proper output encoding when displaying user data in web contexts. Regular security audits and penetration testing should be conducted to identify similar vulnerabilities in other parts of the application. The system administrators should also consider implementing web application firewalls to detect and block malicious script injection attempts. Updates to the software version should be prioritized, as this vulnerability affects version 1.0 which likely contains other unpatched security flaws. Security awareness training for administrators should emphasize the importance of monitoring user inputs and implementing proper security controls to prevent similar vulnerabilities from being introduced in future development cycles.

Responsible

VulDB

Disclosure

05/27/2024

Moderation

accepted

CPE

ready

EPSS

0.00515

KEV

no

Activities

very low

Sources

Do you know our Splunk app?

Download it now for free!