Vulnerabilities > CVE-2008-1670 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in KDE

047910
CVSS 0.0 - NONE
Attack vector
UNKNOWN
Attack complexity
UNKNOWN
Privileges required
UNKNOWN
Confidentiality impact
UNKNOWN
Integrity impact
UNKNOWN
Availability impact
UNKNOWN
kde
CWE-119
nessus

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.

Vulnerable Configurations

Part Description Count
OS
Kde
4

Common Attack Pattern Enumeration and Classification (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.

Nessus

  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2008-3412.NASL
    descriptionThe remote Fedora host is missing one or more security updates : kdepimlibs-4.0.3-3.fc8 : - Thu Apr 3 2008 Kevin Kofler <Kevin at tigcc.ticalc.org> 4.0.3-3 - rebuild (again) for the fixed %{_kde4_buildtype} - Mon Mar 31 2008 Kevin Kofler <Kevin at tigcc.ticalc.org> 4.0.3-2 - rebuild for NDEBUG and _kde4_libexecdir - Fri Mar 28 2008 Than Ngo <than at redhat.com> 4.0.3-1 - 4.0.3 - -apidocs: Drop Requires: %name - include noarch build hooks (not enabled) - Thu Mar 6 2008 Kevin Kofler <Kevin at tigcc.ticalc.org> 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 <than at redhat.com> 4.0.2-1 - 4.0.2 - Wed Jan 30 2008 Kevin Kofler <Kevin at tigcc.ticalc.org> 4.0.1-2 - don
    last seen2020-06-01
    modified2020-06-02
    plugin id32106
    published2008-05-01
    reporterThis script is Copyright (C) 2008-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/32106
    titleFedora 8 : kde-filesystem-4-14.fc8 / kdebase-runtime-4.0.3-10.fc8.1 / kdebase4-4.0.3-9.fc8 / etc (2008-3412)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Fedora Security Advisory 2008-3412.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(32106);
      script_version ("1.15");
      script_cvs_date("Date: 2019/08/02 13:32:27");
    
      script_cve_id("CVE-2008-1670");
      script_xref(name:"FEDORA", value:"2008-3412");
    
      script_name(english:"Fedora 8 : kde-filesystem-4-14.fc8 / kdebase-runtime-4.0.3-10.fc8.1 / kdebase4-4.0.3-9.fc8 / etc (2008-3412)");
      script_summary(english:"Checks rpm output for the updated packages.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Fedora host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "The remote Fedora host is missing one or more security updates :
    
    kdepimlibs-4.0.3-3.fc8 :
    
      - Thu Apr 3 2008 Kevin Kofler <Kevin at tigcc.ticalc.org>
        4.0.3-3
    
        - rebuild (again) for the fixed %{_kde4_buildtype}
    
        - Mon Mar 31 2008 Kevin Kofler <Kevin at
          tigcc.ticalc.org> 4.0.3-2
    
        - rebuild for NDEBUG and _kde4_libexecdir
    
        - Fri Mar 28 2008 Than Ngo <than at redhat.com> 4.0.3-1
    
        - 4.0.3
    
        - -apidocs: Drop Requires: %name
    
        - include noarch build hooks (not enabled)
    
        - Thu Mar 6 2008 Kevin Kofler <Kevin at
          tigcc.ticalc.org> 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 <than at redhat.com> 4.0.2-1
    
        - 4.0.2
    
        - Wed Jan 30 2008 Kevin Kofler <Kevin at
          tigcc.ticalc.org> 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 <rdieter at
          fedoraproject.org> 4.0.1-1
    
        - 4.0.1
    
        - Mon Jan 7 2008 Than Ngo <than at redhat.com> 4.0.0-1
    
        - 4.0.0
    
        - Tue Dec 11 2007 Kevin Kofler <Kevin at
          tigcc.ticalc.org> 3.97.0-2
    
        - rebuild for changed _kde4_includedir
    
        - Wed Dec 5 2007 Rex Dieter
          <rdieter[AT]fedoraproject.org> 3.97.0-1
    
        - kde-3.97.0
    
        - Thu Nov 29 2007 Rex Dieter
          <rdieter[AT]fedoraproject.org> 3.96.2-1
    
        - kde-3.96.2
    
        - Tue Nov 27 2007 Rex Dieter
          <rdieter[AT]fedoraproject.org> 3.96.1-2
    
        - kde-3.96.1
    
        - Thu Nov 15 2007 Rex Dieter
          <rdieter[AT]fedoraproject.org> 3.96.0-1
    
        - kde-3.96.0
    
        - Fri Nov 9 2007 Rex Dieter
          <rdieter[AT]fedoraproject.org> 3.95.2-1
    
        - kde-3.95.2
    
        - Mon Nov 5 2007 Rex Dieter
          <rdieter[AT]fedoraproject.org> 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 <Kevin at tigcc.ticalc.org>
        4-14
    
        - don't define %{_kde4_debug} in macros.kde4 anymore
    
        - Wed Apr 2 2008 Rex Dieter <rdieter at
          fedoraproject.org> 4-13
    
        - define %{_kde4_buildtype} in macros.kde4 too
    
        - Mon Mar 31 2008 Kevin Kofler <Kevin at
          tigcc.ticalc.org> 4-12
    
        - actually define %{_kde4_libexecdir} in macros.kde4
    
        - Mon Mar 31 2008 Kevin Kofler <Kevin at
          tigcc.ticalc.org> 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 <rdieter at
          fedoraproject.org> 4-10
    
        - macros.kde4: _kde4_buildtype=FEDORA
    
        - Fri Mar 28 2008 Than Ngo <than at redhat.com> 4-9
    
        - internal services shouldn't be displayed in menu,
          bz#321771
    
        - Sun Jan 27 2008 Rex Dieter <rdieter at
          fedoraproject.org> 4-8
    
        - should not own %_datadir/desktop-directories/
          (#430420)
    
        - Fri Jan 25 2008 Kevin Kofler <Kevin at
          tigcc.ticalc.org> 4-7
    
        - own %{_kde4_appsdir}/color-schemes
    
        - Mon Jan 7 2008 Rex Dieter
          <rdieter[AT]fedoraproject.org> 4-6
    
        - -Requires: redhat-rpm-config (revert 4-1 addition)
    
        - Sun Dec 30 2007 Rex Dieter
          <rdieter[AT]fedoraproject.org> 4-5
    
        - +%_datadir/autostart, %_kde4_datadir/autostart
    
        - Tue Dec 11 2007 Kevin Kofler <Kevin at
          tigcc.ticalc.org> 4-4
    
        - set INCLUDE_INSTALL_DIR in %cmake_kde4
    
        - Tue Dec 11 2007 Kevin Kofler <Kevin at
          tigcc.ticalc.org> 4-3
    
        - actually create the directory listed in the file list
    
        - Tue Dec 11 2007 Kevin Kofler <Kevin at
          tigcc.ticalc.org> 4-2
    
        - set kde4_includedir to %_kde4_prefix/include/kde4
    
        - Mon Nov 19 2007 Rex Dieter
          <rdieter[AT]fedoraproject.org> 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."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.redhat.com/show_bug.cgi?id=443766"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2008-April/009639.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?96121af5"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2008-April/009640.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?a70b721a"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2008-April/009641.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?f308eff4"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2008-April/009642.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?63df3f3e"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2008-April/009643.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?4f4e8594"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2008-April/009644.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?d7fe4e57"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
      script_cwe_id(119);
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:kde-filesystem");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:kdebase-runtime");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:kdebase4");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:kdelibs4");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:kdepimlibs");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:qt4");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora:8");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2008/04/28");
      script_set_attribute(attribute:"patch_publication_date", value:"2008/04/29");
      script_set_attribute(attribute:"plugin_publication_date", value:"2008/05/01");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2008-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Fedora Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("rpm.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/RedHat/release");
    if (isnull(release) || "Fedora" >!< release) audit(AUDIT_OS_NOT, "Fedora");
    os_ver = eregmatch(pattern: "Fedora.*release ([0-9]+)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Fedora");
    os_ver = os_ver[1];
    if (! ereg(pattern:"^8([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Fedora 8.x", "Fedora " + os_ver);
    
    if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Fedora", cpu);
    
    flag = 0;
    if (rpm_check(release:"FC8", reference:"kde-filesystem-4-14.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"kdebase-runtime-4.0.3-10.fc8.1")) flag++;
    if (rpm_check(release:"FC8", reference:"kdebase4-4.0.3-9.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"kdelibs4-4.0.3-7.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"kdepimlibs-4.0.3-3.fc8")) flag++;
    if (rpm_check(release:"FC8", reference:"qt4-4.3.4-11.fc8")) flag++;
    
    
    if (flag)
    {
      if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get());
      else security_hole(0);
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "kde-filesystem / kdebase-runtime / kdebase4 / kdelibs4 / kdepimlibs / etc");
    }
    
  • NASL familySuSE Local Security Checks
    NASL idSUSE_KDELIBS4-5220.NASL
    descriptionA heap overflow in the PNG loader of KHTML has been fixed. CVE-2008-1670 has been assigned to this issue.
    last seen2020-06-01
    modified2020-06-02
    plugin id32180
    published2008-05-09
    reporterThis script is Copyright (C) 2008-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/32180
    titleopenSUSE 10 Security Update : kdelibs4 (kdelibs4-5220)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from openSUSE Security Update kdelibs4-5220.
    #
    # The text description of this plugin is (C) SUSE LLC.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(32180);
      script_version ("1.8");
      script_cvs_date("Date: 2019/10/25 13:36:32");
    
      script_cve_id("CVE-2008-1670");
    
      script_name(english:"openSUSE 10 Security Update : kdelibs4 (kdelibs4-5220)");
      script_summary(english:"Check for the kdelibs4-5220 patch");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote openSUSE host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "A heap overflow in the PNG loader of KHTML has been fixed.
    CVE-2008-1670 has been assigned to this issue."
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected kdelibs4 packages."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
      script_cwe_id(119);
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:kdelibs4");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:kdelibs4-core");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libkde4");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libkde4-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libkde4-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libkdecore4");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libkdecore4-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libkdecore4-devel");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:10.3");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2008/04/28");
      script_set_attribute(attribute:"plugin_publication_date", value:"2008/05/09");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2008-2019 Tenable Network Security, Inc.");
      script_family(english:"SuSE Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/SuSE/release", "Host/SuSE/rpm-list", "Host/cpu");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("rpm.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/SuSE/release");
    if (isnull(release) || release =~ "^(SLED|SLES)") audit(AUDIT_OS_NOT, "openSUSE");
    if (release !~ "^(SUSE10\.3)$") audit(AUDIT_OS_RELEASE_NOT, "openSUSE", "10.3", release);
    if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    ourarch = get_kb_item("Host/cpu");
    if (!ourarch) audit(AUDIT_UNKNOWN_ARCH);
    if (ourarch !~ "^(i586|i686|x86_64)$") audit(AUDIT_ARCH_NOT, "i586 / i686 / x86_64", ourarch);
    
    flag = 0;
    
    if ( rpm_check(release:"SUSE10.3", reference:"kdelibs4-3.93.0.svn712047-6.2") ) flag++;
    if ( rpm_check(release:"SUSE10.3", reference:"kdelibs4-core-3.93.0.svn712047-6.2") ) flag++;
    if ( rpm_check(release:"SUSE10.3", reference:"libkde4-3.93.0.svn712047-6.2") ) flag++;
    if ( rpm_check(release:"SUSE10.3", reference:"libkde4-devel-3.93.0.svn712047-6.2") ) flag++;
    if ( rpm_check(release:"SUSE10.3", reference:"libkdecore4-3.93.0.svn712047-6.2") ) flag++;
    if ( rpm_check(release:"SUSE10.3", reference:"libkdecore4-devel-3.93.0.svn712047-6.2") ) flag++;
    if ( rpm_check(release:"SUSE10.3", cpu:"x86_64", reference:"libkde4-32bit-3.93.0.svn712047-6.2") ) flag++;
    if ( rpm_check(release:"SUSE10.3", cpu:"x86_64", reference:"libkdecore4-32bit-3.93.0.svn712047-6.2") ) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get());
      else security_hole(0);
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "kdelibs4");
    }
    
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2008-3379.NASL
    description - Bug #443766 - CVE-2008-1670 kdelibs: Buffer overflow in KHTML
    last seen2020-06-01
    modified2020-06-02
    plugin id32101
    published2008-05-01
    reporterThis script is Copyright (C) 2008-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/32101
    titleFedora 7 : kde-filesystem-4-14.fc7 / kdebase-runtime-4.0.3-10.fc7.1 / kdebase4-4.0.3-9.fc7 / etc (2008-3379)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Fedora Security Advisory 2008-3379.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(32101);
      script_version ("1.14");
      script_cvs_date("Date: 2019/08/02 13:32:27");
    
      script_cve_id("CVE-2008-1670");
      script_xref(name:"FEDORA", value:"2008-3379");
    
      script_name(english:"Fedora 7 : kde-filesystem-4-14.fc7 / kdebase-runtime-4.0.3-10.fc7.1 / kdebase4-4.0.3-9.fc7 / etc (2008-3379)");
      script_summary(english:"Checks rpm output for the updated packages.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Fedora host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "  - 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."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.redhat.com/show_bug.cgi?id=443766"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2008-April/009613.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?9e2e39ba"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2008-April/009614.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?c788bb89"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2008-April/009615.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?f5a5742f"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2008-April/009616.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?286baf88"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2008-April/009617.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?c7e211e5"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2008-April/009618.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?5981ba14"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
      script_cwe_id(119);
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:kde-filesystem");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:kdebase-runtime");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:kdebase4");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:kdelibs4");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:kdepimlibs");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:qt4");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora:7");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2008/04/29");
      script_set_attribute(attribute:"plugin_publication_date", value:"2008/05/01");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2008-2019 Tenable Network Security, Inc.");
      script_family(english:"Fedora Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("rpm.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/RedHat/release");
    if (isnull(release) || "Fedora" >!< release) audit(AUDIT_OS_NOT, "Fedora");
    os_ver = eregmatch(pattern: "Fedora.*release ([0-9]+)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Fedora");
    os_ver = os_ver[1];
    if (! ereg(pattern:"^7([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Fedora 7.x", "Fedora " + os_ver);
    
    if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Fedora", cpu);
    
    flag = 0;
    if (rpm_check(release:"FC7", reference:"kde-filesystem-4-14.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"kdebase-runtime-4.0.3-10.fc7.1")) flag++;
    if (rpm_check(release:"FC7", reference:"kdebase4-4.0.3-9.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"kdelibs4-4.0.3-7.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"kdepimlibs-4.0.3-3.fc7")) flag++;
    if (rpm_check(release:"FC7", reference:"qt4-4.3.4-11.fc7")) flag++;
    
    
    if (flag)
    {
      if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get());
      else security_hole(0);
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "kde-filesystem / kdebase-runtime / kdebase4 / kdelibs4 / kdepimlibs / etc");
    }
    

Seebug

bulletinFamilyexploit
descriptionBUGTRAQ ID: 28937 CVE(CAN) ID: CVE-2008-1670 KDE是一个为UNIX工作站设计的强大的开源图形桌面环境。 KDE的KHTML中的PNG图形加载器存在堆溢出漏洞,如果用户访问了恶意网页并加载了特制的编码图形的话,就可能触发这个溢出,导致执行任意指令。 KDE 4.0 KDE --- 目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载: <a href=ftp://ftp.kde.org/pub/kde/security_patches target=_blank>ftp://ftp.kde.org/pub/kde/security_patches</a>
idSSV:3232
last seen2017-11-19
modified2008-04-29
published2008-04-29
reporterRoot
titleKDE KHTML PNGLoader堆溢出漏洞

Statements

contributorJoshua Bressers
lastmodified2008-05-01
organizationRed Hat
statementNot vulnerable. This issue did not affect versions of KDE as shipped with Red Hat Enterprise Linux 2.1, 3, 4, or 5.