CVE-2013-6476: Medium severity Canonical Ubuntu Linux vulnerability

Published Nov 7, 2013
·
Updated

It was found that the OPVPWrapper::loadDriver() function in the pdftoopvp filter did not restrict the directory drivers could be loaded from. As the driver name can be configured based on a PPD file, processing a PDF in an attacker-controlled directory containing a malicious driver could lead to arbitrary code execution with the privileges of the "lp" user.

Acknowledgements:

This issue was discovered by Florian Weimer of the Red Hat Product Security Team.

Other sources

The OPVPWrapper::loadDriver function in oprs/OPVPWrapper.cxx in the pdftoopvp filter in CUPS and cups-filters before 1.0.47 allows local users to gain privileges via a Trojan horse driver in the same directory as the PDF file.

MITRE

Affected Software

55 affected componentsFixes available
Canonical Ubuntu Linux=10.04
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=12.10
Canonical Ubuntu Linux=13.10
Debian Debian Linux
Fedoraproject Fedora
linuxfoundation cups-filters<=1.0.46
linuxfoundation cups-filters=1.0
linuxfoundation cups-filters=1.0.1
linuxfoundation cups-filters=1.0.2
linuxfoundation cups-filters=1.0.3
linuxfoundation cups-filters=1.0.4
linuxfoundation cups-filters=1.0.5
linuxfoundation cups-filters=1.0.6
linuxfoundation cups-filters=1.0.7
linuxfoundation cups-filters=1.0.8
linuxfoundation cups-filters=1.0.9
linuxfoundation cups-filters=1.0.10
linuxfoundation cups-filters=1.0.11
linuxfoundation cups-filters=1.0.12
linuxfoundation cups-filters=1.0.13
linuxfoundation cups-filters=1.0.14
linuxfoundation cups-filters=1.0.15
linuxfoundation cups-filters=1.0.16
linuxfoundation cups-filters=1.0.17
linuxfoundation cups-filters=1.0.18
linuxfoundation cups-filters=1.0.19
linuxfoundation cups-filters=1.0.20
linuxfoundation cups-filters=1.0.21
linuxfoundation cups-filters=1.0.22
linuxfoundation cups-filters=1.0.23
linuxfoundation cups-filters=1.0.24
linuxfoundation cups-filters=1.0.25
linuxfoundation cups-filters=1.0.26
linuxfoundation cups-filters=1.0.27
linuxfoundation cups-filters=1.0.28
linuxfoundation cups-filters=1.0.29
linuxfoundation cups-filters=1.0.30
linuxfoundation cups-filters=1.0.31
linuxfoundation cups-filters=1.0.32
linuxfoundation cups-filters=1.0.33
linuxfoundation cups-filters=1.0.34
linuxfoundation cups-filters=1.0.35
linuxfoundation cups-filters=1.0.36
linuxfoundation cups-filters=1.0.37
linuxfoundation cups-filters=1.0.38
linuxfoundation cups-filters=1.0.39
linuxfoundation cups-filters=1.0.40
linuxfoundation cups-filters=1.0.41
linuxfoundation cups-filters=1.0.42
linuxfoundation cups-filters=1.0.43
linuxfoundation cups-filters=1.0.44
linuxfoundation cups-filters=1.0.45
debian/cups
2.3.3op2-3+deb11u82.3.3op2-3+deb11u92.4.2-3+deb12u82.4.10-2
debian/cups-filters
1.28.7-1+deb11u21.28.7-1+deb11u31.28.17-3+deb12u11.28.17-6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/cups to a version that resolves this vulnerability.

    Fixed in 2.3.3op2-3+deb11u8Fixed in 2.3.3op2-3+deb11u9Fixed in 2.4.2-3+deb12u8Fixed in 2.4.10-2
  2. Upgrade

    Upgrade debian/cups-filters to a version that resolves this vulnerability.

    Fixed in 1.28.7-1+deb11u2Fixed in 1.28.7-1+deb11u3Fixed in 1.28.17-3+deb12u1Fixed in 1.28.17-6
  3. Upgrade

    Upgrade CUPS / cups-filters pdftoopvp filter to a version that resolves this vulnerability.

    Fixed in 1.0.47

Event History

Nov 7, 2013
Data Sourced
via Red Hat·04:29 AM
DescriptionSeverityAffected Software
Mar 11, 2014
Data Sourced
via Debian·08:27 AM
SeverityAffected Software
Mar 14, 2014
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description
Data Sourced
via NVD·03:55 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2013-6476?

CVE-2013-6476 is considered a moderate severity vulnerability due to the potential for remote code execution from an attacker-controlled directory.

2

How do I fix CVE-2013-6476?

To fix CVE-2013-6476, upgrade to a patched version of the cups or cups-filters software as listed in the affected software documentation.

3

Which versions are affected by CVE-2013-6476?

CVE-2013-6476 affects specific versions of cups and cups-filters on Debian and Ubuntu systems, including earlier versions before the patches were released.

4

What types of systems are affected by CVE-2013-6476?

CVE-2013-6476 affects systems running Debian, Ubuntu, and Fedora that utilize the cups or cups-filters packages.

5

Is there a workaround for CVE-2013-6476?

A potential workaround for CVE-2013-6476 is to restrict access to the directories where malicious drivers could be placed until a patch can be applied.

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