CVE-2012-5221 Path traversal in n/a

Medium 5.0 Published Updated

Remote attackers can read arbitrary files from HP LaserJet printers via a directory traversal vulnerability in the PostScript Interpreter.

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-2012-5221?

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

Official description

Directory traversal vulnerability in the PostScript Interpreter, as used on the HP LaserJet 4xxx, 5200, 90xx, M30xx, M4345, M50xx, M90xx, P3005, and P4xxx; LaserJet Enterprise P3015; Color LaserJet 3xxx, 47xx, 5550, 9500, CM60xx, CP35xx, CP4005, and CP6015; Color LaserJet Enterprise CP4xxx; and 9250c Digital Sender with model-dependent firmware through 52.x allows remote attackers to read arbitrary files via unknown vectors.

Which versions are affected by CVE-2012-5221?

It affects 37 products.

Products include Hp Color Laserjet 3000, Hp Color Laserjet 3800, Hp Color Laserjet 4700, Hp Color Laserjet 4730 Mfp, Hp Color Laserjet 5550, Hp Color Laserjet 9500 Mfp and 31 more.

How do I fix CVE-2012-5221?

No fix has been published for CVE-2012-5221 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-2012-5221 being exploited?

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

Sources

Also known as GHSA-pfmf-q62w-88j9.

Is CVE-2012-5221 in your software?

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

Check your SBOMs for free