GitHub Advisoryadvisory · NuGet
GHSA-958r-g534-ccmr MadsKristensen.AspNetCore.Miniblog subject to Improper Input Validation
CRITICAL
Official page ↗
- Aliases
- CVE-2019-9845
- Ecosystem
- NuGet
- Packages
- MadsKristensen.AspNetCore.Miniblog
- Severity
- Critical
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-20
- Reviewed
- 2020-06-16
Affected packages
• NuGet MadsKristensen.AspNetCore.Miniblog: <= 1.0.3 (no fix yet)
Description
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.
Related
Alias · CVE (1)
- CVE-2019-9845 madskristensen Miniblog.Core through 2019-01-16 allows remote attackers to execute arbitrary ASPX code via an IMG element with a data: URL,… vulnerability
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-9845 advisory
- https://github.com/advisories/GHSA-958r-g534-ccmr advisory
- https://github.com/madskristensen/Miniblog.Core package
- https://github.com/madskristensen/Miniblog.Core/blob/master/src/Controllers/BlogController.cs#L142 web
- https://rastating.github.io/miniblog-remote-code-execution web