CVE-2011-2722 Path traversal in n/a

Low 1.2 Published Updated

Local attackers can overwrite arbitrary files via a symlink attack on a temporary file in HPLIP, potentially compromising system integrity.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2011-2722?

CVE-2011-2722 is a low-severity path traversal vulnerability in n/a, published on 25 May 2012. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The send_data_to_stdout function in prnt/hpijs/hpcupsfax.cpp in HP Linux Imaging and Printing (HPLIP) 3.x before 3.11.10 allows local users to overwrite arbitrary files via a symlink attack on the /tmp/hpcupsfax.out temporary file.

Weakness: CWE-59

Which versions are affected by CVE-2011-2722?

It affects 1 product.

Linux distribution packages (14)
hpijs3 Red Hat:enterprise_linux:5::clientAll versions1:3.9.8-15.el5
hplip3 Red Hat:enterprise_linux:5::clientAll versions0:3.9.8-15.el5
hplip3-common Red Hat:enterprise_linux:5::clientAll versions0:3.9.8-15.el5
hplip3-debuginfo Red Hat:enterprise_linux:5::clientAll versions0:3.9.8-15.el5
hplip3-gui Red Hat:enterprise_linux:5::clientAll versions0:3.9.8-15.el5
hplip3-libs Red Hat:enterprise_linux:5::clientAll versions0:3.9.8-15.el5
libsane-hpaio3 Red Hat:enterprise_linux:5::clientAll versions0:3.9.8-15.el5
hpijs3 Red Hat:enterprise_linux:5::serverAll versions1:3.9.8-15.el5
hplip3 Red Hat:enterprise_linux:5::serverAll versions0:3.9.8-15.el5
hplip3-common Red Hat:enterprise_linux:5::serverAll versions0:3.9.8-15.el5
hplip3-debuginfo Red Hat:enterprise_linux:5::serverAll versions0:3.9.8-15.el5
hplip3-gui Red Hat:enterprise_linux:5::serverAll versions0:3.9.8-15.el5
hplip3-libs Red Hat:enterprise_linux:5::serverAll versions0:3.9.8-15.el5
libsane-hpaio3 Red Hat:enterprise_linux:5::serverAll versions0:3.9.8-15.el5

Products include Hp Linux Imaging and Printing Project.

How do I fix CVE-2011-2722?

Upgrade to a fixed version.

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

Is CVE-2011-2722 being exploited?

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

Sources

Also known as DEBIAN-CVE-2011-2722, GHSA-mqf8-fvgr-vqf4, RHSA-2013:0133.

Is CVE-2011-2722 in your software?

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

Check your SBOMs for free