CVE-2011-5219 Path traversal in n/a

Medium 5.0 Published Updated

Remote attackers can read arbitrary files via directory traversal in the show_code.php example script of the mPDF library.

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-2011-5219?

CVE-2011-5219 is a medium-severity path traversal vulnerability in n/a, published on 25 Oct 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Directory traversal vulnerability in examples/show_code.php in mPDF 5.3 and earlier allows remote attackers to read arbitrary files via a .. (dot dot) in the filename parameter.

Weakness: CWE-22

Which versions are affected by CVE-2011-5219?

It affects 1 product.

Products include Mpdf1 Mpdf.

How do I fix CVE-2011-5219?

No fix has been published for CVE-2011-5219 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2011-5219 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-25m8-8r8g-crmg.

Is CVE-2011-5219 in your software?

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

Check your SBOMs for free