CVE-2026-137440
Deferred Deferred - Pending Action

Unrestricted File Upload in Basic Hotel Online Reservation System

Vulnerability report for CVE-2026-137440, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-26

Last updated on: 2026-11-26

Assigner: VulDB

Description

A vulnerability was identified in SourceCodester Basic Hotel Online Reservation System 1.0. This affects an unknown function of the file /HOR/admin/add_room.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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-26
Last Modified
2026-11-26
Generated
2026-11-26
AI Q&A
2026-11-26
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-284 The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.
CWE-434 The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is an Unrestricted File Upload flaw in the Basic Hotel Online Reservation System 1.0. It allows attackers to upload malicious files via the 'photo' argument in /HOR/admin/add_room.php without proper validation. Since the system does not check file extensions, content type, or actual content, attackers can upload PHP scripts that execute remotely when accessed, leading to potential Remote Code Execution (RCE).

Detection Guidance

Check for unauthorized PHP files in the /HOR/photo/ directory. Use commands like 'find /var/www/html/HOR/photo/ -name "*.php"' to locate suspicious files. Inspect network traffic for POST requests to /HOR/admin/add_room.php with file uploads.

Impact Analysis

This vulnerability can lead to Remote Code Execution (RCE), allowing attackers to take control of the server. It may also enable unauthorized access to sensitive data, defacement of the website, or further attacks on the system. The impact includes compromised confidentiality, integrity, and availability of the application and its data.

Compliance Impact

This vulnerability can lead to data breaches, which may violate GDPR and HIPAA compliance requirements. GDPR mandates strict data protection and breach notification, while HIPAA requires safeguarding protected health information. A successful exploit could result in unauthorized access to sensitive data, leading to legal penalties and reputational damage.

Mitigation Strategies

Immediately restrict write permissions to /HOR/admin/add_room.php. Implement strict file extension validation for uploads. Move the upload directory outside the web root. Disable PHP execution in the upload directory via .htaccess or server config.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-137440. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...