CVE-2025-9660
7.3SourceCodester · Bakeshop Online Ordering System
A SQL injection vulnerability in SourceCodester Bakeshop Online Ordering System 1.0 allows unauthenticated remote attackers to manipulate database queries via the phonenumber parameter.
Executive summary
The Bakeshop Online Ordering System version 1.0 is vulnerable to an unauthenticated SQL injection attack that could lead to full database compromise.
Vulnerability
The application fails to properly sanitize the phonenumber parameter in the /passwordrecover.php file, allowing an unauthenticated attacker to inject malicious SQL commands into the backend database.
Business impact
Successful exploitation of this vulnerability allows unauthorized actors to read, modify, or delete sensitive information stored within the system database. With a CVSS score of 7.3, this flaw poses a significant risk to data confidentiality and integrity, potentially leading to total system compromise or unauthorized administrative access.
Remediation
Immediate Action: Since no official patch is currently available, administrators should restrict access to the /passwordrecover.php endpoint at the network or web server level until the vendor provides a secure update.
Proactive Monitoring: Review web server access logs for anomalous POST requests to /passwordrecover.php containing SQL syntax characters, such as single quotes, semicolons, or sleep commands.
Compensating Controls: Deploy a Web Application Firewall (WAF) with rules specifically configured to detect and block SQL injection patterns targeting the phonenumber parameter.
Exploitation status
Public Exploit Available: Yes, a published proof-of-concept exists as referenced in the researcher's technical write-up on GitHub.
Analyst recommendation
Given the availability of a public proof-of-concept and the lack of an official patch, this vulnerability presents an immediate risk to any exposed Bakeshop Online Ordering System deployment. Organizations should prioritize isolating the affected application from public-facing networks and implement strict input validation controls to mitigate potential exploitation while awaiting a vendor-supplied fix.
More SourceCodester CVEs all →
History
- Disclosed CVE record published
- Published in the daily brief high section
- Published in the daily brief high section
- Analyst report written
Sources
Originally found and disclosed by yyyr (VulDB User), per the CVE Program record.
- VDB-321868 | SourceCodester Bakeshop Online Ordering System passwordrecover.php sql injection Vulnerability database entry
- VDB-321868 | CTI Indicators (IOB, IOC, TTP, IOA)
- Submit #637236 | sourcecodester Bakeshop Online Ordering System V1.0 SQL Injection Third-party advisory
- Exploit / PoC
- sourcecodester.com