RHEL 3 / 4 / 5 : acroread (RHSA-2008:0974) - Nessus

High   Plugin ID: 40730

This page contains detailed information about the RHEL 3 / 4 / 5 : acroread (RHSA-2008:0974) Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 40730
Name: RHEL 3 / 4 / 5 : acroread (RHSA-2008:0974)
Filename: redhat-RHSA-2008-0974.nasl
Vulnerability Published: 2008-06-04
This Plugin Published: 2009-08-24
Last Modification Time: 2022-03-28
Plugin Version: 1.36
Plugin Type: local
Plugin Family: Red Hat Local Security Checks
Dependencies: ssh_get_info.nasl
Required KB Items [?]: Host/cpu, Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list

Vulnerability Information


Severity: High
Vulnerability Published: 2008-06-04
Patch Published: 2008-11-12
CVE [?]: CVE-2008-2549, CVE-2008-2992, CVE-2008-4812, CVE-2008-4813, CVE-2008-4814, CVE-2008-4815, CVE-2008-4817, CVE-2009-0927
CPE [?]: cpe:/o:redhat:enterprise_linux:3, cpe:/o:redhat:enterprise_linux:4, cpe:/o:redhat:enterprise_linux:4.7, cpe:/o:redhat:enterprise_linux:5, cpe:/o:redhat:enterprise_linux:5.2, p-cpe:/a:redhat:enterprise_linux:acroread, p-cpe:/a:redhat:enterprise_linux:acroread-plugin
Exploited by Malware: True

Synopsis

The remote Red Hat host is missing one or more security updates.

Description

Updated acroread packages that fix various security issues are now available for Red Hat Enterprise Linux 3 Extras, Red Hat Enterprise Linux 4 Extras, and Red Hat Enterprise Linux 5 Supplementary.

This update has been rated as having critical security impact by the Red Hat Security Response Team.

Adobe Reader allows users to view and print documents in Portable Document Format (PDF).

Several input validation flaws were discovered in Adobe Reader. A malicious PDF file could cause Adobe Reader to crash or, potentially, execute arbitrary code as the user running Adobe Reader. (CVE-2008-2549, CVE-2008-2992, CVE-2008-4812, CVE-2008-4813, CVE-2008-4814, CVE-2008-4817)

The Adobe Reader binary had an insecure relative RPATH (runtime library search path) set in the ELF (Executable and Linking Format) header. A local attacker able to convince another user to run Adobe Reader in an attacker-controlled directory could run arbitrary code with the privileges of the victim. (CVE-2008-4815)

All acroread users are advised to upgrade to these updated packages, that contain Adobe Reader version 8.1.3, and are not vulnerable to these issues.

Solution

Update the affected acroread and / or acroread-plugin packages.

Public Exploits


Target Network Port(s): N/A
Target Asset(s): N/A
Exploit Available: True (Metasploit Framework, Exploit-DB, GitHub, Immunity Canvas, Core Impact)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the RHEL 3 / 4 / 5 : acroread (RHSA-2008:0974) vulnerability:

  1. Metasploit: exploit/windows/browser/adobe_geticon
    [Adobe Collab.getIcon() Buffer Overflow]
  2. Metasploit: exploit/windows/fileformat/adobe_geticon
    [Adobe Collab.getIcon() Buffer Overflow]
  3. Metasploit: exploit/windows/browser/adobe_utilprintf
    [Adobe util.printf() Buffer Overflow]
  4. Metasploit: exploit/windows/fileformat/adobe_utilprintf
    [Adobe util.printf() Buffer Overflow]
  5. Exploit-DB: exploits/windows/local/7006.txt
    [EDB-7006: Adobe Reader - 'util.printf()' JavaScript Function Stack Overflow (2)]
  6. Exploit-DB: exploits/windows/local/9579.py
    [EDB-9579: Adobe Acrobat/Reader < 7.1.1/8.1.3/9.1 - Collab getIcon Universal]
  7. Exploit-DB: exploits/windows/local/16504.rb
    [EDB-16504: Adobe - 'util.printf()' Local Buffer Overflow (Metasploit) (1)]
  8. Exploit-DB: exploits/windows/local/16606.rb
    [EDB-16606: Adobe - 'Collab.getIcon()' Local Buffer Overflow (Metasploit) (1)]
  9. Exploit-DB: exploits/windows/local/16624.rb
    [EDB-16624: Adobe - 'util.printf()' Local Buffer Overflow (Metasploit) (2)]
  10. Exploit-DB: exploits/windows/local/16681.rb
    [EDB-16681: Adobe - 'Collab.getIcon()' Local Buffer Overflow (Metasploit) (2)]
  11. GitHub: https://github.com/kenjiaiko/binarybook
    [CVE-2009-0927]
  12. GitHub: https://github.com/offensive-security/exploitdb-bin-sploits/blob/master/bin-sploits/9579.zip
    [EDB-9579]
  13. Immunity Canvas: CANVAS

