| タイトル | 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 日 ago) |
|---|
| モデレーション | 2026年10月30日 13:37 (18 days later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 429059 [37954679 cak-filemanagement-system 迄 5e6433246475e66462e1fea980688de96a049297 admin/add_logs.php move_uploaded_file 特権昇格] |
|---|
| ポイント | 20 |
|---|