CVE-2026-137440: SourceCodester Basic Hotel Online Reservation System add_room.php unrestricted upload
A vulnerability was identified in SourceCodester Basic Hotel Online Reservation System 1.0. This affects an unknown function of the file /HOR/admin/addroom.php. The manipulation of the argument photo leads to unrestricted upload. The attack is possible to be carried out remotely. The exploit is publicly available and might be used.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker needs at least low-level privileges, as reflected by the PR:L vector. The vulnerable add_room.php endpoint can be reached remotely, so any user with the required access may be able to attempt exploitation over the network.
What is required for successful exploitation?
The attacker must submit a crafted value through the photo argument in /HOR/admin/add_room.php. No user interaction is required, and the attack complexity is rated low.
Is there public exploit code available?
Yes. The vulnerability record indicates that a public proof of concept or exploit is available, which may lower the effort required for attackers to attempt exploitation.
What impact could a successful upload have?
The supplied severity vector rates confidentiality, integrity, and availability impact as low. The issue is classified as CWE-434, Malicious File Upload, meaning the affected upload handling does not adequately restrict uploaded files.