CVE-2019-9845 MadsKristensen.AspNetCore.Miniblog subject to Improper Input Validation
Remote attackers can execute arbitrary ASPX code by uploading malicious files via the blog controller's file saving mechanism.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2019-9845?
CVE-2019-9845 is a critical vulnerability in n/a, published on 16 Apr 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-20
Which versions are affected by CVE-2019-9845?
2 open source packages ship an affected version, including MadsKristensen.AspNetCore.Miniblog. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
MadsKristensen.AspNetCore.Miniblog NuGet | All versions to 1.0.3 | None |
MadsKristensen.AspNetCore.Miniblog NuGet | All versions to 1.0.3 | None |
Products include Miniblog.core Project Miniblog.core.
How do I fix CVE-2019-9845?
No fix has been published for CVE-2019-9845 yet. Limit exposure of the affected software until one is available.
Is CVE-2019-9845 being exploited?
There is no known exploitation of CVE-2019-9845 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-958r-g534-ccmr.