ID CVE-2010-0542
Summary The _WriteProlog function in texttops.c in texttops in the Text Filter subsystem in CUPS before 1.4.4 does not check the return values of certain calloc calls, which allows remote attackers to cause a denial of service (NULL pointer dereference or heap memory corruption) or possibly execute arbitrary code via a crafted file.
References
Vulnerable Configurations
  • Apple CUPS 1.3.6
    cpe:2.3:a:apple:cups:1.3.6
  • Apple CUPS 1.1
    cpe:2.3:a:apple:cups:1.1
  • Apple CUPS 1.1.1
    cpe:2.3:a:apple:cups:1.1.1
  • Apple CUPS 1.1.5-1
    cpe:2.3:a:apple:cups:1.1.5-1
  • Apple CUPS 1.1.5-2
    cpe:2.3:a:apple:cups:1.1.5-2
  • Apple CUPS 1.1.6
    cpe:2.3:a:apple:cups:1.1.6
  • Apple CUPS 1.1.6-1
    cpe:2.3:a:apple:cups:1.1.6-1
  • Apple CUPS 1.1.2
    cpe:2.3:a:apple:cups:1.1.2
  • Apple CUPS 1.1.3
    cpe:2.3:a:apple:cups:1.1.3
  • Apple CUPS 1.1.4
    cpe:2.3:a:apple:cups:1.1.4
  • Apple CUPS 1.1.5
    cpe:2.3:a:apple:cups:1.1.5
  • Apple CUPS 1.1.9
    cpe:2.3:a:apple:cups:1.1.9
  • Apple CUPS 1.1.9-1
    cpe:2.3:a:apple:cups:1.1.9-1
  • Apple CUPS 1.1.10-1
    cpe:2.3:a:apple:cups:1.1.10-1
  • Apple CUPS 1.1.10
    cpe:2.3:a:apple:cups:1.1.10
  • Apple CUPS 1.1.6-3
    cpe:2.3:a:apple:cups:1.1.6-3
  • Apple CUPS 1.1.6-2
    cpe:2.3:a:apple:cups:1.1.6-2
  • Apple CUPS 1.1.8
    cpe:2.3:a:apple:cups:1.1.8
  • Apple CUPS 1.1.7
    cpe:2.3:a:apple:cups:1.1.7
  • Apple CUPS 1.1.16
    cpe:2.3:a:apple:cups:1.1.16
  • Apple CUPS 1.1.15
    cpe:2.3:a:apple:cups:1.1.15
  • Apple CUPS 1.18
    cpe:2.3:a:apple:cups:1.1.18
  • Apple CUPS 1.1.17
    cpe:2.3:a:apple:cups:1.1.17
  • Apple CUPS 1.1.12
    cpe:2.3:a:apple:cups:1.1.12
  • Apple CUPS 1.1.11
    cpe:2.3:a:apple:cups:1.1.11
  • Apple CUPS 1.1.14
    cpe:2.3:a:apple:cups:1.1.14
  • Apple CUPS 1.1.13
    cpe:2.3:a:apple:cups:1.1.13
  • Apple CUPS 1.1.19 release candidate 2
    cpe:2.3:a:apple:cups:1.1.19:rc2
  • Apple CUPS 1.1.19 release candidate 3
    cpe:2.3:a:apple:cups:1.1.19:rc3
  • Apple CUPS 1.1.19
    cpe:2.3:a:apple:cups:1.1.19
  • Apple CUPS 1.1.19 release candidate 1
    cpe:2.3:a:apple:cups:1.1.19:rc1
  • Apple CUPS 1.1.20
    cpe:2.3:a:apple:cups:1.1.20
  • Apple CUPS 1.1.20 release candidate 1
    cpe:2.3:a:apple:cups:1.1.20:rc1
  • Apple CUPS 1.1.19 release candidate 4
    cpe:2.3:a:apple:cups:1.1.19:rc4
  • Apple CUPS 1.1.19 release candidate 5
    cpe:2.3:a:apple:cups:1.1.19:rc5
  • Apple CUPS 1.1.20 release candidate 4
    cpe:2.3:a:apple:cups:1.1.20:rc4
  • Apple CUPS 1.1.20 release candidate 5
    cpe:2.3:a:apple:cups:1.1.20:rc5
  • Apple CUPS 1.1.20 release candidate 2
    cpe:2.3:a:apple:cups:1.1.20:rc2
  • Apple CUPS 1.1.20 release candidate 3
    cpe:2.3:a:apple:cups:1.1.20:rc3
  • Apple CUPS 1.1.21 release candidate 1
    cpe:2.3:a:apple:cups:1.1.21:rc1
  • Apple CUPS 1.1.21
    cpe:2.3:a:apple:cups:1.1.21
  • Apple CUPS 1.1.20 release candidate 6
    cpe:2.3:a:apple:cups:1.1.20:rc6
  • Apple CUPS 1.1.21 release candidate 2
    cpe:2.3:a:apple:cups:1.1.21:rc2
  • Apple CUPS 1.1.23 release candidate 1
    cpe:2.3:a:apple:cups:1.1.23:rc1
  • Apple CUPS 1.1.22
    cpe:2.3:a:apple:cups:1.1.22
  • Apple CUPS 1.1.22 release candidate 2
    cpe:2.3:a:apple:cups:1.1.22:rc2
  • Apple CUPS 1.1.22 release candidate 1
    cpe:2.3:a:apple:cups:1.1.22:rc1
  • Apple CUPS 1.2 release candidate 1
    cpe:2.3:a:apple:cups:1.2:rc1
  • Apple CUPS 1.2 b2
    cpe:2.3:a:apple:cups:1.2:b2
  • Apple CUPS 1.2 b1
    cpe:2.3:a:apple:cups:1.2:b1
  • Apple CUPS 1.4.1
    cpe:2.3:a:apple:cups:1.4.1
  • Apple CUPS 1.1.23
    cpe:2.3:a:apple:cups:1.1.23
  • Apple CUPS 1.2.1
    cpe:2.3:a:apple:cups:1.2.1
  • Apple CUPS 1.2.0
    cpe:2.3:a:apple:cups:1.2.0
  • Apple CUPS 1.2 release candidate 3
    cpe:2.3:a:apple:cups:1.2:rc3
  • Apple CUPS 1.2 release candidate 2
    cpe:2.3:a:apple:cups:1.2:rc2
  • Apple CUPS 1.2.5
    cpe:2.3:a:apple:cups:1.2.5
  • Apple CUPS 1.2.4
    cpe:2.3:a:apple:cups:1.2.4
  • Apple CUPS 1.2.3
    cpe:2.3:a:apple:cups:1.2.3
  • Apple CUPS 1.2.2
    cpe:2.3:a:apple:cups:1.2.2
  • Apple CUPS 1.2.6
    cpe:2.3:a:apple:cups:1.2.6
  • Apple CUPS 1.3.9
    cpe:2.3:a:apple:cups:1.3.9
  • Apple CUPS 1.2.7
    cpe:2.3:a:apple:cups:1.2.7
  • Apple CUPS 1.2.8
    cpe:2.3:a:apple:cups:1.2.8
  • Apple CUPS 1.2.9
    cpe:2.3:a:apple:cups:1.2.9
  • Apple CUPS 1.2.10
    cpe:2.3:a:apple:cups:1.2.10
  • Apple CUPS 1.2.11
    cpe:2.3:a:apple:cups:1.2.11
  • Apple CUPS 1.2.12
    cpe:2.3:a:apple:cups:1.2.12
  • Apple CUPS 1.3 b1
    cpe:2.3:a:apple:cups:1.3:b1
  • Apple CUPS 1.3 release candidate 1
    cpe:2.3:a:apple:cups:1.3:rc1
  • Apple CUPS 1.3 release candidate 2
    cpe:2.3:a:apple:cups:1.3:rc2
  • Apple CUPS 1.3.0
    cpe:2.3:a:apple:cups:1.3.0
  • Apple CUPS 1.3.1
    cpe:2.3:a:apple:cups:1.3.1
  • Apple CUPS 1.3.2
    cpe:2.3:a:apple:cups:1.3.2
  • Apple CUPS 1.3.3
    cpe:2.3:a:apple:cups:1.3.3
  • Apple CUPS 1.3.4
    cpe:2.3:a:apple:cups:1.3.4
  • Apple CUPS 1.3.5
    cpe:2.3:a:apple:cups:1.3.5
  • Apple CUPS 1.3.8
    cpe:2.3:a:apple:cups:1.3.8
  • Apple CUPS 1.3.7
    cpe:2.3:a:apple:cups:1.3.7
  • Apple CUPS 1.4.3
    cpe:2.3:a:apple:cups:1.4.3
  • Apple CUPS 1.4.2
    cpe:2.3:a:apple:cups:1.4.2
  • Apple CUPS 1.4.0
    cpe:2.3:a:apple:cups:1.4.0
  • Apple CUPS 1.3.10
    cpe:2.3:a:apple:cups:1.3.10
  • Apple CUPS 1.3.11
    cpe:2.3:a:apple:cups:1.3.11
CVSS
Base: 6.8 (as of 21-06-2010 - 17:14)
Impact:
Exploitability:
CWE CWE-264
CAPEC
  • Accessing, Modifying or Executing Executable Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • 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.
  • Blue Boxing
    This type of attack against older telephone switches and trunks has been around for decades. A tone is sent by an adversary to impersonate a supervisor signal which has the effect of rerouting or usurping command of the line. While the US infrastructure proper may not contain widespread vulnerabilities to this type of attack, many companies are connected globally through call centers and business process outsourcing. These international systems may be operated in countries which have not upgraded Telco infrastructure and so are vulnerable to Blue boxing. Blue boxing is a result of failure on the part of the system to enforce strong authorization for administrative functions. While the infrastructure is different than standard current applications like web applications, there are historical lessons to be learned to upgrade the access control for administrative functions.
  • Restful Privilege Elevation
    Rest uses standard HTTP (Get, Put, Delete) style permissions methods, but these are not necessarily correlated generally with back end programs. Strict interpretation of HTTP get methods means that these HTTP Get services should not be used to delete information on the server, but there is no access control mechanism to back up this logic. This means that unless the services are properly ACL'd and the application's service implementation are following these guidelines then an HTTP request can easily execute a delete or update on the server side. The attacker identifies a HTTP Get URL such as http://victimsite/updateOrder, which calls out to a program to update orders on a database or other resource. The URL is not idempotent so the request can be submitted multiple times by the attacker, additionally, the attacker may be able to exploit the URL published as a Get method that actually performs updates (instead of merely retrieving data). This may result in malicious or inadvertent altering of data on the server.
  • Target Programs with Elevated Privileges
    This attack targets programs running with elevated privileges. The attacker would try to leverage a bug in the running program and get arbitrary code to execute with elevated privileges. For instance an attacker would look for programs that write to the system directories or registry keys (such as HKLM, which stores a number of critical Windows environment variables). These programs are typically running with elevated privileges and have usually not been designed with security in mind. Such programs are excellent exploit targets because they yield lots of power when they break. The malicious user try to execute its code at the same level as a privileged system call.
  • Manipulating Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
