CVE-2025-8235

7.3

code-projects · Online Ordering System

The code-projects Online Ordering System 1.0 contains an unauthenticated SQL injection vulnerability in the admin/product.php file via the Name parameter.

Executive summary

An unauthenticated SQL injection vulnerability in the code-projects Online Ordering System 1.0 allows remote attackers to compromise the underlying database.

Vulnerability

This is a SQL injection vulnerability (CWE-89) triggered by the improper sanitization of the Name argument within the /admin/product.php file. The vulnerability is remotely exploitable without authentication, as indicated by the CVSS vector (AV:N/PR:N).

Business impact

The ability for an unauthenticated attacker to inject malicious SQL commands poses a severe risk to data confidentiality and integrity. Successful exploitation could lead to unauthorized access to sensitive customer or system information, potential modification of database records, or total system compromise. While the CVSS score of 7.3 reflects a high severity, the risk is further elevated by the remote, unauthenticated nature of the attack vector.

Remediation

Immediate Action: Since no official patch is currently available, administrators should restrict access to the /admin/product.php endpoint or disable the affected module entirely until a secure version is released.

Proactive Monitoring: Monitor database query logs for suspicious syntax or unexpected patterns, particularly those originating from the /admin/product.php endpoint.

Compensating Controls: Deploy a Web Application Firewall (WAF) with rules specifically configured to detect and block common SQL injection patterns targeting the Name parameter.

Exploitation status

Public Exploit Available: Yes, a published proof-of-concept exists, as documented in the technical write-up at the following GitHub issue: https://github.com/xiajian-qx/cve-xiajian/issues/4.

Analyst recommendation

Given the availability of a public proof-of-concept and the lack of an official patch, this vulnerability presents a significant risk to organizations running the Online Ordering System. Immediate steps must be taken to isolate the vulnerable component or implement strict WAF filtering to prevent unauthorized database access. Prioritize this remediation to ensure the continued security of your application environment.

More code-projects CVEs

Sources

Originally found and disclosed by xiajian (VulDB User), per the CVE Program record.