Cloudanix VulnDB

CVE-2014-2707

None

CVSS

—

EPSS

1.2%

Published

Apr 17, 2014

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

Printing software on some computers can be tricked by a fake printer on the same network into running attacker commands.

Exploitation
Adjacent Network
Attacker needs
None
Complexity
Low
Impact
Remote Code Execution
Component
Library
Class
Command Injection
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Allows remote IPP printers to inject arbitrary shell commands via metacharacters in model or PDL fields that are passed into generated System V interface scripts.

Why it matters to the business

Enables remote code execution on Linux systems exposing printing services, risking full host compromise, data access, or lateral movement; low urgency given age and absence of known exploitation campaigns.

How an attack unfolds

Attacker advertises a malicious IPP printer containing shell metacharacters in model or PDL; cups-browsed processes the advertisement, creates a print queue, and executes the injected commands when generating interface scripts.

How to fix it

Upgrade cups-filters to version 1.0.51 or later; disable cups-browsed if automatic printer discovery is not required.

How to confirm the fix worked

Confirm cups-filters version is 1.0.51 or higher; test by submitting an IPP advertisement with metacharacters in model field and verify no command execution occurs.

Typical attack path

  1. Broadcast crafted IPP printer advertisement containing shell metacharacters in model or PDL
  2. cups-browsed discovers printer and auto-configures queue
  3. Shell metacharacters are embedded into generated System V scripts
  4. Scripts execute attacker commands during queue setup or printing

How to detect it

Review cups-browsed and CUPS logs for unexpected queue creations or errors during printer discovery; search for unusual processes or commands executed around printer advertisement timestamps.

What your security team should do

  • Upgrade cups-filters to 1.0.51 or later on all affected systems
  • Disable or restrict cups-browsed service where printer discovery is unnecessary
  • Segment networks to limit exposure of IPP ports to untrusted devices

The record

cups-browsed in cups-filters 1.0.41 before 1.0.51 allows remote IPP printers to execute arbitrary commands via shell metacharacters in the (1) model or (2) PDL, related to "System V interface scripts generated for queues."

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 cups-filters 0 1.0.51-1
Debian:12 cups-filters 0 1.0.51-1
Debian:13 cups-filters 0 1.0.51-1
Mageia:4 cups-filters 0 1.0.41-3.4.mga4
Ubuntu:14.04:LTS cups-filters 0 1.0.52-0ubuntu1.1
openSUSE:Tumbleweed cups-filters 0 1.8.2-1.11

Related vulnerabilities