CVE-2025-12292
7.3SourceCodester · Point of Sales
SourceCodester Point of Sales 1.0 is vulnerable to unauthenticated SQL injection via the Username argument in index.php, allowing remote attackers to manipulate database queries.
Executive summary
A critical SQL injection vulnerability in SourceCodester Point of Sales version 1.0 allows unauthenticated remote attackers to compromise database integrity and potentially access sensitive information.
Vulnerability
This vulnerability is an SQL injection flaw (CWE-89) triggered through the Username parameter within the index.php file. The vulnerability is exploitable by an unauthenticated remote attacker with no user interaction required.
Business impact
The ability for an unauthenticated attacker to inject arbitrary SQL commands poses a significant risk to data confidentiality and integrity. Successful exploitation could lead to unauthorized data exfiltration, database manipulation, or potential service disruption. With a CVSS score of 7.3, this flaw is considered high risk, particularly for environments handling sensitive customer transactional data.
Remediation
Immediate Action: As no official vendor patch is currently available, administrators should restrict network access to the application or implement strict input validation on the affected index.php endpoint.
Proactive Monitoring: Monitor server logs for anomalous patterns in HTTP requests, specifically looking for SQL syntax characters or unexpected strings within the Username field.
Compensating Controls: Deploy a Web Application Firewall (WAF) with rules configured to detect and block common SQL injection patterns targeting public-facing login parameters.
Exploitation status
Public Exploit Available: Yes, a public proof-of-concept exists as documented in the linked GitHub repository.
Analyst recommendation
Given the availability of a public proof-of-concept and the lack of an official patch, this vulnerability presents a clear and present danger. Security teams should prioritize isolating the affected system from public networks or implementing robust WAF filtering immediately to prevent potential unauthorized access. Continuous monitoring of application logs is essential until a formal update is provided by the vendor.
More SourceCodester CVEs
Sources
Originally found and disclosed by Yongjie Feng (VulDB User), per the CVE Program record.