CVE-2026-6151

code-projects Vehicle Showroom Management System PaymentStatusFunction.php sql injection

Published Apr 13, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The flaw arises in Vehicle Showroom Management System’s PaymentStatusFunction.php, where the CUSTOMER_ID parameter is concatenated directly into a SQL query without any input validation. This allows an attacker to inject arbitrary SQL statements, enabling the read, modification, or deletion of sensitive data stored in the database. Because the injection can be triggered through a normal HTTP request to the vulnerable page, the attack can be performed remotely with minimal effort, potentially leading to loss of confidentiality, integrity, and availability of database contents.

Affected Systems

All installations of code‑projects Vehicle Showroom Management System, version 1.0, are impacted, as the vulnerability resides in the utility file /util/PaymentStatusFunction.php. Any instance that accepts a CUSTOMER_ID value without proper sanitization is susceptible.

Risk and Exploitability

The vulnerability carries a CVSS score of 6.9, indicating a medium severity risk. The EPSS score is not available, so the likelihood of exploitation remains unclear, but the public exploit and remote attack vector suggest that it can be exercised with relative ease. The vulnerability is not listed in the KEV catalog, yet it can be leveraged through straightforward HTTP requests to the affected endpoint.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Verify whether the vendor has released a patch or newer version; if available, upgrade the application immediately.
  • Implement parameterized queries or prepared statements for all database interactions that use CUSTOMER_ID, ensuring that user input cannot alter SQL logic.
  • Restrict the database account used by the application to the minimum privileges required, such as read‑only or limited alter rights.
  • Deploy a web application firewall or input‑validation rule that blocks potentially malicious SQL payloads against the vulnerable endpoint.
  • Monitor application and database logs for anomalous query patterns or repeated injection attempts, and investigate any suspicious activity promptly.

Generated by OpenCVE AI on April 13, 2026 at 03:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Code-projects
Code-projects vehicle Showroom Management System
Vendors & Products Code-projects
Code-projects vehicle Showroom Management System
Type Values Removed Values Added
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.
Title code-projects Vehicle Showroom Management System PaymentStatusFunction.php sql injection
Weaknesses CWE-74
CWE-89
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 7.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Apr 13, 2026, 7:13 PM
Reserved
Apr 12, 2026, 5:59 PM
Status
Deferred
Published
Apr 13, 2026, 3:16 AM
Modified
Oct 26, 2026, 9:10 PM