| 标题 | dromara lamp-cloud Releases20260625 Path Traversal |
|---|
| 描述 | The file-upload controller mapped under the /anyone/ prefix joins request-controlled bucket and bizType values directly into the local storage path without any traversal filtering. Although the per-file name is a server-generated UUID, the directory components are attacker-controlled, so a caller can supply ../ sequences in bucket or bizType to escape the configured storage root and write uploaded content to an arbitrary writable location. The /anyone/** space is configured to skip URI-level authorization, so no privileged role is required; if the gateway's login-token check is not enforced for this path, the endpoint is fully unauthenticated. |
|---|
| 来源 | ⚠️ https://github.com/dromara/lamp-cloud/issues/412 |
|---|
| 用户 | Ku4D3 (UID 97639) |
|---|
| 提交 | 2026-06-25 10時28分 (2 月前) |
|---|
| 管理 | 2026-08-13 17時40分 (2 months later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 389602 [Dromara lamp-cloud 直到 5.10.0 File-Upload Controller FileAnyoneController.java bucket/bizType 目录遍历] |
|---|
| 积分 | 20 |
|---|