Rapid7 Vulnerability & Exploit Database

CESA-2002:195: tetex security update

Free InsightVM Trial No credit card necessary
Watch Demo See how it all works
Back to Search

CESA-2002:195: tetex security update

Severity
8
CVSS
(AV:N/AC:L/Au:N/C:P/I:P/A:P)
Published
10/28/2002
Created
07/25/2018
Added
03/12/2010
Modified
07/04/2017

Description

Updated packages for dvips are available which fix a vulnerability allowing print users to execute arbitrary commands. [Updated 13 Aug 2003] Added tetex-doc package that was originally left out of the errata.

The dvips utility converts DVI format into PostScript(TM), and is used in CentOS Linux as a print filter for printing DVI files. A vulnerability has been found in dvips which uses the system() function insecurely when managing fonts. Since dvips is used in a print filter, this allows local or remote attackers who have print access to carefully craft a print job that allows them to execute arbitrary code as the user 'lp'. A work around for this vulnerability is to remove the print filter for DVI files. The following commands, run as root, will accomplish this: rm -f /usr/share/printconf/mf_rules/mf40-tetex_filters rm -f /usr/lib/rhs/rhs-printfilters/dvi-to-ps.fpi However, to fix the problem in the dvips utility as well as remove the print filter we recommend that all users upgrade to the these packages contained within this erratum which contain a patch for this issue. This vulnerability was discovered by Olaf Kirch of SuSE. Additionally, the file /var/lib/texmf/ls-R had world-writable permissions. This issue is also fixed by the packages contained within this erratum.

Solution(s)

  • centos-upgrade-tetex
  • centos-upgrade-tetex-afm
  • centos-upgrade-tetex-doc
  • centos-upgrade-tetex-dvilj
  • centos-upgrade-tetex-dvips
  • centos-upgrade-tetex-fonts
  • centos-upgrade-tetex-latex
  • centos-upgrade-tetex-xdvi

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;