CVE-2025-9660
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-08-29

Last updated on: 2026-04-29

Assigner: VulDB

Description
A vulnerability was found in SourceCodester Bakeshop Online Ordering System 1.0. The impacted element is an unknown function of the file /passwordrecover.php. Performing manipulation of the argument phonenumber results in sql injection. The attack is possible to be carried out remotely. The exploit has been made public and could be used.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-08-29
Last Modified
2026-04-29
Generated
2026-05-07
AI Q&A
2025-08-29
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
janobe bakeshop_online_ordering_system 1.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
CWE-74 The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2025-9660 is a critical SQL injection vulnerability in the SourceCodester Bakeshop Online Ordering System 1.0, specifically in the /passwordrecover.php file. It occurs because the phonenumber parameter is used directly in SQL queries without proper input validation or sanitization. This allows attackers to inject malicious SQL code remotely, potentially accessing or manipulating the database without authentication. [1]


How can this vulnerability impact me? :

This vulnerability can lead to unauthorized access to the database, data leakage, data tampering, full system control, and potential service disruption. Attackers can retrieve, modify, or delete sensitive information, severely compromising system security and business continuity. [1]


How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability can be detected by testing the `phonenumber` parameter in the `/passwordrecover.php` file for SQL injection. One method is to use a time-based blind SQL injection payload such as `phonenumber=111 AND (SELECT 9941 FROM (SELECT(SLEEP(5)))OSbX)` to see if the server response is delayed, indicating vulnerability. Additionally, the sqlmap tool can be used to automate detection, for example: `sqlmap -u "http://192.168.1.13/BakeryOnlineOrdering/passwordrecover.php" --data="phonenumber=111" --risk=3 --level=5` to test for SQL injection on the `phonenumber` parameter. [1]


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include: 1) Implement prepared statements with parameter binding to prevent SQL injection by separating SQL code from user input. 2) Apply strict input validation and filtering on the `phonenumber` parameter to ensure it matches expected formats. 3) Restrict database user permissions to the minimum necessary, avoiding use of high-privilege accounts such as `root` or `admin` for routine database operations. 4) Conduct regular security audits of the code and system to identify and fix vulnerabilities promptly. [1]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart