ID CVE-2010-4820
Summary Untrusted search path vulnerability in Ghostscript 8.62 allows local users to execute arbitrary PostScript code via a Trojan horse Postscript library file in Encoding/ under the current working directory, a different vulnerability than CVE-2010-2055.
References
Vulnerable Configurations
  • cpe:2.3:a:ghostscript:ghostscript:8.62:*:*:*:*:*:*:*
    cpe:2.3:a:ghostscript:ghostscript:8.62:*:*:*:*:*:*:*
CVSS
Base: 4.4 (as of 02-11-2014 - 00:59)
Impact:
Exploitability:
CWE CWE-94
CAPEC
  • Code Injection
    An adversary exploits a weakness in input validation on the target to inject new code into that which is currently executing. This differs from code inclusion in that code inclusion involves the addition or replacement of a reference to a code file, which is subsequently loaded by the target and used as part of the code of some application.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files. When the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high.
  • Manipulating User-Controlled Variables
    This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An attacker can override environment variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the attacker can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables.
Access
VectorComplexityAuthentication
LOCAL MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:L/AC:M/Au:N/C:P/I:P/A:P
redhat via4
advisories
  • bugzilla
    id 771853
    title CVE-2010-4820 ghostscript: CWD included in the default library search path
    oval
    OR
    • comment Red Hat Enterprise Linux must be installed
      oval oval:com.redhat.rhba:tst:20070304026
    • AND
      • comment Red Hat Enterprise Linux 5 is installed
        oval oval:com.redhat.rhba:tst:20070331005
      • OR
        • AND
          • comment ghostscript is earlier than 0:8.70-6.el5_7.6
            oval oval:com.redhat.rhsa:tst:20120095001
          • comment ghostscript is signed with Red Hat redhatrelease key
            oval oval:com.redhat.rhsa:tst:20080155009
        • AND
          • comment ghostscript-devel is earlier than 0:8.70-6.el5_7.6
            oval oval:com.redhat.rhsa:tst:20120095003
          • comment ghostscript-devel is signed with Red Hat redhatrelease key
            oval oval:com.redhat.rhsa:tst:20080155011
        • AND
          • comment ghostscript-gtk is earlier than 0:8.70-6.el5_7.6
            oval oval:com.redhat.rhsa:tst:20120095005
          • comment ghostscript-gtk is signed with Red Hat redhatrelease key
            oval oval:com.redhat.rhsa:tst:20080155013
    • AND
      • comment Red Hat Enterprise Linux 6 is installed
        oval oval:com.redhat.rhba:tst:20111656003
      • OR
        • AND
          • comment ghostscript is earlier than 0:8.70-11.el6_2.6
            oval oval:com.redhat.rhsa:tst:20120095008
          • comment ghostscript is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20120095009
        • AND
          • comment ghostscript-devel is earlier than 0:8.70-11.el6_2.6
            oval oval:com.redhat.rhsa:tst:20120095010
          • comment ghostscript-devel is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20120095011
        • AND
          • comment ghostscript-doc is earlier than 0:8.70-11.el6_2.6
            oval oval:com.redhat.rhsa:tst:20120095012
          • comment ghostscript-doc is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20120095013
        • AND
          • comment ghostscript-gtk is earlier than 0:8.70-11.el6_2.6
            oval oval:com.redhat.rhsa:tst:20120095014
          • comment ghostscript-gtk is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20120095015
    rhsa
    id RHSA-2012:0095
    released 2012-02-02
    severity Moderate
    title RHSA-2012:0095: ghostscript security update (Moderate)
  • bugzilla
    id 771853
    title CVE-2010-4820 ghostscript: CWD included in the default library search path
    oval
    OR
    • comment Red Hat Enterprise Linux must be installed
      oval oval:com.redhat.rhba:tst:20070304026
    • AND
      • comment Red Hat Enterprise Linux 4 is installed
        oval oval:com.redhat.rhba:tst:20070304025
      • OR
        • AND
          • comment ghostscript is earlier than 0:7.07-33.13.el4
            oval oval:com.redhat.rhsa:tst:20120096001
          • comment ghostscript is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20080155002
        • AND
          • comment ghostscript-devel is earlier than 0:7.07-33.13.el4
            oval oval:com.redhat.rhsa:tst:20120096003
          • comment ghostscript-devel is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20080155004
        • AND
          • comment ghostscript-gtk is earlier than 0:7.07-33.13.el4
            oval oval:com.redhat.rhsa:tst:20120096005
          • comment ghostscript-gtk is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20080155006
    rhsa
    id RHSA-2012:0096
    released 2012-02-02
    severity Moderate
    title RHSA-2012:0096: ghostscript security update (Moderate)
rpms
  • ghostscript-0:8.70-11.el6_2.6
  • ghostscript-0:8.70-6.el5_7.6
  • ghostscript-debuginfo-0:8.70-11.el6_2.6
  • ghostscript-debuginfo-0:8.70-6.el5_7.6
  • ghostscript-devel-0:8.70-11.el6_2.6
  • ghostscript-devel-0:8.70-6.el5_7.6
  • ghostscript-doc-0:8.70-11.el6_2.6
  • ghostscript-gtk-0:8.70-11.el6_2.6
  • ghostscript-gtk-0:8.70-6.el5_7.6
  • ghostscript-0:7.07-33.13.el4
  • ghostscript-debuginfo-0:7.07-33.13.el4
  • ghostscript-devel-0:7.07-33.13.el4
  • ghostscript-gtk-0:7.07-33.13.el4
refmap via4
bid 51847
bugtraq 20100522 Ghostscript 8.64 executes random code at startup
confirm https://bugzilla.redhat.com/show_bug.cgi?id=771853
misc
mlist [oss-security] 20120104 Re: CVE request: ghostscript: system initialization file uncontrolled search path element
Last major update 02-11-2014 - 00:59
Published 27-10-2014 - 01:55
Last modified 02-11-2014 - 00:59
Back to Top