CVE-2026-6151
Received Received - Intake

SQL Injection in Vehicle Showroom Management System Payment Module

Vulnerability report for CVE-2026-6151, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-04-13

Last updated on: 2026-04-29

Assigner: VulDB

Description

A vulnerability was found in code-projects Vehicle Showroom Management System 1.0. This vulnerability affects unknown code of the file /util/PaymentStatusFunction.php. The manipulation of the argument CUSTOMER_ID results in sql injection. It is possible to launch the attack remotely. The exploit has been made public and could be used.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-04-13
Last Modified
2026-04-29
Generated
2026-07-06
AI Q&A
2026-04-13
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Currently, no data is known.

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-74 The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability exists in the Vehicle Showroom Management System 1.0, specifically in the file /util/PaymentStatusFunction.php. It is caused by improper handling of the CUSTOMER_ID parameter, which is used directly in SQL queries without proper input validation or sanitization.

Attackers can exploit this flaw by injecting malicious SQL code through the CUSTOMER_ID parameter, enabling unauthorized database access, data leakage, data modification or deletion, and potentially full system compromise or service disruption.

No authentication or authorization is required to exploit this vulnerability, and it can be launched remotely. Various SQL injection techniques such as boolean-based blind, error-based, time-based blind, and UNION query injections have been demonstrated.

Impact Analysis

Exploitation of this vulnerability can lead to unauthorized access to the database, allowing attackers to leak sensitive data, modify or delete data, and potentially take full control of the system.

This can result in service disruption, loss of business continuity, and compromise of confidential information.

  • Unauthorized database access
  • Data leakage
  • Data modification or deletion
  • Potential full system compromise
  • Service disruption
Detection Guidance

This SQL injection vulnerability can be detected by testing the CUSTOMER_ID parameter in the /util/PaymentStatusFunction.php file for injection flaws.

You can use tools like sqlmap to automate detection and exploitation attempts.

  • Example sqlmap command: sqlmap -u "http://targetsite/util/PaymentStatusFunction.php?CUSTOMER_ID=1" --batch --dbs
  • Manual payloads to test include: CUSTOMER_ID=-2982' OR 6911=6911# (boolean-based blind injection)
  • CUSTOMER_ID=111' OR (SELECT 6772 FROM(SELECT COUNT(*),CONCAT(...))a)-- (error-based injection)
  • CUSTOMER_ID=111' AND (SELECT 2039 FROM (SELECT(SLEEP(5)))bytr)-- (time-based blind injection)
  • CUSTOMER_ID=111' UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,CONCAT(...),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL# (UNION query injection)
Mitigation Strategies

Immediate mitigation steps include:

  • Use prepared statements with parameter binding to separate SQL code from user input, preventing injection.
  • Implement strict input validation and filtering to ensure inputs conform to expected formats.
  • Minimize database user permissions by avoiding use of high-privilege accounts (e.g., root or admin) for application database connections.
  • Conduct regular security audits of code and systems to detect and fix vulnerabilities promptly.
Compliance Impact

The SQL injection vulnerability in the Vehicle Showroom Management System allows attackers to gain unauthorized access to the database, potentially leading to data leakage, modification, or deletion. Such unauthorized access and data compromise can result in violations of data protection regulations like GDPR and HIPAA, which mandate the protection of personal and sensitive information.

Failure to prevent such vulnerabilities may lead to non-compliance with these standards due to inadequate safeguards against unauthorized data access and potential breaches.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-6151. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart