Vulnerabilities > CVE-2010-2575 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in KDE SC

047910
CVSS 6.8 - MEDIUM
Attack vector
NETWORK
Attack complexity
MEDIUM
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
PARTIAL
Availability impact
PARTIAL
network
kde
CWE-119
nessus

Summary

Heap-based buffer overflow in the RLE decompression functionality in the TranscribePalmImageToJPEG function in generators/plucker/inplug/image.cpp in Okular in KDE SC 4.3.0 through 4.5.0 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted image in a PDB file.

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 familySuSE Local Security Checks
    NASL idSUSE_11_KDE4-GWENVIEW-100902.NASL
    descriptionThis update fixes a heap-based overflow in okular. The RLE decompression in the TranscribePalmImageToJPEG() function can be exploited to execute arbitrary code with user privileges by providing a crafted PDF file. (CVE-2010-2575)
    last seen2020-06-01
    modified2020-06-02
    plugin id50920
    published2010-12-02
    reporterThis script is Copyright (C) 2010-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/50920
    titleSuSE 11 Security Update : okular. (SAT Patch Number 3064)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from SuSE 11 update information. The text itself is
    # copyright (C) Novell, Inc.
    #
    
    if (NASL_LEVEL < 3000) exit(0);
    
    include("compat.inc");
    
    if (description)
    {
      script_id(50920);
      script_version("1.7");
      script_cvs_date("Date: 2019/10/25 13:36:39");
    
      script_cve_id("CVE-2010-2575");
    
      script_name(english:"SuSE 11 Security Update : okular. (SAT Patch Number 3064)");
      script_summary(english:"Checks rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote SuSE 11 host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "This update fixes a heap-based overflow in okular. The RLE
    decompression in the TranscribePalmImageToJPEG() function can be
    exploited to execute arbitrary code with user privileges by providing
    a crafted PDF file. (CVE-2010-2575)"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.novell.com/show_bug.cgi?id=634743"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"http://support.novell.com/security/cve/CVE-2010-2575.html"
      );
      script_set_attribute(attribute:"solution", value:"Apply SAT patch number 3064.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:kde4-gwenview");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:kde4-kcolorchooser");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:kde4-kgamma");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:kde4-kio_kamera");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:kde4-kruler");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:kde4-ksnapshot");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:kde4-okular");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:libkipi5");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:libksane0");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:suse_linux:11");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2010/09/02");
      script_set_attribute(attribute:"plugin_publication_date", value:"2010/12/02");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2010-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/cpu", "Host/SuSE/release", "Host/SuSE/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/SuSE/release");
    if (isnull(release) || release !~ "^(SLED|SLES)11") audit(AUDIT_OS_NOT, "SuSE 11");
    if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if (cpu !~ "^i[3-6]86$" && "x86_64" >!< cpu && "s390x" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "SuSE 11", cpu);
    
    pl = get_kb_item("Host/SuSE/patchlevel");
    if (pl) audit(AUDIT_OS_NOT, "SuSE 11.0");
    
    
    flag = 0;
    if (rpm_check(release:"SLED11", sp:0, cpu:"i586", reference:"kde4-gwenview-4.1.3-7.17.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"i586", reference:"kde4-kcolorchooser-4.1.3-7.17.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"i586", reference:"kde4-kgamma-4.1.3-7.17.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"i586", reference:"kde4-kio_kamera-4.1.3-7.17.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"i586", reference:"kde4-kruler-4.1.3-7.17.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"i586", reference:"kde4-ksnapshot-4.1.3-7.17.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"i586", reference:"kde4-okular-4.1.3-7.17.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"i586", reference:"libkipi5-4.1.3-7.17.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"i586", reference:"libksane0-4.1.3-7.17.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"x86_64", reference:"kde4-gwenview-4.1.3-7.17.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"x86_64", reference:"kde4-kcolorchooser-4.1.3-7.17.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"x86_64", reference:"kde4-kgamma-4.1.3-7.17.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"x86_64", reference:"kde4-kio_kamera-4.1.3-7.17.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"x86_64", reference:"kde4-kruler-4.1.3-7.17.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"x86_64", reference:"kde4-ksnapshot-4.1.3-7.17.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"x86_64", reference:"kde4-okular-4.1.3-7.17.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"x86_64", reference:"libkipi5-4.1.3-7.17.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"x86_64", reference:"libksane0-4.1.3-7.17.1")) flag++;
    if (rpm_check(release:"SLES11", sp:0, reference:"kde4-gwenview-4.1.3-7.17.1")) flag++;
    if (rpm_check(release:"SLES11", sp:0, reference:"kde4-kcolorchooser-4.1.3-7.17.1")) flag++;
    if (rpm_check(release:"SLES11", sp:0, reference:"kde4-kruler-4.1.3-7.17.1")) flag++;
    if (rpm_check(release:"SLES11", sp:0, reference:"kde4-ksnapshot-4.1.3-7.17.1")) flag++;
    if (rpm_check(release:"SLES11", sp:0, reference:"kde4-okular-4.1.3-7.17.1")) flag++;
    if (rpm_check(release:"SLES11", sp:0, reference:"libkipi5-4.1.3-7.17.1")) flag++;
    
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get());
      else security_warning(0);
      exit(0);
    }
    else audit(AUDIT_HOST_NOT, "affected");
    
  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_1_GWENVIEW-100906.NASL
    descriptionThis update fixes a heap-based overflow in okular. The RLE decompression in the TranscribePalmImageToJPEG() function can be exploited to execute arbitrary code with user privileges by providing a crafted PDF file. (CVE-2010-2575).
    last seen2020-06-01
    modified2020-06-02
    plugin id49754
    published2010-10-06
    reporterThis script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/49754
    titleopenSUSE Security Update : gwenview (openSUSE-SU-2010:0691-1)
    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 gwenview-3080.
    #
    # The text description of this plugin is (C) SUSE LLC.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(49754);
      script_version("1.6");
      script_cvs_date("Date: 2019/10/25 13:36:38");
    
      script_cve_id("CVE-2010-2575");
    
      script_name(english:"openSUSE Security Update : gwenview (openSUSE-SU-2010:0691-1)");
      script_summary(english:"Check for the gwenview-3080 patch");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote openSUSE host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "This update fixes a heap-based overflow in okular. The RLE
    decompression in the TranscribePalmImageToJPEG() function can be
    exploited to execute arbitrary code with user privileges by providing
    a crafted PDF file. (CVE-2010-2575)."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.novell.com/show_bug.cgi?id=634743"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://lists.opensuse.org/opensuse-updates/2010-10/msg00000.html"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected gwenview packages."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:gwenview");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:gwenview-lang");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:kde4-gwenview");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:kde4-kcolorchooser");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:kde4-kgamma");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:kde4-kio_kamera");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:kde4-kolourpaint");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:kde4-kruler");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:kde4-ksnapshot");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:kde4-okular");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:kde4-okular-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:kdegraphics4");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libkdcraw7");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libkdcraw7-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libkexiv2-7");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libkexiv2-7-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libkipi-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libkipi5");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libkipi5-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libksane0");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:11.1");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2010/09/06");
      script_set_attribute(attribute:"plugin_publication_date", value:"2010/10/06");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      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 !~ "^(SUSE11\.1)$") audit(AUDIT_OS_RELEASE_NOT, "openSUSE", "11.1", 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:"SUSE11.1", reference:"gwenview-1.4.2-116.50.1") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"gwenview-lang-1.4.2-116.50.1") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"kde4-gwenview-4.1.3-4.8.2") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"kde4-kcolorchooser-4.1.3-4.8.2") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"kde4-kgamma-4.1.3-4.8.2") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"kde4-kio_kamera-4.1.3-4.8.2") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"kde4-kolourpaint-4.1.3-4.8.2") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"kde4-kruler-4.1.3-4.8.2") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"kde4-ksnapshot-4.1.3-4.8.2") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"kde4-okular-4.1.3-4.8.2") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"kde4-okular-devel-4.1.3-4.8.2") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"kdegraphics4-4.1.3-4.8.2") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"libkdcraw7-4.1.3-4.8.2") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"libkdcraw7-devel-4.1.3-4.8.2") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"libkexiv2-7-4.1.3-4.8.2") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"libkexiv2-7-devel-4.1.3-4.8.2") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"libkipi-devel-0.1.6-1.64.1") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"libkipi5-4.1.3-4.8.2") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"libkipi5-devel-4.1.3-4.8.2") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"libksane0-4.1.3-4.8.2") ) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get());
      else security_warning(0);
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "gwenview / gwenview-lang / kde4-gwenview / kde4-kcolorchooser / etc");
    }
    
  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_GWENVIEW-100902.NASL
    descriptionThis update fixes a heap-based overflow in okular. The RLE decompression in the TranscribePalmImageToJPEG() function can be exploited to execute arbitrary code with user privileges by providing a crafted PDF file. (CVE-2010-2575)
    last seen2020-06-01
    modified2020-06-02
    plugin id51602
    published2011-01-21
    reporterThis script is Copyright (C) 2011-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/51602
    titleSuSE 11.1 Security Update : okular (SAT Patch Number 3062)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from SuSE 11 update information. The text itself is
    # copyright (C) Novell, Inc.
    #
    
    if (NASL_LEVEL < 3000) exit(0);
    
    include("compat.inc");
    
    if (description)
    {
      script_id(51602);
      script_version("1.6");
      script_cvs_date("Date: 2019/10/25 13:36:39");
    
      script_cve_id("CVE-2010-2575");
    
      script_name(english:"SuSE 11.1 Security Update : okular (SAT Patch Number 3062)");
      script_summary(english:"Checks rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote SuSE 11 host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "This update fixes a heap-based overflow in okular. The RLE
    decompression in the TranscribePalmImageToJPEG() function can be
    exploited to execute arbitrary code with user privileges by providing
    a crafted PDF file. (CVE-2010-2575)"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.novell.com/show_bug.cgi?id=634743"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"http://support.novell.com/security/cve/CVE-2010-2575.html"
      );
      script_set_attribute(attribute:"solution", value:"Apply SAT patch number 3062.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:gwenview");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:kcolorchooser");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:kdegraphics4");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:kgamma");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:kio_kamera");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:kruler");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:ksnapshot");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:libkdcraw7");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:libkexiv2-7");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:libkipi6");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:libksane0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:okular");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:suse_linux:11");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2010/09/02");
      script_set_attribute(attribute:"plugin_publication_date", value:"2011/01/21");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2011-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/cpu", "Host/SuSE/release", "Host/SuSE/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/SuSE/release");
    if (isnull(release) || release !~ "^(SLED|SLES)11") audit(AUDIT_OS_NOT, "SuSE 11");
    if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if (cpu !~ "^i[3-6]86$" && "x86_64" >!< cpu && "s390x" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "SuSE 11", cpu);
    
    pl = get_kb_item("Host/SuSE/patchlevel");
    if (isnull(pl) || int(pl) != 1) audit(AUDIT_OS_NOT, "SuSE 11.1");
    
    
    flag = 0;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"gwenview-4.3.5-0.2.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"kcolorchooser-4.3.5-0.2.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"kdegraphics4-4.3.5-0.2.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"kgamma-4.3.5-0.2.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"kio_kamera-4.3.5-0.2.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"kruler-4.3.5-0.2.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"ksnapshot-4.3.5-0.2.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"libkdcraw7-4.3.5-0.2.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"libkexiv2-7-4.3.5-0.2.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"libkipi6-4.3.5-0.2.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"libksane0-4.3.5-0.2.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"okular-4.3.5-0.2.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"gwenview-4.3.5-0.2.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"kcolorchooser-4.3.5-0.2.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"kdegraphics4-4.3.5-0.2.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"kgamma-4.3.5-0.2.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"kio_kamera-4.3.5-0.2.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"kruler-4.3.5-0.2.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"ksnapshot-4.3.5-0.2.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"libkdcraw7-4.3.5-0.2.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"libkexiv2-7-4.3.5-0.2.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"libkipi6-4.3.5-0.2.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"libksane0-4.3.5-0.2.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"okular-4.3.5-0.2.1")) flag++;
    if (rpm_check(release:"SLES11", sp:1, reference:"gwenview-4.3.5-0.2.1")) flag++;
    if (rpm_check(release:"SLES11", sp:1, reference:"kcolorchooser-4.3.5-0.2.1")) flag++;
    if (rpm_check(release:"SLES11", sp:1, reference:"kruler-4.3.5-0.2.1")) flag++;
    if (rpm_check(release:"SLES11", sp:1, reference:"ksnapshot-4.3.5-0.2.1")) flag++;
    if (rpm_check(release:"SLES11", sp:1, reference:"libkexiv2-7-4.3.5-0.2.1")) flag++;
    if (rpm_check(release:"SLES11", sp:1, reference:"libkipi6-4.3.5-0.2.1")) flag++;
    if (rpm_check(release:"SLES11", sp:1, reference:"okular-4.3.5-0.2.1")) flag++;
    
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get());
      else security_warning(0);
      exit(0);
    }
    else audit(AUDIT_HOST_NOT, "affected");
    
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2010-13589.NASL
    descriptionCVE-2010-2575, Okular PDB Processing Memory Corruption Vulnerability. For more infos please take a look at the http://www.kde.org/info/security/advisory-20100825-1.txt 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 seen2020-06-01
    modified2020-06-02
    plugin id48748
    published2010-08-26
    reporterThis script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/48748
    titleFedora 14 : kdegraphics-4.5.0-2.fc14 (2010-13589)
    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 2010-13589.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(48748);
      script_version("1.12");
      script_cvs_date("Date: 2019/08/02 13:32:31");
    
      script_cve_id("CVE-2010-2575");
      script_bugtraq_id(42702);
      script_xref(name:"FEDORA", value:"2010-13589");
    
      script_name(english:"Fedora 14 : kdegraphics-4.5.0-2.fc14 (2010-13589)");
      script_summary(english:"Checks rpm output for the updated package.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Fedora host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "CVE-2010-2575, Okular PDB Processing Memory Corruption Vulnerability.
    For more infos please take a look at the
    http://www.kde.org/info/security/advisory-20100825-1.txt
    
    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."
      );
      # http://www.kde.org/info/security/advisory-20100825-1.txt
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.kde.org/info/security/advisory-20100825-1.txt"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.redhat.com/show_bug.cgi?id=627289"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2010-August/046448.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?5c7e890a"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected kdegraphics package."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:ND/RL:OF/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"false");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:kdegraphics");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora:14");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2010/08/26");
      script_set_attribute(attribute:"plugin_publication_date", value:"2010/08/26");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2010-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:"^14([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Fedora 14.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:"FC14", reference:"kdegraphics-4.5.0-2.fc14")) flag++;
    
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get());
      else security_warning(0);
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "kdegraphics");
    }
    
  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_3_GWENVIEW-100902.NASL
    descriptionThis update fixes a heap-based overflow in okular. The RLE decompression in the TranscribePalmImageToJPEG() function can be exploited to execute arbitrary code with user privileges by providing a crafted PDF file. (CVE-2010-2575).
    last seen2020-06-01
    modified2020-06-02
    plugin id75524
    published2014-06-13
    reporterThis script is Copyright (C) 2014-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/75524
    titleopenSUSE Security Update : gwenview (openSUSE-SU-2010:0691-1)
  • NASL familyGentoo Local Security Checks
    NASL idGENTOO_GLSA-201311-20.NASL
    descriptionThe remote host is affected by the vulnerability described in GLSA-201311-20 (Okular: Arbitrary code execution) Okular contains a heap-based buffer overflow in the RLE decompression functionality in the TranscribePalmImageToJPEG function in generators/plucker/inplug/image.cpp. Impact : A remote attacker could entice a user to open a specially crafted PBD file using Okular, possibly resulting in execution of arbitrary code with the privileges of the process, or a Denial of Service condition. Workaround : There is no known workaround at this time.
    last seen2020-06-01
    modified2020-06-02
    plugin id71122
    published2013-11-29
    reporterThis script is Copyright (C) 2013-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/71122
    titleGLSA-201311-20 : Okular: Arbitrary code execution
  • NASL familySlackware Local Security Checks
    NASL idSLACKWARE_SSA_2010-240-03.NASL
    descriptionNew kdegraphics packages are available for Slackware 13.1 to fix a security issue in the okular document viewer.
    last seen2020-06-01
    modified2020-06-02
    plugin id54885
    published2011-05-28
    reporterThis script is Copyright (C) 2011-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/54885
    titleSlackware 13.1 : kdegraphics (SSA:2010-240-03)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_2_GWENVIEW-100901.NASL
    descriptionThis update fixes a heap-based overflow in okular. The RLE decompression in the TranscribePalmImageToJPEG() function can be exploited to execute arbitrary code with user privileges by providing a crafted PDF file. (CVE-2010-2575).
    last seen2020-06-01
    modified2020-06-02
    plugin id49756
    published2010-10-06
    reporterThis script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/49756
    titleopenSUSE Security Update : gwenview (openSUSE-SU-2010:0691-1)
  • NASL familyUbuntu Local Security Checks
    NASL idUBUNTU_USN-979-1.NASL
    descriptionStefan Cornelius of Secunia Research discovered a boundary error during RLE decompression in the
    last seen2020-06-01
    modified2020-06-02
    plugin id48905
    published2010-08-27
    reporterUbuntu Security Notice (C) 2010-2019 Canonical, Inc. / NASL script (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/48905
    titleUbuntu 9.04 / 9.10 / 10.04 LTS : kdegraphics vulnerability (USN-979-1)
  • NASL familyMandriva Local Security Checks
    NASL idMANDRIVA_MDVSA-2010-162.NASL
    descriptionA vulnerability has been found and corrected in okular (kdegraphics) : A specially crafted PDF or PS file could cause okular to crash or execute arbitrary code (CVE-2010-2575). The updated packages have been patched to correct this issue.
    last seen2020-06-01
    modified2020-06-02
    plugin id48898
    published2010-08-27
    reporterThis script is Copyright (C) 2010-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/48898
    titleMandriva Linux Security Advisory : kdegraphics4 (MDVSA-2010:162)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2010-13661.NASL
    descriptionCVE-2010-2575, Okular PDB Processing Memory Corruption Vulnerability. For more infos please take a look at the http://www.kde.org/info/security/advisory-20100825-1.txt 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 seen2020-06-01
    modified2020-06-02
    plugin id48916
    published2010-08-29
    reporterThis script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/48916
    titleFedora 12 : kdegraphics-4.4.5-3.fc12 (2010-13661)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2010-13629.NASL
    descriptionCVE-2010-2575, Okular PDB Processing Memory Corruption Vulnerability. For more infos please take a look at the http://www.kde.org/info/security/advisory-20100825-1.txt 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 seen2020-06-01
    modified2020-06-02
    plugin id48915
    published2010-08-29
    reporterThis script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/48915
    titleFedora 13 : kdegraphics-4.4.5-3.fc13 (2010-13629)