CVE-2025-6456
BaseFortify
Publication date: 2025-06-22
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_hotel_reservation_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?
This vulnerability is an SQL injection flaw in the Online Hotel Reservation System 1.0, specifically in the /reservation/order.php file. It occurs because the application uses the 'start' POST parameter directly in SQL queries without proper input validation or sanitization. Attackers can manipulate this parameter to inject malicious SQL code, which can alter database queries. [1]
How can this vulnerability impact me? :
Exploitation of this vulnerability can lead to unauthorized access to the database, exposure of sensitive data, modification or deletion of data, and disruption of service. Attackers can potentially gain full control over the system or cause denial of service, all without requiring authentication. [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 vulnerable parameter `start` in the URL `/reservation/order.php` for SQL injection. You can use tools like sqlmap to automate detection. For example, run: sqlmap -u "http://yourserver/newhotel/reservation/order.php" --data="start=1" --risk=3 --level=5 --batch. Additionally, manual testing with payloads such as `start=-2041' OR 1697=1697 #` (boolean-based blind) or `start=13/06/2025' AND (SELECT SLEEP(5))--` (time-based blind) can help confirm the vulnerability. [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. 2) Apply strict input validation and filtering on the `start` parameter to ensure it matches expected formats. 3) Limit database user permissions to the minimum necessary, avoiding use of high-privilege accounts for routine operations. 4) Conduct a security audit of the code and system to identify and fix similar vulnerabilities. [1]