CVE-2011-2697 Command injection in n/a

Medium 6.8 Published Updated

Remote attackers can execute arbitrary code by tricking users into processing a malicious PPD file with the HPLIP printing software.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2011-2697?

CVE-2011-2697 is a medium-severity command injection vulnerability in n/a, published on 29 Jul 2011. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

foomatic-rip-hplip in HP Linux Imaging and Printing (HPLIP) 3.11.5 allows remote attackers to execute arbitrary code via a crafted *FoomaticRIPCommandLine field in a .ppd file.

Weakness: CWE-20

Which versions are affected by CVE-2011-2697?

It affects 1 product.

Linux distribution packages (12)
foomatic Red Hat:enterprise_linux:4::asAll versions0:3.0.2-3.2.el4
foomatic-debuginfo Red Hat:enterprise_linux:4::asAll versions0:3.0.2-3.2.el4
foomatic Red Hat:enterprise_linux:4::desktopAll versions0:3.0.2-3.2.el4
foomatic-debuginfo Red Hat:enterprise_linux:4::desktopAll versions0:3.0.2-3.2.el4
foomatic Red Hat:enterprise_linux:4::esAll versions0:3.0.2-3.2.el4
foomatic-debuginfo Red Hat:enterprise_linux:4::esAll versions0:3.0.2-3.2.el4
foomatic Red Hat:enterprise_linux:4::wsAll versions0:3.0.2-3.2.el4
foomatic-debuginfo Red Hat:enterprise_linux:4::wsAll versions0:3.0.2-3.2.el4
foomatic Red Hat:enterprise_linux:5::clientAll versions0:3.0.2-38.3.el5_7.1
foomatic-debuginfo Red Hat:enterprise_linux:5::clientAll versions0:3.0.2-38.3.el5_7.1
foomatic Red Hat:enterprise_linux:5::serverAll versions0:3.0.2-38.3.el5_7.1
foomatic-debuginfo Red Hat:enterprise_linux:5::serverAll versions0:3.0.2-38.3.el5_7.1

Products include Hp Linux Imaging and Printing Project.

How do I fix CVE-2011-2697?

Apply the vendor's patch.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2011-2697 being exploited?

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

Sources

Also known as DEBIAN-CVE-2011-2697, GHSA-fwm5-c4jq-p4wv, RHSA-2011:1109.

Is CVE-2011-2697 in your software?

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

Check your SBOMs for free