Before running any exploit against any system, make sure you are authorized by the owner of the target system(s) to perform such activity. In any other case, this would be considered as an illegal activity.

WARNING: Beware of using unverified exploits from sources such as GitHub or Exploit-DB. These exploits and PoCs could contain malware. For more information, see how to use exploits safely.

Risk Information


CVSS Score Source [?]: CVE-2009-0927
CVSS V2 Vector: AV:N/AC:M/Au:N/C:C/I:C/A:C/E:H/RL:OF/RC:C
CVSS Base Score:9.3 (High)
Impact Subscore:10.0
Exploitability Subscore:8.6
CVSS Temporal Score:8.1 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:8.1 (High)

Go back to menu.

Plugin Source


This is the redhat-RHSA-2008-0974.nasl nessus plugin source code. This script is Copyright (C) 2009-2022 and is owned by Tenable, Inc. or an Affiliate thereof.

#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
# The descriptive text and package checks in this plugin were  
# extracted from Red Hat Security Advisory RHSA-2008:0974. The text 
# itself is copyright (C) Red Hat, Inc.
#

include('deprecated_nasl_level.inc');
include('compat.inc');

if (description)
{
  script_id(40730);
  script_version("1.36");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/03/28");

  script_cve_id(
    "CVE-2008-2549",
    "CVE-2008-2992",
    "CVE-2008-4812",
    "CVE-2008-4813",
    "CVE-2008-4814",
    "CVE-2008-4815",
    "CVE-2008-4817",
    "CVE-2009-0927"
  );
  script_bugtraq_id(29420, 32100, 32105);
  script_xref(name:"RHSA", value:"2008:0974");
  script_xref(name:"TRA", value:"TRA-2009-01");
  script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2022/03/24");
  script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2022/04/15");

  script_name(english:"RHEL 3 / 4 / 5 : acroread (RHSA-2008:0974)");

  script_set_attribute(attribute:"synopsis", value:
"The remote Red Hat host is missing one or more security updates.");
  script_set_attribute(attribute:"description", value:
"Updated acroread packages that fix various security issues are now
available for Red Hat Enterprise Linux 3 Extras, Red Hat Enterprise
Linux 4 Extras, and Red Hat Enterprise Linux 5 Supplementary.

This update has been rated as having critical security impact by the
Red Hat Security Response Team.

Adobe Reader allows users to view and print documents in Portable
Document Format (PDF).

Several input validation flaws were discovered in Adobe Reader. A
malicious PDF file could cause Adobe Reader to crash or, potentially,
execute arbitrary code as the user running Adobe Reader.
(CVE-2008-2549, CVE-2008-2992, CVE-2008-4812, CVE-2008-4813,
CVE-2008-4814, CVE-2008-4817)

The Adobe Reader binary had an insecure relative RPATH (runtime
library search path) set in the ELF (Executable and Linking Format)
header. A local attacker able to convince another user to run Adobe
Reader in an attacker-controlled directory could run arbitrary code
with the privileges of the victim. (CVE-2008-4815)

All acroread users are advised to upgrade to these updated packages,
that contain Adobe Reader version 8.1.3, and are not vulnerable to
these issues.");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/security/cve/cve-2008-2549");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/security/cve/cve-2008-2992");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/security/cve/cve-2008-4812");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/security/cve/cve-2008-4813");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/security/cve/cve-2008-4814");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/security/cve/cve-2008-4815");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/security/cve/cve-2008-4817");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/security/cve/cve-2009-0927");
  script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2008:0974");
  script_set_attribute(attribute:"see_also", value:"https://www.tenable.com/security/research/tra-2009-01");
  script_set_attribute(attribute:"solution", value:
"Update the affected acroread and / or acroread-plugin packages.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:H/RL:OF/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2009-0927");

  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_set_attribute(attribute:"exploit_framework_core", value:"true");
  script_set_attribute(attribute:"exploited_by_malware", value:"true");
  script_set_attribute(attribute:"metasploit_name", value:'Adobe Collab.getIcon() Buffer Overflow');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
  script_set_attribute(attribute:"exploit_framework_canvas", value:"true");
  script_set_attribute(attribute:"canvas_package", value:"CANVAS");
  script_cwe_id(20, 119, 264, 399);

  script_set_attribute(attribute:"vuln_publication_date", value:"2008/06/04");
  script_set_attribute(attribute:"patch_publication_date", value:"2008/11/12");
  script_set_attribute(attribute:"plugin_publication_date", value:"2009/08/24");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:acroread");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:acroread-plugin");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:3");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:4");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:4.7");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:5");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:5.2");
  script_set_attribute(attribute:"generated_plugin", value:"current");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Red Hat Local Security Checks");

  script_copyright(english:"This script is Copyright (C) 2009-2022 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("ssh_get_info.nasl");
  script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list", "Host/cpu");

  exit(0);
}


