CVE-2015-0846 django-markupfield Arbitrary File Read

Medium 5.0 Published Updated

Remote attackers can read arbitrary files due to insecure default settings in the django-markupfield library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2015-0846?

CVE-2015-0846 is a medium-severity path traversal vulnerability in n/a, published on 24 Apr 2015. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

django-markupfield before 1.3.2 uses the default docutils RESTRUCTUREDTEXT_FILTER_SETTINGS settings, which allows remote attackers to include and read arbitrary files via unspecified vectors.

Weakness: CWE-200

Which versions are affected by CVE-2015-0846?

3 open source packages ship an affected version, including django-markupfield. It affects 1 product.

PackageAffectedFixed in
django-markupfield PyPIAll versions1.3.2
django-markupfield PyPIAll versions1.3.2
django-markupfield PyPIAll versions1.3.2

Products include Django-Markupfield Project Django-Markupfield.

How do I fix CVE-2015-0846?

Upgrade django-markupfield to 1.3.2 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2015-0846 being exploited?

There is no known exploitation of CVE-2015-0846 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2015-0846, DLA-206-1, DSA-3230-1, GHSA-wxmr-7xjv-8xqw, PYSEC-2015-12.

Is CVE-2015-0846 in your software?

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

Check your SBOMs for free