ID CVE-2010-1797
Summary Multiple stack-based buffer overflows in the cff_decoder_parse_charstrings function in the CFF Type2 CharStrings interpreter in cff/cffgload.c in FreeType before 2.4.2, as used in Apple iOS before 4.0.2 on the iPhone and iPod touch and before 3.2.2 on the iPad, allow remote attackers to execute arbitrary code or cause a denial of service (memory corruption) via crafted CFF opcodes in embedded fonts in a PDF document, as demonstrated by JailbreakMe. NOTE: some of these details are obtained from third party information.
References
Vulnerable Configurations
  • cpe:2.3:o:apple:iphone_os:1.0.0:*:*:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:1.0.0:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:1.0.0:-:iphone:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:1.0.0:-:iphone:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:1.0.1:*:*:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:1.0.1:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:1.0.1:-:iphone:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:1.0.1:-:iphone:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:1.0.2:*:*:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:1.0.2:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:1.0.2:-:iphone:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:1.0.2:-:iphone:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:1.1.0:*:*:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:1.1.0:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:1.1.0:-:iphone:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:1.1.0:-:iphone:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:1.1.0:-:ipodtouch:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:1.1.0:-:ipodtouch:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:1.1.1:*:*:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:1.1.1:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:1.1.1:-:iphone:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:1.1.1:-:iphone:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:1.1.2:*:*:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:1.1.2:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:1.1.2:-:iphone:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:1.1.2:-:iphone:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:1.1.2:-:ipodtouch:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:1.1.2:-:ipodtouch:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:1.1.3:*:*:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:1.1.3:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:1.1.3:-:iphone:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:1.1.3:-:iphone:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:1.1.3:-:ipodtouch:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:1.1.3:-:ipodtouch:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:1.1.4:*:*:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:1.1.4:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:1.1.4:-:iphone:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:1.1.4:-:iphone:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:1.1.4:-:ipodtouch:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:1.1.4:-:ipodtouch:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:1.1.5:*:*:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:1.1.5:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:1.1.5:-:iphone:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:1.1.5:-:iphone:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:1.1.5:-:ipodtouch:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:1.1.5:-:ipodtouch:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:2.0:*:*:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:2.0:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:2.0.0:*:*:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:2.0.0:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:2.0.0:-:iphone:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:2.0.0:-:iphone:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:2.0.0:-:ipodtouch:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:2.0.0:-:ipodtouch:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:2.0.1:*:*:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:2.0.1:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:2.0.1:-:iphone:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:2.0.1:-:iphone:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:2.0.1:-:ipodtouch:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:2.0.1:-:ipodtouch:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:2.0.2:*:*:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:2.0.2:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:2.0.2:-:iphone:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:2.0.2:-:iphone:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:2.0.2:-:ipodtouch:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:2.0.2:-:ipodtouch:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:2.1:*:*:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:2.1:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:2.1:-:iphone:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:2.1:-:iphone:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:2.1:-:ipodtouch:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:2.1:-:ipodtouch:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:2.1.1:*:*:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:2.1.1:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:2.2:*:*:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:2.2:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:2.2:-:iphone:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:2.2:-:iphone:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:2.2.1:*:*:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:2.2.1:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:2.2.1:-:iphone:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:2.2.1:-:iphone:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:2.2.1:-:ipodtouch:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:2.2.1:-:ipodtouch:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:3.0:*:*:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:3.0:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:3.0:-:iphone:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:3.0:-:iphone:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:3.0:-:ipodtouch:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:3.0:-:ipodtouch:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:3.0.1:*:*:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:3.0.1:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:3.0.1:-:ipodtouch:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:3.0.1:-:ipodtouch:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:3.1:*:*:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:3.1:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:3.1:-:iphone:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:3.1:-:iphone:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:3.1:-:ipodtouch:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:3.1:-:ipodtouch:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:3.1.2:*:*:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:3.1.2:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:3.1.2:-:iphone:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:3.1.2:-:iphone:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:3.1.2:-:ipodtouch:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:3.1.2:-:ipodtouch:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:3.1.3:*:*:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:3.1.3:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:3.1.3:-:iphone:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:3.1.3:-:iphone:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:3.2:*:*:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:3.2:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:3.2:-:iphone:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:3.2:-:iphone:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:3.2:-:ipodtouch:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:3.2:-:ipodtouch:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:3.2.1:*:*:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:3.2.1:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:3.2.1:-:ipad:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:3.2.1:-:ipad:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:4.0:*:*:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:4.0:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:4.0:-:iphone:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:4.0:-:iphone:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:4.0:-:ipodtouch:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:4.0:-:ipodtouch:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:4.0.1:*:*:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:4.0.1:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:4.0.1:-:iphone:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:4.0.1:-:iphone:*:*:*:*:*
  • cpe:2.3:o:apple:iphone_os:4.0.1:-:ipodtouch:*:*:*:*:*
    cpe:2.3:o:apple:iphone_os:4.0.1:-:ipodtouch:*:*:*:*:*
