Description
madskristensen MiniBlog through 2018-05-18 allows remote attackers to execute arbitrary ASPX code via an IMG element with a data: URL, because SaveFilesToDisk in app_code/handlers/PostHandler.cs writes a decoded base64 string to a file without validating the extension.
Metrics
CVSS 3.0 7.2/10
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://github.com/madskristensen/MiniBlog/blob/1a7ae45ddba484e2c8f808e288e018748c9ddb57/Website/app_code/handlers/PostHandler.cs#L85Third Party Advisory
- https://rastating.github.io/miniblog-remote-code-execution/Exploit, Third Party Advisory
- https://github.com/madskristensen/MiniBlog/blob/1a7ae45ddba484e2c8f808e288e018748c9ddb57/Website/app_code/handlers/PostHandler.cs#L85Third Party Advisory
- https://rastating.github.io/miniblog-remote-code-execution/Exploit, Third Party Advisory
Timeline
- Published
- Jun 14, 2019
- Last modified
- Jun 17, 2026
- NVD status
- Modified