CVE-2022-31352 in Online Car Wash Booking Systeminfo

Summary

by MITRE • 06/02/2022

Online Car Wash Booking System v1.0 by oretnom23 has SQL injection in /ocwbs/admin/services/manage_service.php?id=.

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Analysis

by VulDB Data Team • 02/18/2026

The Online Car Wash Booking System version 1.0 developed by oretnom23 contains a critical SQL injection vulnerability that affects the administrative service management component. This vulnerability exists within the file /ocwbs/admin/services/manage_service.php and specifically targets the id parameter, creating a pathway for malicious actors to execute unauthorized database operations. The flaw represents a fundamental breakdown in input validation and query construction practices, allowing attackers to manipulate the underlying database through crafted malicious input.

This vulnerability falls under CWE-89 which categorizes SQL injection as a weakness where untrusted data is incorporated into SQL commands without proper sanitization or parameterization. The attack vector is particularly dangerous because it targets the administrative interface of the system, potentially allowing threat actors to gain elevated privileges and access sensitive customer data, booking information, and administrative controls. The vulnerability is classified as a remote code execution risk when combined with other exploitation techniques, as demonstrated by the ATT&CK framework's T1190 technique for exploitation of remote services.

The operational impact of this vulnerability extends beyond simple data theft, as it enables attackers to manipulate the entire booking system database. An attacker could potentially delete service records, modify pricing structures, compromise customer booking information, or even escalate privileges to gain full administrative control over the system. The vulnerability is particularly concerning because it affects the core administrative functionality of the car wash booking system, potentially disrupting business operations and compromising customer trust.

Mitigation strategies should focus on implementing proper parameterized queries and input validation mechanisms throughout the application. The system requires immediate patching with prepared statements that separate SQL code from data inputs, preventing malicious SQL commands from being executed. Additionally, implementing proper access controls and input sanitization measures will help prevent exploitation of this vulnerability. Regular security assessments and code reviews should be conducted to identify similar weaknesses in other parts of the application. The vulnerability also highlights the importance of following secure coding practices and adhering to OWASP Top Ten security guidelines to prevent such critical flaws from being introduced into web applications.

Reservation

05/23/2022

Disclosure

06/02/2022

Moderation

accepted

CPE

ready

EPSS

0.01081

KEV

no

Activities

very low

Sources

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!