提交 #1026375: 37954679 cak-filemanagement-system 5e6433246475e66462e1fea980688de96a049297 Unrestricted Upload信息

标题37954679 cak-filemanagement-system 5e6433246475e66462e1fea980688de96a049297 Unrestricted Upload
描述The affected component is `admin/add_logs.php`. The file upload handler accepts any file type and extension without validation. The uploaded file is stored in the web-accessible `admin/` directory using the original filename: ```php $target_dir = ""; $target_file = $target_dir.$_FILES["file"]["name"]; if (move_uploaded_file($_FILES["file"]["tmp_name"],$target_file)) { ``` The endpoint lacks any session or authentication check. An unauthenticated attacker can upload a PHP web shell (e.g., `shell.php`) that is immediately accessible and executable at `http://<target>/admin/shell.php`, resulting in unauthenticated remote code execution on the web server.
来源⚠️ https://github.com/37954679/cak-filemanagement-system/issues/2
用户
 Anonymous User
提交2026-10-12 21時41分 (25 日前)
管理2026-10-30 13時37分 (18 days later)
状态已接受
VulDB条目429059 [37954679 cak-filemanagement-system 直到 5e6433246475e66462e1fea980688de96a049297 admin/add_logs.php move_uploaded_file 权限提升]
积分20

Do you need the next level of professionalism?

Upgrade your account now!