CVE-2025-6355
BaseFortify
Publication date: 2025-06-20
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?
CVE-2025-6355 is a critical SQL injection vulnerability in the Online Hotel Reservation System version 1.0, specifically in the /admin/execeditroom.php file. The vulnerability occurs because the 'roomid' parameter is not properly validated or sanitized before being used in SQL queries. This allows attackers to inject malicious SQL code remotely without authentication, potentially accessing, modifying, or deleting sensitive database information. [1, 2]
How can this vulnerability impact me? :
Exploiting this vulnerability can lead to unauthorized access to the database, data leakage, data tampering, and potentially full system compromise or service disruption. Attackers can retrieve sensitive information, modify or delete data, and disrupt the normal operation of the hotel reservation system, which can severely impact business continuity and data integrity. [1, 2]
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/execeditroom.php endpoint for SQL injection on the 'roomid' parameter. A common method is to use a time-based blind SQL injection payload such as: roomid=12' AND (SELECT 8318 FROM (SELECT(SLEEP(5)))MJYU) AND 'QRNM'='QRNM. This payload causes a delay in the database response if the injection is successful. Additionally, tools like sqlmap can be used to automate detection by targeting the URL http://127.0.0.1/newhotel/admin/execeditroom.php with the vulnerable parameter. [2]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include: 1) Implementing prepared statements with parameter binding to separate SQL code from user input, preventing injection. 2) Applying strict input validation and filtering to ensure inputs conform to expected formats. 3) Minimizing database user permissions by avoiding use of high-privilege accounts for routine operations. 4) Conducting regular security audits of code and systems to detect and fix vulnerabilities promptly. These actions help protect data integrity and maintain system security. [2]