CVE-2019-9845 MadsKristensen.AspNetCore.Miniblog subject to Improper Input Validation

Critical 9.8 Published Updated

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.

PackageAffectedFixed in
MadsKristensen.AspNetCore.Miniblog NuGetAll versions to 1.0.3None
MadsKristensen.AspNetCore.Miniblog NuGetAll versions to 1.0.3None

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.

Sources

Also known as GHSA-958r-g534-ccmr.

Is CVE-2019-9845 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free