CVE-2025-10621

7.3

SourceCodester · Online Hotel Reservation System

The Online Hotel Reservation System 1.0 is vulnerable to unauthenticated SQL injection via the id parameter in editroomimage.php, allowing remote attackers to manipulate database queries.

Executive summary

A critical SQL injection vulnerability in SourceCodester Online Hotel Reservation System 1.0 allows unauthenticated remote attackers to compromise the underlying database.

Vulnerability

This vulnerability is a SQL injection flaw located in the editroomimage.php file. An unauthenticated attacker can exploit this by injecting malicious SQL commands into the id parameter, which is processed without sufficient validation or sanitization.

Business impact

Successful exploitation of this vulnerability can lead to unauthorized access to sensitive data, potential data destruction, or complete compromise of the database server. Given the CVSS score of 7.3, this represents a significant risk that could result in severe operational disruption, loss of customer information, and long term reputational damage.

Remediation

Immediate Action: As no official patch is currently available, administrators should restrict network access to the administrative interface or disable the affected editroomimage.php functionality until a vendor fix is released.

Proactive Monitoring: Monitor web server access logs for anomalous requests containing SQL syntax, such as UNION, SLEEP, or CASE statements targeting the editroomimage.php file.

Compensating Controls: Deploy a Web Application Firewall (WAF) with rules configured to detect and block SQL injection patterns in incoming HTTP GET requests.

Exploitation status

Public Exploit Available: Yes, a published proof-of-concept exists, as documented in the research write-up referenced by the CVE record.

Analyst recommendation

The presence of a public proof-of-concept significantly elevates the risk of this SQL injection vulnerability. Organizations utilizing the SourceCodester Online Hotel Reservation System must implement immediate network-level protections or WAF filtering to prevent exploitation, as the lack of an official patch leaves the system exposed until manual code remediation, such as the implementation of prepared statements, is performed.

More SourceCodester CVEs

Sources

Originally found and disclosed by Zhengxiang (VulDB User), per the CVE Program record.