Access
VectorComplexityAuthentication
NETWORK MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
nessus via4
  • NASL family Mandriva Local Security Checks
    NASL id MANDRIVA_MDVSA-2010-232.NASL
    description Multiple vulnerabilities were discovered and corrected in cups : Cross-site request forgery (CSRF) vulnerability in the web interface in CUPS, allows remote attackers to hijack the authentication of administrators for requests that change settings (CVE-2010-0540). The _WriteProlog function in texttops.c in texttops in the Text Filter subsystem in CUPS before 1.4.4 does not check the return values of certain calloc calls, which allows remote attackers to cause a denial of service (NULL pointer dereference or heap memory corruption) or possibly execute arbitrary code via a crafted file (CVE-2010-0542). The web interface in CUPS, reads uninitialized memory during handling of form variables, which allows context-dependent attackers to obtain sensitive information from cupsd process memory via unspecified vectors (CVE-2010-1748). The cupsFileOpen function in CUPS before 1.4.4 allows local users, with lp group membership, to overwrite arbitrary files via a symlink attack on the (1) /var/cache/cups/remote.cache or (2) /var/cache/cups/job.cache file (CVE-2010-2431). ipp.c in cupsd in CUPS 1.4.4 and earlier does not properly allocate memory for attribute values with invalid string data types, which allows remote attackers to cause a denial of service (use-after-free and application crash) or possibly execute arbitrary code via a crafted IPP request (CVE-2010-2941). Packages for 2009.0 are provided as of the Extended Maintenance Program. Please visit this link to learn more: http://store.mandriva.com/product_info.php?cPath=149&products_id=4 90 The updated packages have been patched to correct these issues.
    last seen 2019-02-21
    modified 2018-07-19
    plugin id 50606
    published 2010-11-16
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=50606
    title Mandriva Linux Security Advisory : cups (MDVSA-2010:232)
  • NASL family Misc.
    NASL id CUPS_1_4_4.NASL
    description According to its banner, the version of CUPS installed on the remote host is earlier than 1.4.4. Such versions are affected by several vulnerabilities : - The patch for STR #3200 / CVE-2009-3553 was not complete. A remote client can cause a denial of service by causing the CUPS server to reference an already freed resource. (STR #3490) (CVE-2010-0302) - The CUPS daemon may be vulnerable to certain cross-site request forgery (CSRF) attacks, e.g., malicious IFRAME attacks. (STR #3498) (CVE-2010-0540) - An unprivileged process may be able to cause the CUPS server to overwrite arbitrary files as the root user. (STR #3510) (CVE-2010-2431) - The CUPS daemon is vulnerable to a heap corruption attack as the 'textops' filter does not verify the results of memory allocations. It is possible this may lead to arbitrary code execution. (STR #3516) (CVE-2010-0542) - The CUPS daemon is vulnerable to a denial of service attack if compiled without HAVE_GSSAPI. (STR #3518) (CVE-2010-2432) - The CUPS daemon is vulnerable to an information disclosure attack as an attacker can view portions of uninitialized memory by a specially crafted URL. (STR #3577) (CVE-2010-1748)
    last seen 2019-02-21
    modified 2018-07-06
    plugin id 47683
    published 2010-07-08
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=47683
    title CUPS < 1.4.4 Multiple Vulnerabilities
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_1_CUPS-101124.NASL
    description This updates fix several bugs, but only the security fixes are listed here : - CVE-2010-2941: CVSS v2 Base Score: 3.3 (AV:A/AC:L/Au:N/C:N/I:N/A:P): CWE-399 Special IPP requests allow to crashcupsd remotely. - CVE-2010-0542: CVSS v2 Base Score: 6.8 (AV:N/AC:M/Au:N/C:P/I:P/A:P): CWE-264 A NULL pointer dereference exists in the _WriteProlog() function of the texttops image filter. - CVE-2010-1748: CVSS v2 Base Score: 4.3 (AV:N/AC:M/Au:N/C:P/I:N/A:N): CWE-119 An attacker with access to the web-interface may be able to read some bytes of uninitialized memory.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 53654
    published 2011-05-05
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=53654
    title openSUSE Security Update : cups (openSUSE-SU-2010:1018-1)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2010-10066.NASL
    description New upstream release fixing several security issues: CVE-2010-0540, CVE-2010-0542, CVE-2010-1748. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2015-10-20
    plugin id 47206
    published 2010-07-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=47206
    title Fedora 11 : cups-1.4.4-4.fc11 (2010-10066)
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2010-0490.NASL
    description From Red Hat Security Advisory 2010:0490 : Updated cups packages that fix three security issues are now available for Red Hat Enterprise Linux 3, 4, and 5. The Red Hat Security Response Team has rated this update as having important 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. The Common UNIX Printing System (CUPS) provides a portable printing layer for UNIX operating systems. The CUPS 'texttops' filter converts text files to PostScript. A missing memory allocation failure check flaw, leading to a NULL pointer dereference, was found in the CUPS 'texttops' filter. An attacker could create a malicious text file that would cause 'texttops' to crash or, potentially, execute arbitrary code as the 'lp' user if the file was printed. (CVE-2010-0542) A Cross-Site Request Forgery (CSRF) issue was found in the CUPS web interface. If a remote attacker could trick a user, who is logged into the CUPS web interface as an administrator, into visiting a specially crafted website, the attacker could reconfigure and disable CUPS, and gain access to print jobs and system files. (CVE-2010-0540) Note: As a result of the fix for CVE-2010-0540, cookies must now be enabled in your web browser to use the CUPS web interface. An uninitialized memory read issue was found in the CUPS web interface. If an attacker had access to the CUPS web interface, they could use a specially crafted URL to leverage this flaw to read a limited amount of memory from the cupsd process, possibly obtaining sensitive information. (CVE-2010-1748) Red Hat would like to thank the Apple Product Security team for responsibly reporting these issues. Upstream acknowledges regenrecht as the original reporter of CVE-2010-0542; Adrian 'pagvac' Pastor of GNUCITIZEN and Tim Starling as the original reporters of CVE-2010-0540; and Luca Carettoni as the original reporter of CVE-2010-1748. Users of cups are advised to upgrade to these updated packages, which contain backported patches to correct these issues. After installing this update, the cupsd daemon will be restarted automatically.
    last seen 2019-02-21
    modified 2015-12-01
    plugin id 68052
    published 2013-07-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=68052
    title Oracle Linux 3 / 4 / 5 : cups (ELSA-2010-0490)
  • NASL family SuSE Local Security Checks
    NASL id SUSE9_12665.NASL
    description This update fixes the following vulnerabilities in cups : - A specially crafted PDF file could crash the pdftops potentially even cause execution of arbitrary code. (CVE-2010-3702: CVSS v2 Base Score: 5.8). (CVE-2010-3702) - A NULL pointer dereference issue exists in the _WriteProlog function of texttops. (CVE-2010-0542: CVSS v2 Base Score: 6.8: Permissions, Privileges, and Access Control (CWE-264)). (CVE-2010-0542) - Memory disclosure in web interface. (CVE-2010-1748: CVSS v2 Base Score: 4.3: Buffer Errors (CWE-119)). (CVE-2010-1748)
    last seen 2019-02-21
    modified 2016-12-21
    plugin id 50982
    published 2010-12-06
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=50982
    title SuSE9 Security Update : CUPS (YOU Patch Number 12665)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-2176.NASL
    description Several vulnerabilities have been discovered in the Common UNIX Printing System : - CVE-2008-5183 A NULL pointer dereference in RSS job completion notifications could lead to denial of service. - CVE-2009-3553 It was discovered that incorrect file descriptor handling could lead to denial of service. - CVE-2010-0540 A cross-site request forgery vulnerability was discovered in the web interface. - CVE-2010-0542 Incorrect memory management in the filter subsystem could lead to denial of service. - CVE-2010-1748 Information disclosure in the web interface. - CVE-2010-2431 Emmanuel Bouillon discovered a symlink vulnerability in handling of cache files. - CVE-2010-2432 Denial of service in the authentication code. - CVE-2010-2941 Incorrect memory management in the IPP code could lead to denial of service or the execution of arbitrary code.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 52484
    published 2011-03-02
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=52484
    title Debian DSA-2176-1 : cups - several vulnerabilities
  • NASL family Slackware Local Security Checks
    NASL id SLACKWARE_SSA_2010-176-05.NASL
    description New cups packages are available for Slackware 13.1 and -current to fix security issues.
    last seen 2019-02-21
    modified 2013-06-01
    plugin id 54882
    published 2011-05-28
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=54882
    title Slackware 13.1 / current : cups (SSA:2010-176-05)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_2_CUPS-101124.NASL
    description This updates fix several bugs, but only the security fixes are listed here : - CVE-2010-2941: CVSS v2 Base Score: 3.3 (AV:A/AC:L/Au:N/C:N/I:N/A:P): CWE-399 Special IPP requests allow to crashcupsd remotely. - CVE-2010-0542: CVSS v2 Base Score: 6.8 (AV:N/AC:M/Au:N/C:P/I:P/A:P): CWE-264 A NULL pointer dereference exists in the _WriteProlog() function of the texttops image filter. - CVE-2010-1748: CVSS v2 Base Score: 4.3 (AV:N/AC:M/Au:N/C:P/I:N/A:N): CWE-119 An attacker with access to the web-interface may be able to read some bytes of uninitialized memory.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 53703
    published 2011-05-05
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=53703
    title openSUSE Security Update : cups (openSUSE-SU-2010:1018-1)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-201207-10.NASL
    description The remote host is affected by the vulnerability described in GLSA-201207-10 (CUPS: Multiple vulnerabilities) Multiple vulnerabilities have been discovered in CUPS. Please review the CVE identifiers referenced below for details. Impact : A remote attacker may be able to execute arbitrary code using specially crafted streams, IPP requests or files, or cause a Denial of Service (daemon crash or hang). A local attacker may be able to gain escalated privileges or overwrite arbitrary files. Furthermore, a remote attacker may be able to obtain sensitive information from the CUPS process or hijack a CUPS administrator authentication request. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2016-11-11
    plugin id 59902
    published 2012-07-10
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=59902
    title GLSA-201207-10 : CUPS: Multiple vulnerabilities
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20100617_CUPS_ON_SL3_X.NASL
    description A missing memory allocation failure check flaw, leading to a NULL pointer dereference, was found in the CUPS 'texttops' filter. An attacker could create a malicious text file that would cause 'texttops' to crash or, potentially, execute arbitrary code as the 'lp' user if the file was printed. (CVE-2010-0542) A Cross-Site Request Forgery (CSRF) issue was found in the CUPS web interface. If a remote attacker could trick a user, who is logged into the CUPS web interface as an administrator, into visiting a specially crafted website, the attacker could reconfigure and disable CUPS, and gain access to print jobs and system files. (CVE-2010-0540) Note: As a result of the fix for CVE-2010-0540, cookies must now be enabled in your web browser to use the CUPS web interface. An uninitialized memory read issue was found in the CUPS web interface. If an attacker had access to the CUPS web interface, they could use a specially crafted URL to leverage this flaw to read a limited amount of memory from the cupsd process, possibly obtaining sensitive information. (CVE-2010-1748) After installing this update, the cupsd daemon will be restarted automatically.
    last seen 2019-02-21
    modified 2019-01-02
    plugin id 60806
    published 2012-08-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=60806
    title Scientific Linux Security Update : cups on SL3.x, SL4.x, SL5.x i386/x86_64
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-952-1.NASL
    description Adrian Pastor and Tim Starling discovered that the CUPS web interface incorrectly protected against cross-site request forgery (CSRF) attacks. If an authenticated user were tricked into visiting a malicious website while logged into CUPS, a remote attacker could modify the CUPS configuration and possibly steal confidential data. (CVE-2010-0540) It was discovered that CUPS did not properly handle memory allocations in the texttops filter. If a user or automated system were tricked into printing a crafted text file, a remote attacker could cause a denial of service or possibly execute arbitrary code with privileges of the CUPS user (lp). (CVE-2010-0542) Luca Carettoni discovered that the CUPS web interface incorrectly handled form variables. A remote attacker who had access to the CUPS web interface could use this flaw to read a limited amount of memory from the cupsd process and possibly obtain confidential data. (CVE-2010-1748). Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-11-28
    plugin id 47108
    published 2010-06-22
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=47108
    title Ubuntu 6.06 LTS / 8.04 LTS / 9.04 / 9.10 / 10.04 LTS : cups, cupsys vulnerabilities (USN-952-1)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_3_CUPS-101124.NASL
    description This updates fix several bugs, but only the security fixes are listed here : - CVE-2010-2941: CVSS v2 Base Score: 3.3 (AV:A/AC:L/Au:N/C:N/I:N/A:P): CWE-399 Special IPP requests allow to crashcupsd remotely. - CVE-2010-0542: CVSS v2 Base Score: 6.8 (AV:N/AC:M/Au:N/C:P/I:P/A:P): CWE-264 A NULL pointer dereference exists in the _WriteProlog() function of the texttops image filter. - CVE-2010-1748: CVSS v2 Base Score: 4.3 (AV:N/AC:M/Au:N/C:P/I:N/A:N): CWE-119 An attacker with access to the web-interface may be able to read some bytes of uninitialized memory.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 75456
    published 2014-06-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=75456
    title openSUSE Security Update : cups (openSUSE-SU-2010:1018-1)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_CUPS-7244.NASL
    description This update fixes the following vulnerabilities in cups : - A specially crafted PDF file could crash the pdftops potentially even cause execution of arbitrary code. (CVE-2010-3702: CVSS v2 Base Score: 5.8). (CVE-2010-3702) - A NULL pointer dereference issue exists in the _WriteProlog function of texttops. (CVE-2010-0542: CVSS v2 Base Score: 6.8: Permissions, Privileges, and Access Control (CWE-264)). (CVE-2010-0542) - Memory disclosure in web interface. (CVE-2010-1748: CVSS v2 Base Score: 4.3: Buffer Errors (CWE-119)). (CVE-2010-1748)
    last seen 2019-02-21
    modified 2016-12-22
    plugin id 50984
    published 2010-12-06
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=50984
    title SuSE 10 Security Update : CUPS (ZYPP Patch Number 7244)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2010-10388.NASL
    description New upstream release fixing several security issues: CVE-2010-0540, CVE-2010-0542, CVE-2010-1748. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2015-10-20
    plugin id 47586
    published 2010-07-02
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=47586
    title Fedora 13 : cups-1.4.4-5.fc13 (2010-10388)
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2010-0490.NASL
    description Updated cups packages that fix three security issues are now available for Red Hat Enterprise Linux 3, 4, and 5. The Red Hat Security Response Team has rated this update as having important 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. The Common UNIX Printing System (CUPS) provides a portable printing layer for UNIX operating systems. The CUPS 'texttops' filter converts text files to PostScript. A missing memory allocation failure check flaw, leading to a NULL pointer dereference, was found in the CUPS 'texttops' filter. An attacker could create a malicious text file that would cause 'texttops' to crash or, potentially, execute arbitrary code as the 'lp' user if the file was printed. (CVE-2010-0542) A Cross-Site Request Forgery (CSRF) issue was found in the CUPS web interface. If a remote attacker could trick a user, who is logged into the CUPS web interface as an administrator, into visiting a specially crafted website, the attacker could reconfigure and disable CUPS, and gain access to print jobs and system files. (CVE-2010-0540) Note: As a result of the fix for CVE-2010-0540, cookies must now be enabled in your web browser to use the CUPS web interface. An uninitialized memory read issue was found in the CUPS web interface. If an attacker had access to the CUPS web interface, they could use a specially crafted URL to leverage this flaw to read a limited amount of memory from the cupsd process, possibly obtaining sensitive information. (CVE-2010-1748) Red Hat would like to thank the Apple Product Security team for responsibly reporting these issues. Upstream acknowledges regenrecht as the original reporter of CVE-2010-0542; Adrian 'pagvac' Pastor of GNUCITIZEN and Tim Starling as the original reporters of CVE-2010-0540; and Luca Carettoni as the original reporter of CVE-2010-1748. Users of cups are advised to upgrade to these updated packages, which contain backported patches to correct these issues. After installing this update, the cupsd daemon will be restarted automatically.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 47102
    published 2010-06-21
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=47102
    title CentOS 3 / 4 / 5 : cups (CESA-2010:0490)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2010-10101.NASL
    description New upstream release fixing several security issues: CVE-2010-0540, CVE-2010-0542, CVE-2010-1748. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2015-10-20
    plugin id 47835
    published 2010-07-27
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=47835
    title Fedora 12 : cups-1.4.4-5.fc12 (2010-10101)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2010-0490.NASL
    description Updated cups packages that fix three security issues are now available for Red Hat Enterprise Linux 3, 4, and 5. The Red Hat Security Response Team has rated this update as having important 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. The Common UNIX Printing System (CUPS) provides a portable printing layer for UNIX operating systems. The CUPS 'texttops' filter converts text files to PostScript. A missing memory allocation failure check flaw, leading to a NULL pointer dereference, was found in the CUPS 'texttops' filter. An attacker could create a malicious text file that would cause 'texttops' to crash or, potentially, execute arbitrary code as the 'lp' user if the file was printed. (CVE-2010-0542) A Cross-Site Request Forgery (CSRF) issue was found in the CUPS web interface. If a remote attacker could trick a user, who is logged into the CUPS web interface as an administrator, into visiting a specially crafted website, the attacker could reconfigure and disable CUPS, and gain access to print jobs and system files. (CVE-2010-0540) Note: As a result of the fix for CVE-2010-0540, cookies must now be enabled in your web browser to use the CUPS web interface. An uninitialized memory read issue was found in the CUPS web interface. If an attacker had access to the CUPS web interface, they could use a specially crafted URL to leverage this flaw to read a limited amount of memory from the cupsd process, possibly obtaining sensitive information. (CVE-2010-1748) Red Hat would like to thank the Apple Product Security team for responsibly reporting these issues. Upstream acknowledges regenrecht as the original reporter of CVE-2010-0542; Adrian 'pagvac' Pastor of GNUCITIZEN and Tim Starling as the original reporters of CVE-2010-0540; and Luca Carettoni as the original reporter of CVE-2010-1748. Users of cups are advised to upgrade to these updated packages, which contain backported patches to correct these issues. After installing this update, the cupsd daemon will be restarted automatically.
    last seen 2019-02-21
    modified 2018-11-28
    plugin id 47044
    published 2010-06-18
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=47044
    title RHEL 3 / 4 / 5 : cups (RHSA-2010:0490)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_CUPS-101119.NASL
    description This updates fix several bugs, but only the security fixes are listed here : - Special IPP requests allow to crash cupsd remotely. (CVE-2010-2941: CVSS v2 Base Score: 3.3 (AV:A/AC:L/Au:N/C:N/I:N/A:P): CWE-399) - A NULL pointer dereference exists in the _WriteProlog() function of the texttops image filter. (CVE-2010-0542: CVSS v2 Base Score: 6.8 (AV:N/AC:M/Au:N/C:P/I:P/A:P): CWE-264) - An attacker with access to the web-interface may be able to read some bytes of uninitialized memory. (CVE-2010-1748: CVSS v2 Base Score: 4.3 (AV:N/AC:M/Au:N/C:P/I:N/A:N): CWE-119)
    last seen 2019-02-21
    modified 2016-12-21
    plugin id 50983
    published 2010-12-06
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=50983
    title SuSE 11 / 11.1 Security Update : CUPS (SAT Patch Numbers 3575 / 3576)
