| 제목 | z-9527 admin ≤ commit 72aaf2d Path Traversal: '../filedir' |
|---|
| 설명 | An unrestricted file upload vulnerability exists in Z-9527 Admin ≤ commit 72aaf2d at the /upload endpoint, where the fileType query parameter is concatenated into the target filesystem path without validation or canonicalization, and the optional isImg check can be bypassed. As a result, authenticated attackers can write arbitrary files to the server filesystem. Mitigations include mapping fileType to a server-side whitelist of directories, canonicalizing and verifying that resolved paths are inside a fixed upload root, rejecting directory-traversal or absolute-path inputs, generating safe server-side filenames, validating content by magic bytes and size, storing uploads outside the webroot, and running the service with least privilege. |
|---|
| 원천 | ⚠️ https://github.com/CC-T-454455/Vulnerabilities/tree/master/z9527-admin/vulnerability-9 |
|---|
| 사용자 | Anonymous User |
|---|
| 제출 | 2026. 03. 12. AM 03:21 (7 개월 ago) |
|---|
| 모더레이션 | 2026. 03. 27. PM 02:48 (15 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 353886 [z-9527 admin 까지 72aaf2dd05cf4ec2e98f390668b41e128eec5ad2 isImg Check /server/utils/upload.js uploadFile fileType 디렉토리 순회] |
|---|
| 포인트들 | 20 |
|---|