CVE-2025-8235
BaseFortify
Publication date: 2025-07-27
Last updated on: 2026-04-29
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| fabian | online_ordering_system | 1.0 |
Helpful Resources
Exploitability
| 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-8235 is a critical SQL injection vulnerability in the Online Ordering System version 1.0, specifically in the /admin/product.php file. It occurs because the 'Name' parameter is not properly validated or sanitized before being used in SQL queries. This allows attackers to inject malicious SQL code remotely without authentication, enabling unauthorized access to the database. Attackers can retrieve, modify, or delete sensitive data, potentially gaining full control over the system. The vulnerability can be exploited using techniques like error-based and time-based blind SQL injection. [1, 2, 3]
How can this vulnerability impact me? :
This vulnerability can severely impact you by allowing remote attackers to access and manipulate your database without any authentication. They can steal sensitive information, alter or delete data, disrupt services, and potentially execute arbitrary code on the server. This compromises the confidentiality, integrity, and availability of your system, posing a significant threat to business continuity and system security. [1, 2, 3]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by testing the /admin/product.php endpoint for SQL injection via the 'Name' parameter using tools like sqlmap. For example, you can run a command such as: sqlmap -u "http://target/admin/product.php" --data="name=anything" --method=POST --level=5 --risk=3 --technique=BEUSTQ to test for error-based and time-based blind SQL injection. Additionally, Google dorking with the query inurl:admin/product.php can help identify vulnerable targets. Monitoring for unusual SQL errors or delays in responses related to this endpoint may also indicate exploitation attempts. [2, 3]
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 'Name' parameter to ensure only expected data is accepted. 3) Minimize database user permissions by avoiding use of high-privilege accounts for routine database operations. 4) Replace or update the vulnerable component if possible, as no known mitigations are documented. 5) Conduct regular security audits to detect and remediate vulnerabilities promptly. These steps help secure the system and maintain data integrity. [1, 3, 2]