oval via4
accepted 2013-04-29T04:05:01.833-04:00
class vulnerability
contributors
  • name Aharon Chernin
    organization SCAP.com, LLC
  • name Dragos Prisaca
    organization G2, Inc.
definition_extensions
  • comment The operating system installed on the system is Red Hat Enterprise Linux 3
    oval oval:org.mitre.oval:def:11782
  • comment CentOS Linux 3.x
    oval oval:org.mitre.oval:def:16651
  • comment The operating system installed on the system is Red Hat Enterprise Linux 4
    oval oval:org.mitre.oval:def:11831
  • comment CentOS Linux 4.x
    oval oval:org.mitre.oval:def:16636
  • comment Oracle Linux 4.x
    oval oval:org.mitre.oval:def:15990
  • comment The operating system installed on the system is Red Hat Enterprise Linux 5
    oval oval:org.mitre.oval:def:11414
  • comment The operating system installed on the system is CentOS Linux 5.x
    oval oval:org.mitre.oval:def:15802
  • comment Oracle Linux 5.x
    oval oval:org.mitre.oval:def:15459
description The _WriteProlog function in texttops.c in texttops in the Text Filter subsystem in CUPS before 1.4.4 does not check the return values of certain calloc calls, which allows remote attackers to cause a denial of service (NULL pointer dereference or heap memory corruption) or possibly execute arbitrary code via a crafted file.
family unix
id oval:org.mitre.oval:def:10365
status accepted
submitted 2010-07-09T03:56:16-04:00
title The _WriteProlog function in texttops.c in texttops in the Text Filter subsystem in CUPS before 1.4.4 does not check the return values of certain calloc calls, which allows remote attackers to cause a denial of service (NULL pointer dereference or heap memory corruption) or possibly execute arbitrary code via a crafted file.
version 24
redhat via4
rpms
  • cups-1:1.1.17-13.3.65
  • cups-devel-1:1.1.17-13.3.65
  • cups-libs-1:1.1.17-13.3.65
  • cups-1:1.1.22-0.rc1.9.32.el4_8.6
  • cups-devel-1:1.1.22-0.rc1.9.32.el4_8.6
  • cups-libs-1:1.1.22-0.rc1.9.32.el4_8.6
  • cups-1:1.3.7-18.el5_5.4
  • cups-devel-1:1.3.7-18.el5_5.4
  • cups-libs-1:1.3.7-18.el5_5.4
  • cups-lpd-1:1.3.7-18.el5_5.4
refmap via4
bid 40943
confirm
debian DSA-2176
gentoo GLSA-201207-10
mandriva
  • MDVSA-2010:232
  • MDVSA-2010:234
sectrack 1024121
secunia 43521
suse SUSE-SR:2010:023
vupen ADV-2011-0535
Last major update 14-05-2013 - 23:06
Published 21-06-2010 - 12:30
Last modified 18-09-2017 - 21:30
Back to Top