| 标题 | GitHub wblog 0.0.1 Server-Side Request Forgery |
|---|
| 描述 | The RestorePost function retrieves the user-controlled fileName parameter via c.PostForm("fileName") without any validation or sanitization. This parameter is directly concatenated with cfg.Qiniu.FileServer (which can be an empty string) to form fileUrl. When cfg.Qiniu.FileServer is empty, attackers can fully control fileUrl by crafting fileName (e.g., http://127.0.0.1:3306/), tricking the server into making unauthorized requests to arbitrary targets. |
|---|
| 来源 | ⚠️ https://github.com/on-theway/wblog/blob/main/README.md |
|---|
| 用户 | OnTheWay (UID 88937) |
|---|
| 提交 | 2025-08-12 09時30分 (9 月前) |
|---|
| 管理 | 2025-08-24 16時28分 (12 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 321231 [wangsongyan wblog 0.0.1 backup.go RestorePost fileName 权限提升] |
|---|
| 积分 | 20 |
|---|