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.
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Link | Tags |
---|---|
http://secunia.com/advisories/45744 | third party advisory vendor advisory |
http://www.redhat.com/support/errata/RHSA-2011-1196.html | vendor advisory |
http://cvs.savannah.gnu.org/viewvc/foomatic-gui/foomatic/pysmb.py?root=foomatic-gui&r1=1.2&r2=1.3&view=patch | patch |
http://www.securitytracker.com/id?1025967 | vdb entry |
https://bugs.launchpad.net/ubuntu/+source/foomatic-gui/+bug/811119 | patch |
https://bugzilla.redhat.com/show_bug.cgi?id=728348 | patch |