Enviar #1064101: SourceCodester Basic Hotel Online Reservation System using PHP 1.0 1.0 Unrestricted Uploadinformación

TítuloSourceCodester Basic Hotel Online Reservation System using PHP 1.0 1.0 Unrestricted Upload
DescripciónUser can upload file through /HOR/admin/add_room.php Web application doesn't sanitize or filter the file being uploaded, making it vulnerable to unrestricted file upload vulnerability, that can also lead to Remote Code Execution. The upload handler does not validate the file extension, the Content-Type, or the file content in any way. Any file submitted through the "photo" field is stored in the web-accessible directory /HOR/photo/ under its original filename. Uploading a PHP script therefore places executable code directly inside the document root, and opening the file in the browser executes it with the web server's privileges. Note: the administrator credentials used to reach this form were themselves obtained without any special access — the companion SQL injection in /HOR/add_reserve.php?room_id= exposes the plaintext admin credentials (Admin / admin) to any unauthenticated visitor, so in a real attack chain no prior knowledge of any secret is required.
Fuente⚠️ https://github.com/hubdk01/cve/issues/15
Usuario
 hubdk01 (UID 99481)
Sumisión2026-10-29 09:43 (hace 28 días)
Moderación2026-11-26 12:06 (28 days later)
EstadoAceptado
Entrada de VulDB444288 [SourceCodester Basic Hotel Online Reservation System 1.0 /HOR/admin/add_room.php photo escalada de privilegios]
Puntos20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!