提出 #1064101: SourceCodester Basic Hotel Online Reservation System using PHP 1.0 1.0 Unrestricted Upload情報

タイトル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日 09:43 (28 日 ago)
モデレーション2026年11月26日 12:06 (28 days later)
ステータス承諾済み
VulDBエントリ444288 [SourceCodester Basic Hotel Online Reservation System 1.0 /HOR/admin/add_room.php photo 特権昇格]
ポイント20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!