| عنوان | SourceCodester Basic Hotel Online Reservation System using PHP 1.0 1.0 Unrestricted Upload |
|---|
| الوصف | User 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. |
|---|
| المصدر | ⚠️ https://github.com/hubdk01/cve/issues/15 |
|---|
| المستخدم | hubdk01 (UID 99481) |
|---|
| ارسال | 29/10/2026 09:43 AM (28 أيام منذ) |
|---|
| الاعتدال | 26/11/2026 12:06 PM (28 days later) |
|---|
| الحالة | تمت الموافقة |
|---|
| إدخال VulDB | 444288 [SourceCodester Basic Hotel Online Reservation System 1.0 /HOR/admin/add_room.php photo تجاوز الصلاحيات] |
|---|
| النقاط | 20 |
|---|