GHSA-958r-g534-ccmr
MadsKristensen.AspNetCore.Miniblog subject to Improper Input Validation
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| NuGet | MadsKristensen.AspNetCore.Miniblog | <= 1.0.3 | no fix listed |
Details
As written in the advisory (Markdown source, shown as plain text).
madskristensen Miniblog.Core through 2019-01-16 allows remote attackers to execute arbitrary ASPX code via an IMG element with a data: URL, because SaveFilesToDisk in Controllers/BlogController.cs writes a decoded base64 string to a file without validating the extension.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2019-9845
- https://github.com/advisories/GHSA-958r-g534-ccmr
- https://github.com/madskristensen/Miniblog.Core
- https://github.com/madskristensen/Miniblog.Core/blob/master/src/Controllers/BlogController.cs#L142
- https://rastating.github.io/miniblog-remote-code-execution