J-Security Center

Title: Samsung ml85p Printer Utility Insecure Temporary File Creation Vulnerability

Severity: MODERATE

Description:

ml85p is a Linux driver for Samsung ML-85G series printers. It may be bundled with distributions of Ghostscript.

It has been reported that the ml85p printer driver creates temporary files in an insecure manner. The vulnerability exists because the driver creates temporary files with a predictable name. Specifically, temporary files are created with the following name '/tmp/mlg85p<time>'.

This vulnerability is exacerbated by the fact that the ml85p printer driver, located in /usr/bin/ml85p, is installed with setuid root privileges. An attacker can exploit this vulnerability to create or overwrite any file with root privileges.

By anticipating the names used to create files and directories stored in the /tmp, it may be possible for a local attacker to corrupt or modify data as the superuser. Depending on the actions executed on the temporary file, it may also be possible to disclose sensitive information with permissions of the ml85p driver.

It has been reported that Mandrake Linux ships with a vulnerable version of the printer driver.

Affected Products:

  • Ghostscript Ghostscript 5.50.0
  • Samsung Samsung ML-85G Printer 1.0.0
  • Samsung ml85p Printer Driver 1.0.0

References:

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.