| 제목 | 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) |
|---|
| 제출 | 2026. 10. 29. AM 09:43 (28 날 ago) |
|---|
| 모더레이션 | 2026. 11. 26. PM 12:06 (28 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 444288 [SourceCodester Basic Hotel Online Reservation System 1.0 /HOR/admin/add_room.php photo 권한 상승] |
|---|
| 포인트들 | 20 |
|---|