CVE-2011-2899

system-config-printer: possible arbitrary code execution in pysmb.py due to improper escaping of hostnames

Published Aug 31, 2011 CVSS 2.0 · 5.1 Medium EPSS 2.0% KEV · Not listed
Description
pysmb.py in system-config-printer 0.6.x and 0.7.x, as used in foomatic-gui and possibly other products, allows remote SMB servers to execute arbitrary commands via shell metacharacters in the (1) NetBIOS or (2) workgroup name, which are not properly handled when searching for network printers.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2011-2872 pysmb.py in system-config-printer 0.6.x and 0.7.x, as used in foomatic-gui and possibly other products, allows remote SMB servers to execute arbitrary commands via shell metacharacters in the (1) NetBIOS or (2) workgroup name, which are not properly handled when searching for network printers.
History

No history.

Weaknesses
  • CWE-20

    Improper Input Validation

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 6, 2024, 11:15 PM
Reserved
Jul 27, 2011, 12:00 AM
Status
Modified
Published
Aug 31, 2011, 11:55 PM
Modified
Jun 16, 2026, 11:32 PM
Severity
Moderate
Public date
Jul 30, 2011, 12:00 AM