CVE-2025-9789
BaseFortify
Publication date: 2025-09-01
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-9789 is a critical SQL injection vulnerability in the SourceCodester Online Hotel Reservation System version 1.0, specifically in the /admin/edituser.php file. The vulnerability occurs because the 'userid' parameter is not properly validated or sanitized, allowing attackers to inject malicious SQL queries. This can enable unauthorized access to the database, allowing attackers to read, modify, or delete sensitive data without authorization. The vulnerability can be exploited remotely without authentication, and a public proof-of-concept exploit is available. [1, 2, 3, 4]
How can this vulnerability impact me? :
This vulnerability can severely impact you by allowing attackers to gain unauthorized access to your database. They can read sensitive information, modify or delete data, and potentially escalate privileges or take control of the application environment. Because the attack can be performed remotely without authentication, it poses a high risk to the confidentiality, integrity, and availability of your system and data. [1, 2, 3, 4]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by checking for the presence of the vulnerable file /admin/edituser.php and testing the 'userid' parameter for SQL injection flaws. One method to identify potentially vulnerable targets is using Google dorking with queries like: inurl:admin/edituser.php. Additionally, manual or automated SQL injection testing tools can be used to test the 'userid' parameter for injection vulnerabilities. Specific commands are not provided in the resources. [4]
What immediate steps should I take to mitigate this vulnerability?
Immediate remediation involves fixing the inadequate input validation and sanitization of the 'userid' parameter in the /admin/edituser.php file to prevent SQL injection. Since no known countermeasures or mitigations have been documented, it is recommended to replace the affected component with an alternative product or apply proper input sanitization and parameterized queries to secure the system and maintain data integrity. [1, 2, 3, 4]