CVE-2025-6458
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-06-22

Last updated on: 2026-04-29

Assigner: VulDB

Description
A vulnerability has been found in code-projects Online Hotel Reservation System 1.0 and classified as critical. This vulnerability affects unknown code of the file /admin/execedituser.php. The manipulation of the argument userid leads to sql injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-06-22
Last Modified
2026-04-29
Generated
2026-05-07
AI Q&A
2025-06-22
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
fabian online_hotel_reservation_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-6458 is a critical SQL injection vulnerability in the Online Hotel Reservation System version 1.0, specifically in the /admin/execedituser.php file. It occurs because the 'userid' parameter is not properly validated or sanitized, allowing attackers to inject malicious SQL code remotely without authentication. This can lead to unauthorized database queries and manipulation. [1, 2]


How can this vulnerability impact me? :

Exploiting this vulnerability can allow attackers to gain unauthorized access to the database, extract sensitive information, modify or delete data, and potentially take full control of the system. It can also lead to service disruption and compromise business continuity. [1, 2]


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

This vulnerability can lead to unauthorized access and leakage of sensitive personal or protected data, which may result in non-compliance with data protection regulations such as GDPR and HIPAA. Organizations affected by this vulnerability risk violating these standards due to potential data breaches and loss of 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 'userid' parameter in POST requests to the /admin/execedituser.php endpoint for SQL injection. One method is to use time-based blind SQL injection payloads, such as injecting `userid=1' AND (SELECT SLEEP(5)) AND '1'='1` to observe response delays. Tools like sqlmap can automate detection by scanning the parameter for injection flaws. A proof-of-concept payload example is: `userid=1' AND (SELECT 7186 FROM (SELECT(SLEEP(5)))mSUk) AND 'YHGv'='YHGv` along with other parameters like `username=admin&password=admin&position=front desk`. [1]


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include implementing prepared statements with parameter binding to prevent SQL injection, enforcing strict input validation and filtering on the 'userid' parameter, and minimizing database user permissions by avoiding high-privilege accounts for routine operations. Additionally, conducting regular security audits to detect and remediate vulnerabilities promptly is recommended. [1]


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