CVE-2025-14959

7.3

code-projects · Simple Stock System

A SQL injection vulnerability in the Simple Stock System signup.php file allows unauthenticated remote attackers to manipulate SQL queries via the username parameter.

Executive summary

An unauthenticated SQL injection vulnerability in Simple Stock System 1.0 poses a critical risk by allowing remote attackers to potentially gain unauthorized database access and control.

Vulnerability

This vulnerability is a classic SQL injection (CWE-89) occurring within the signup.php file. An unauthenticated attacker can inject malicious SQL commands via the username parameter, which is processed by the application without adequate sanitization or parameterization.

Business impact

Successful exploitation of this flaw can lead to severe consequences, including full unauthorized access to the backend database, exfiltration of sensitive information, data tampering, and potential service disruption. Given the CVSS score of 7.3, this represents a high-severity risk that could lead to complete system compromise if the database user possesses excessive privileges.

Remediation

Immediate Action: As no official patch is currently available, administrators should restrict public access to the signup.php endpoint or disable the registration functionality until the vendor provides a secure update.

Proactive Monitoring: Review web server and database logs for anomalous input patterns, specifically looking for SQL syntax characters or suspicious query strings within POST requests directed at the /market/signup.php endpoint.

Compensating Controls: Implement a Web Application Firewall (WAF) rule to inspect and block requests containing SQL injection payloads targeting the username parameter. Additionally, ensure the database service account is configured with the least privilege necessary to perform its functions.

Exploitation status

Public Exploit Available: Yes, a public proof-of-concept exists as documented in the research write-up on GitHub.

Analyst recommendation

The presence of a public proof-of-concept, combined with the ease of exploitation, necessitates immediate attention. Organizations utilizing Simple Stock System 1.0 must prioritize applying the recommended compensating controls to mitigate the risk of unauthorized database interaction while awaiting a formal vendor patch.

More code-projects CVEs

Sources

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