CVSS
Base: 9.3 (as of 26-09-2019 - 17:05)
Impact:
Exploitability:
CWE CWE-119
CAPEC
  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
  • Overflow Binary Resource File
    An attack of this type exploits a buffer overflow vulnerability in the handling of binary resources. Binary resources may include music files like MP3, image files like JPEG files, and any other binary file. These attacks may pass unnoticed to the client machine through normal usage of files, such as a browser loading a seemingly innocent JPEG file. This can allow the attacker access to the execution stack and execute arbitrary code in the target process. This attack pattern is a variant of standard buffer overflow attacks using an unexpected vector (binary files) to wrap its attack and open up a new attack vector. The attacker is required to either directly serve the binary content to the victim, or place it in a locale like a MP3 sharing application, for the victim to download. The attacker then is notified upon the download or otherwise locates the vulnerability opened up by the buffer overflow.
  • Buffer Overflow via Symbolic Links
    This type of attack leverages the use of symbolic links to cause buffer overflows. An attacker can try to create or manipulate a symbolic link file such that its contents result in out of bounds data. When the target software processes the symbolic link file, it could potentially overflow internal buffers with insufficient bounds checking.
  • Overflow Variables and Tags
    This type of attack leverages the use of tags or variables from a formatted configuration data to cause buffer overflow. The attacker crafts a malicious HTML page or configuration file that includes oversized strings, thus causing an overflow.
  • Buffer Overflow via Parameter Expansion
    In this attack, the target software is given input that the attacker knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow.
  • Buffer Overflow in an API Call
    This attack targets libraries or shared code modules which are vulnerable to buffer overflow attacks. An attacker who has access to an API may try to embed malicious code in the API function call and exploit a buffer overflow vulnerability in the function's implementation. All clients that make use of the code library thus become vulnerable by association. This has a very broad effect on security across a system, usually affecting more than one software process.
  • Buffer Overflow in Local Command-Line Utilities
    This attack targets command-line utilities available in a number of shells. An attacker can leverage a vulnerability found in a command-line utility to escalate privilege to root.
Access
VectorComplexityAuthentication
NETWORK MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
COMPLETE COMPLETE COMPLETE
cvss-vector via4 AV:N/AC:M/Au:N/C:C/I:C/A:C
redhat via4
advisories
bugzilla
id 621144
title CVE-2010-1797 FreeType: Multiple stack overflows by processing CFF opcodes
oval
OR
  • AND
    • comment Red Hat Enterprise Linux 3 is installed
      oval oval:com.redhat.rhba:tst:20070026001
    • OR
      • AND
        • comment freetype is earlier than 0:2.1.4-16.el3
          oval oval:com.redhat.rhsa:tst:20100607002
        • comment freetype is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070150003
      • AND
        • comment freetype-devel is earlier than 0:2.1.4-16.el3
          oval oval:com.redhat.rhsa:tst:20100607004
        • comment freetype-devel is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070150005
  • AND
    • comment Red Hat Enterprise Linux 4 is installed
      oval oval:com.redhat.rhba:tst:20070304001
    • OR
      • AND
        • comment freetype is earlier than 0:2.1.9-15.el4.8
          oval oval:com.redhat.rhsa:tst:20100607007
        • comment freetype is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070150003
      • AND
        • comment freetype-demos is earlier than 0:2.1.9-15.el4.8
          oval oval:com.redhat.rhsa:tst:20100607011
        • comment freetype-demos is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070150012
      • AND
        • comment freetype-devel is earlier than 0:2.1.9-15.el4.8
          oval oval:com.redhat.rhsa:tst:20100607008
        • comment freetype-devel is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070150005
      • AND
        • comment freetype-utils is earlier than 0:2.1.9-15.el4.8
          oval oval:com.redhat.rhsa:tst:20100607009
        • comment freetype-utils is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070150010
  • AND
    • comment Red Hat Enterprise Linux 5 is installed
      oval oval:com.redhat.rhba:tst:20070331001
    • OR
      • AND
        • comment freetype is earlier than 0:2.2.1-26.el5_5
          oval oval:com.redhat.rhsa:tst:20100607014
        • comment freetype is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070150015
      • AND
        • comment freetype-demos is earlier than 0:2.2.1-26.el5_5
          oval oval:com.redhat.rhsa:tst:20100607016
        • comment freetype-demos is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070150017
      • AND
        • comment freetype-devel is earlier than 0:2.2.1-26.el5_5
          oval oval:com.redhat.rhsa:tst:20100607018
        • comment freetype-devel is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070150019
rhsa
id RHSA-2010:0607
released 2010-08-05
severity Important
title RHSA-2010:0607: freetype security update (Important)
rpms
  • freetype-0:2.1.4-16.el3
  • freetype-devel-0:2.1.4-16.el3
  • freetype-0:2.1.9-15.el4.8
  • freetype-demos-0:2.1.9-15.el4.8
  • freetype-devel-0:2.1.9-15.el4.8
  • freetype-utils-0:2.1.9-15.el4.8
  • freetype-0:2.2.1-26.el5_5
  • freetype-demos-0:2.2.1-26.el5_5
  • freetype-devel-0:2.2.1-26.el5_5
refmap via4
apple
  • APPLE-SA-2010-08-11-1
  • APPLE-SA-2010-08-11-2
bid 42151
confirm
exploit-db 14538
misc http://www.f-secure.com/weblog/archives/00002002.html
osvdb 66828
secunia
  • 40807
  • 40816
  • 40982
  • 48951
ubuntu USN-972-1
vupen
  • ADV-2010-2018
  • ADV-2010-2106
xf appleios-pdf-code-execution(60856)
Last major update 26-09-2019 - 17:05
Published 16-08-2010 - 18:39
Back to Top