| Titel | GitHub wblog 0.0.1 Server-Side Request Forgery |
|---|
| Beschreibung | 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. |
|---|
| Quelle | ⚠️ https://github.com/on-theway/wblog/blob/main/README.md |
|---|
| Benutzer | OnTheWay (UID 88937) |
|---|
| Einreichung | 12.08.2025 09:30 (vor 9 Monaten) |
|---|
| Moderieren | 24.08.2025 16:28 (12 days later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 321231 [wangsongyan wblog 0.0.1 backup.go RestorePost fileName erweiterte Rechte] |
|---|
| Punkte | 20 |
|---|