Vulnerabilities > CVE-2010-4820 - Code Injection vulnerability in Ghostscript 8.62
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN 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.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 1 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- 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. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
- 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.
Nessus
NASL family CentOS Local Security Checks NASL id CENTOS_RHSA-2012-0096.NASL description Updated ghostscript packages that fix two security issues are now available for Red Hat Enterprise Linux 4. The Red Hat Security Response Team has rated this update as having moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. Ghostscript is a set of software that provides a PostScript interpreter, a set of C procedures (the Ghostscript library, which implements the graphics capabilities in the PostScript language) and an interpreter for Portable Document Format (PDF) files. Ghostscript included the current working directory in its library search path by default. If a user ran Ghostscript without the last seen 2020-06-01 modified 2020-06-02 plugin id 57810 published 2012-02-03 reporter This script is Copyright (C) 2012-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/57810 title CentOS 4 : ghostscript (CESA-2012:0096) NASL family Oracle Linux Local Security Checks NASL id ORACLELINUX_ELSA-2012-0095.NASL description From Red Hat Security Advisory 2012:0095 : Updated ghostscript packages that fix multiple security issues are now available for Red Hat Enterprise Linux 5 and 6. The Red Hat Security Response Team has rated this update as having moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. Ghostscript is a set of software that provides a PostScript interpreter, a set of C procedures (the Ghostscript library, which implements the graphics capabilities in the PostScript language) and an interpreter for Portable Document Format (PDF) files. An integer overflow flaw was found in Ghostscript last seen 2020-06-01 modified 2020-06-02 plugin id 68450 published 2013-07-12 reporter This script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/68450 title Oracle Linux 5 / 6 : ghostscript (ELSA-2012-0095) NASL family Amazon Linux Local Security Checks NASL id ALA_ALAS-2012-42.NASL description An integer overflow flaw was found in Ghostscript last seen 2020-06-01 modified 2020-06-02 plugin id 69649 published 2013-09-04 reporter This script is Copyright (C) 2013-2018 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/69649 title Amazon Linux AMI : ghostscript (ALAS-2012-42) NASL family Scientific Linux Local Security Checks NASL id SL_20120202_GHOSTSCRIPT_ON_SL5_X.NASL description Ghostscript is a set of software that provides a PostScript interpreter, a set of C procedures (the Ghostscript library, which implements the graphics capabilities in the PostScript language) and an interpreter for Portable Document Format (PDF) files. An integer overflow flaw was found in Ghostscript last seen 2020-03-18 modified 2012-08-01 plugin id 61236 published 2012-08-01 reporter This script is Copyright (C) 2012-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/61236 title Scientific Linux Security Update : ghostscript on SL5.x, SL6.x i386/x86_64 (20120202) NASL family CentOS Local Security Checks NASL id CENTOS_RHSA-2012-0095.NASL description Updated ghostscript packages that fix multiple security issues are now available for Red Hat Enterprise Linux 5 and 6. The Red Hat Security Response Team has rated this update as having moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. Ghostscript is a set of software that provides a PostScript interpreter, a set of C procedures (the Ghostscript library, which implements the graphics capabilities in the PostScript language) and an interpreter for Portable Document Format (PDF) files. An integer overflow flaw was found in Ghostscript last seen 2020-06-01 modified 2020-06-02 plugin id 57809 published 2012-02-03 reporter This script is Copyright (C) 2012-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/57809 title CentOS 5 / 6 : ghostscript (CESA-2012:0095) NASL family Oracle Linux Local Security Checks NASL id ORACLELINUX_ELSA-2012-0096.NASL description From Red Hat Security Advisory 2012:0096 : Updated ghostscript packages that fix two security issues are now available for Red Hat Enterprise Linux 4. The Red Hat Security Response Team has rated this update as having moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. Ghostscript is a set of software that provides a PostScript interpreter, a set of C procedures (the Ghostscript library, which implements the graphics capabilities in the PostScript language) and an interpreter for Portable Document Format (PDF) files. Ghostscript included the current working directory in its library search path by default. If a user ran Ghostscript without the last seen 2020-06-01 modified 2020-06-02 plugin id 68451 published 2013-07-12 reporter This script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/68451 title Oracle Linux 4 : ghostscript (ELSA-2012-0096) NASL family Red Hat Local Security Checks NASL id REDHAT-RHSA-2012-0095.NASL description Updated ghostscript packages that fix multiple security issues are now available for Red Hat Enterprise Linux 5 and 6. The Red Hat Security Response Team has rated this update as having moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. Ghostscript is a set of software that provides a PostScript interpreter, a set of C procedures (the Ghostscript library, which implements the graphics capabilities in the PostScript language) and an interpreter for Portable Document Format (PDF) files. An integer overflow flaw was found in Ghostscript last seen 2020-04-16 modified 2012-02-03 plugin id 57822 published 2012-02-03 reporter This script is Copyright (C) 2012-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/57822 title RHEL 5 / 6 : ghostscript (RHSA-2012:0095) NASL family Red Hat Local Security Checks NASL id REDHAT-RHSA-2012-0096.NASL description Updated ghostscript packages that fix two security issues are now available for Red Hat Enterprise Linux 4. The Red Hat Security Response Team has rated this update as having moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. Ghostscript is a set of software that provides a PostScript interpreter, a set of C procedures (the Ghostscript library, which implements the graphics capabilities in the PostScript language) and an interpreter for Portable Document Format (PDF) files. Ghostscript included the current working directory in its library search path by default. If a user ran Ghostscript without the last seen 2020-04-16 modified 2012-02-03 plugin id 57823 published 2012-02-03 reporter This script is Copyright (C) 2012-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/57823 title RHEL 4 : ghostscript (RHSA-2012:0096) NASL family Scientific Linux Local Security Checks NASL id SL_20120202_GHOSTSCRIPT_ON_SL4_X.NASL description Ghostscript is a set of software that provides a PostScript interpreter, a set of C procedures (the Ghostscript library, which implements the graphics capabilities in the PostScript language) and an interpreter for Portable Document Format (PDF) files. Ghostscript included the current working directory in its library search path by default. If a user ran Ghostscript without the last seen 2020-03-18 modified 2012-08-01 plugin id 61235 published 2012-08-01 reporter This script is Copyright (C) 2012-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/61235 title Scientific Linux Security Update : ghostscript on SL4.x i386/x86_64 (20120202)
Redhat
advisories |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
rpms |
|
References
- http://bugs.ghostscript.com/show_bug.cgi?id=691339
- http://rhn.redhat.com/errata/RHSA-2012-0095.html
- http://rhn.redhat.com/errata/RHSA-2012-0096.html
- http://www.openwall.com/lists/oss-security/2012/01/04/7
- http://www.securityfocus.com/archive/1/511433
- http://www.securityfocus.com/bid/51847
- https://bugzilla.redhat.com/show_bug.cgi?id=599564
- https://bugzilla.redhat.com/show_bug.cgi?id=771853
- http://bugs.ghostscript.com/show_bug.cgi?id=691339
- https://bugzilla.redhat.com/show_bug.cgi?id=771853
- https://bugzilla.redhat.com/show_bug.cgi?id=599564
- http://www.securityfocus.com/bid/51847
- http://www.securityfocus.com/archive/1/511433
- http://www.openwall.com/lists/oss-security/2012/01/04/7
- http://rhn.redhat.com/errata/RHSA-2012-0096.html
- http://rhn.redhat.com/errata/RHSA-2012-0095.html