include("audit.inc");
include("global_settings.inc");
include("misc_func.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) || "Red Hat" >!< release) audit(AUDIT_OS_NOT, "Red Hat");
os_ver = pregmatch(pattern: "Red Hat Enterprise Linux.*release ([0-9]+(\.[0-9]+)?)", string:release);
if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Red Hat");
os_ver = os_ver[1];
if (! preg(pattern:"^(3|4|5)([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Red Hat 3.x / 4.x / 5.x", "Red Hat " + 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$" && "s390" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Red Hat", cpu);
if (cpu !~ "^i[3-6]86$") audit(AUDIT_ARCH_NOT, "i386", cpu);

yum_updateinfo = get_kb_item("Host/RedHat/yum-updateinfo");
if (!empty_or_null(yum_updateinfo)) 
{
  rhsa = "RHSA-2008:0974";
  yum_report = redhat_generate_yum_updateinfo_report(rhsa:rhsa);
  if (!empty_or_null(yum_report))
  {
    security_report_v4(
      port       : 0,
      severity   : SECURITY_HOLE,
      extra      : yum_report 
    );
    exit(0);
  }
  else
  {
    audit_message = "affected by Red Hat security advisory " + rhsa;
    audit(AUDIT_OS_NOT, audit_message);
  }
}
else
{
  flag = 0;
  if (rpm_check(release:"RHEL3", cpu:"i386", reference:"acroread-8.1.3-1")) flag++;

  if (rpm_check(release:"RHEL3", cpu:"i386", reference:"acroread-plugin-8.1.3-1")) flag++;


  if (rpm_check(release:"RHEL4", cpu:"i386", reference:"acroread-8.1.3-1.el4")) flag++;

  if (rpm_check(release:"RHEL4", cpu:"i386", reference:"acroread-plugin-8.1.3-1.el4")) flag++;


  if (rpm_check(release:"RHEL5", cpu:"i386", reference:"acroread-8.1.3-1.el5")) flag++;

  if (rpm_check(release:"RHEL5", cpu:"i386", reference:"acroread-plugin-8.1.3-1.el5")) flag++;


  if (flag)
  {
    security_report_v4(
      port       : 0,
      severity   : SECURITY_HOLE,
      extra      : rpm_report_get() + redhat_report_package_caveat()
    );
    exit(0);
  }
  else
  {
    tested = pkg_tests_get();
    if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
    else audit(AUDIT_PACKAGE_NOT_INSTALLED, "acroread / acroread-plugin");
  }
}

The latest version of this script can be found in these locations depending on your platform:

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/redhat-RHSA-2008-0974.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\redhat-RHSA-2008-0974.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/redhat-RHSA-2008-0974.nasl

Go back to menu.

How to Run


Here is how to run the RHEL 3 / 4 / 5 : acroread (RHSA-2008:0974) as a standalone plugin via the Nessus web user interface (https://localhost:8834/):

  1. Click to start a New Scan.
  2. Select Advanced Scan.
  3. Navigate to the Plugins tab.
  4. On the top right corner click to Disable All plugins.
  5. On the left side table select Red Hat Local Security Checks plugin family.
  6. On the right side table select RHEL 3 / 4 / 5 : acroread (RHSA-2008:0974) plugin ID 40730.
  7. Specify the target on the Settings tab and click to Save the scan.
  8. Run the scan.

Here are a few examples of how to run the plugin in the command line. Note that the examples below demonstrate the usage on the Linux / Unix platform.

Basic usage:

/opt/nessus/bin/nasl redhat-RHSA-2008-0974.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a redhat-RHSA-2008-0974.nasl -t <IP/HOST>

Run the plugin with trace script execution written to the console (useful for debugging):

/opt/nessus/bin/nasl -T - redhat-RHSA-2008-0974.nasl -t <IP/HOST>

Run the plugin with using a state file for the target and updating it (useful for running multiple plugins on the target):

/opt/nessus/bin/nasl -K /tmp/state redhat-RHSA-2008-0974.nasl -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: RHSA | Red Hat Security Advisory: TRA | Tenable Research Advisory: CWE | Common Weakness Enumeration:
  • CWE-20 (Weakness) Improper Input Validation
  • CWE-119 (Weakness) Improper Restriction of Operations within the Bounds of a Memory Buffer
  • CWE-264 (Category) Permissions, Privileges, and Access Controls
  • CWE-399 (Category) Resource Management Errors
See also: Similar and related Nessus plugins:
  • 40802 - Adobe Acrobat < 8.1.3 Multiple Vulnerabilities
  • 40803 - Adobe Acrobat < 9.1 / 8.1.4 / 7.1.1 Multiple Vulnerabilities
  • 34695 - Adobe Reader < 8.1.3 / 9.0 Multiple Vulnerabilities
  • 35821 - Adobe Reader < 9.1 / 8.1.4 / 7.1.1 Multiple Vulnerabilities
  • 35367 - GLSA-200901-09 : Adobe Reader: User-assisted execution of arbitrary code
  • 36196 - GLSA-200904-17 : Adobe Reader: User-assisted execution of arbitrary code
  • 39905 - openSUSE Security Update : acroread (acroread-295)
  • 39906 - openSUSE Security Update : acroread (acroread-689)
  • 40182 - openSUSE Security Update : acroread (acroread-689)
  • 41362 - SuSE 11 Security Update : Acrobat Reader (SAT Patch Number 690)
  • 41365 - SuSE 11 Security Update : acroread_ja (SAT Patch Number 769)
  • 34942 - SuSE 10 Security Update : Acrobat Reader (ZYPP Patch Number 5746)
  • 34943 - openSUSE 10 Security Update : acroread (acroread-5749)
  • 36033 - openSUSE 10 Security Update : acroread (acroread-6120)
  • 51690 - SuSE 10 Security Update : Acrobat Reader (ZYPP Patch Number 6121)
  • 51705 - SuSE 10 Security Update : acroread_ja (ZYPP Patch Number 6161)

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file redhat-RHSA-2008-0974.nasl version 1.36. For more plugins, visit the Nessus Plugin Library.

Go back to menu.