CVE-2011-2697: Input Validation

Published Jul 13, 2011
·
Updated

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.

Other sources

It was found that foomatic-rip universal print filter did not properly sanitize content of "files to be printed" command line argument, prior performing of the print job. A remote attacker could provide a specially-crafted PostScript Printer Description (PPD) file and trick the local user into printing it, which once performed could lead to arbitrary code execution with the privileges of the user running the foomatic-rip tool.

References: [1] https://bugzilla.novell.com/showbug.cgi?id=698451 [2] http://www.openwall.com/lists/oss-security/2011/07/13/3 (CVE Request)

Proposed patch against the foomatic-rip C-source code: [3] https://bugzilla.novell.com/showbug.cgi?id=698451#c24

Proposed patch against the foomatic-rip Perl script: [4] https://bugzilla.novell.com/showbug.cgi?id=698451#c25

Red Hat

Affected Software

1 affected component
HP Linux Imaging and Printing Project=3.11.5

Event History

Jul 13, 2011
Data Sourced
via Red Hat·02:18 PM
DescriptionSeverityAffected Software
Jul 29, 2011
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2011-2697?

CVE-2011-2697 is considered a critical vulnerability due to its potential for remote code execution.

2

How does CVE-2011-2697 allow remote code execution?

CVE-2011-2697 allows attackers to execute arbitrary code by exploiting a crafted *FoomaticRIPCommandLine field in a .ppd file.

3

Which software versions are affected by CVE-2011-2697?

CVE-2011-2697 affects HP Linux Imaging and Printing (HPLIP) version 3.11.5.

4

How do I fix CVE-2011-2697?

To fix CVE-2011-2697, upgrade to a patched version of HP Linux Imaging and Printing that resolves this vulnerability.

5

What impact does CVE-2011-2697 have on system security?

CVE-2011-2697 can compromise system security by allowing remote attackers to run arbitrary code with the privileges of the print service.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203