ID CVE-2008-1670
Summary Heap-based buffer overflow in the progressive PNG Image loader (decoders/pngloader.cpp) in KHTML in KDE 4.0.x up to 4.0.3 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted image.
References
Vulnerable Configurations
  • cpe:2.3:o:kde:kde:4.0.0
    cpe:2.3:o:kde:kde:4.0.0
  • cpe:2.3:o:kde:kde:4.0.1
    cpe:2.3:o:kde:kde:4.0.1
  • cpe:2.3:o:kde:kde:4.0.2
    cpe:2.3:o:kde:kde:4.0.2
  • cpe:2.3:o:kde:kde:4.0.3
    cpe:2.3:o:kde:kde:4.0.3
CVSS
Base: 9.3 (as of 28-04-2008 - 13:20)
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
nessus via4
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2008-3379.NASL
    description - Bug #443766 - CVE-2008-1670 kdelibs: Buffer overflow in KHTML's image loader 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-21
    plugin id 32101
    published 2008-05-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=32101
    title Fedora 7 : kde-filesystem-4-14.fc7 / kdebase-runtime-4.0.3-10.fc7.1 / kdebase4-4.0.3-9.fc7 / etc (2008-3379)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2008-3412.NASL
    description The remote Fedora host is missing one or more security updates : kdepimlibs-4.0.3-3.fc8 : - Thu Apr 3 2008 Kevin Kofler 4.0.3-3 - rebuild (again) for the fixed %{_kde4_buildtype} - Mon Mar 31 2008 Kevin Kofler 4.0.3-2 - rebuild for NDEBUG and _kde4_libexecdir - Fri Mar 28 2008 Than Ngo 4.0.3-1 - 4.0.3 - -apidocs: Drop Requires: %name - include noarch build hooks (not enabled) - Thu Mar 6 2008 Kevin Kofler 4.0.2-2 - build apidocs and put them into an -apidocs subpackage (can be turned off) - BR doxygen, graphviz and qt4-doc when building apidocs - Thu Feb 28 2008 Than Ngo 4.0.2-1 - 4.0.2 - Wed Jan 30 2008 Kevin Kofler 4.0.1-2 - don't delete kconf_update script, it has been fixed to do the right thing - Wed Jan 30 2008 Rex Dieter 4.0.1-1 - 4.0.1 - Mon Jan 7 2008 Than Ngo 4.0.0-1 - 4.0.0 - Tue Dec 11 2007 Kevin Kofler 3.97.0-2 - rebuild for changed _kde4_includedir - Wed Dec 5 2007 Rex Dieter 3.97.0-1 - kde-3.97.0 - Thu Nov 29 2007 Rex Dieter 3.96.2-1 - kde-3.96.2 - Tue Nov 27 2007 Rex Dieter 3.96.1-2 - kde-3.96.1 - Thu Nov 15 2007 Rex Dieter 3.96.0-1 - kde-3.96.0 - Fri Nov 9 2007 Rex Dieter 3.95.2-1 - kde-3.95.2 - Mon Nov 5 2007 Rex Dieter 3.95.0-1 - kde-3.95.0 (kde4 dev platform rc1) kdebase-runtime-4.0.3-10.fc8.1 / kdebase4-4.0.3-9.fc8 / kdelibs4-4.0.3-7.fc8 / qt4-4.3.4-11.fc8 : - Bug #443766 - CVE-2008-1670 kdelibs: Buffer overflow in KHTML's image loader kde-filesystem-4-14.fc8 : - Thu Apr 3 2008 Kevin Kofler 4-14 - don't define %{_kde4_debug} in macros.kde4 anymore - Wed Apr 2 2008 Rex Dieter 4-13 - define %{_kde4_buildtype} in macros.kde4 too - Mon Mar 31 2008 Kevin Kofler 4-12 - actually define %{_kde4_libexecdir} in macros.kde4 - Mon Mar 31 2008 Kevin Kofler 4-11 - add %{_kde4_libexecdir}, set LIBEXEC_INSTALL_DIR to it - don't own %{_kde4_libdir} which is just %{_libdir} - Mon Mar 31 2008 Rex Dieter 4-10 - macros.kde4: _kde4_buildtype=FEDORA - Fri Mar 28 2008 Than Ngo 4-9 - internal services shouldn't be displayed in menu, bz#321771 - Sun Jan 27 2008 Rex Dieter 4-8 - should not own %_datadir/desktop-directories/ (#430420) - Fri Jan 25 2008 Kevin Kofler 4-7 - own %{_kde4_appsdir}/color-schemes - Mon Jan 7 2008 Rex Dieter 4-6 - -Requires: redhat-rpm-config (revert 4-1 addition) - Sun Dec 30 2007 Rex Dieter 4-5 - +%_datadir/autostart, %_kde4_datadir/autostart - Tue Dec 11 2007 Kevin Kofler 4-4 - set INCLUDE_INSTALL_DIR in %cmake_kde4 - Tue Dec 11 2007 Kevin Kofler 4-3 - actually create the directory listed in the file list - Tue Dec 11 2007 Kevin Kofler 4-2 - set kde4_includedir to %_kde4_prefix/include/kde4 - Mon Nov 19 2007 Rex Dieter 4-1 - Version: 4 - %cmake_kde4: add -DCMAKE_SKIP_RPATH:BOOL=ON - Requires: redhat-rpm-config (for proper rpm macro defs) (hmm... may need a new -devel pkg somewhere) 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-21
    plugin id 32106
    published 2008-05-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=32106
    title Fedora 8 : kde-filesystem-4-14.fc8 / kdebase-runtime-4.0.3-10.fc8.1 / kdebase4-4.0.3-9.fc8 / etc (2008-3412)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_KDELIBS4-5220.NASL
    description A heap overflow in the PNG loader of KHTML has been fixed. CVE-2008-1670 has been assigned to this issue.
    last seen 2018-09-01
    modified 2014-06-13
    plugin id 32180
    published 2008-05-09
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=32180
    title openSUSE 10 Security Update : kdelibs4 (kdelibs4-5220)
refmap via4
bid 28937
confirm http://www.kde.org/info/security/advisory-20080426-1.txt
sectrack 1019929
secunia 29980
suse SUSE-SR:2008:011
vupen ADV-2008-1371
xf kde-khtml-png-bo(42038)
statements via4
contributor Joshua Bressers
lastmodified 2008-05-01
organization Red Hat
statement Not vulnerable. This issue did not affect versions of KDE as shipped with Red Hat Enterprise Linux 2.1, 3, 4, or 5.
Last major update 07-03-2011 - 22:07
Published 28-04-2008 - 13:05
Last modified 07-08-2017 - 21:30
Back to Top