Vulnerabilities > CVE-2012-1106 - Permissions, Privileges, and Access Controls vulnerability in Redhat Automatic BUG Reporting Tool

047910
CVSS 1.9 - LOW
Attack vector
LOCAL
Attack complexity
MEDIUM
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
NONE
Availability impact
NONE
local
redhat
CWE-264
nessus

Summary

The C handler plug-in in Automatic Bug Reporting Tool (ABRT), possibly 2.0.8 and earlier, does not properly set the group (GID) permissions on core dump files for setuid programs when the sysctl fs.suid_dumpable option is set to 2, which allows local users to obtain sensitive information.

Vulnerable Configurations

Part Description Count
Application
Redhat
51

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Accessing, Modifying or Executing Executable Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
  • Blue Boxing
    This type of attack against older telephone switches and trunks has been around for decades. A tone is sent by an adversary to impersonate a supervisor signal which has the effect of rerouting or usurping command of the line. While the US infrastructure proper may not contain widespread vulnerabilities to this type of attack, many companies are connected globally through call centers and business process outsourcing. These international systems may be operated in countries which have not upgraded Telco infrastructure and so are vulnerable to Blue boxing. Blue boxing is a result of failure on the part of the system to enforce strong authorization for administrative functions. While the infrastructure is different than standard current applications like web applications, there are historical lessons to be learned to upgrade the access control for administrative functions.
  • Restful Privilege Elevation
    Rest uses standard HTTP (Get, Put, Delete) style permissions methods, but these are not necessarily correlated generally with back end programs. Strict interpretation of HTTP get methods means that these HTTP Get services should not be used to delete information on the server, but there is no access control mechanism to back up this logic. This means that unless the services are properly ACL'd and the application's service implementation are following these guidelines then an HTTP request can easily execute a delete or update on the server side. The attacker identifies a HTTP Get URL such as http://victimsite/updateOrder, which calls out to a program to update orders on a database or other resource. The URL is not idempotent so the request can be submitted multiple times by the attacker, additionally, the attacker may be able to exploit the URL published as a Get method that actually performs updates (instead of merely retrieving data). This may result in malicious or inadvertent altering of data on the server.
  • Target Programs with Elevated Privileges
    This attack targets programs running with elevated privileges. The attacker would try to leverage a bug in the running program and get arbitrary code to execute with elevated privileges. For instance an attacker would look for programs that write to the system directories or registry keys (such as HKLM, which stores a number of critical Windows environment variables). These programs are typically running with elevated privileges and have usually not been designed with security in mind. Such programs are excellent exploit targets because they yield lots of power when they break. The malicious user try to execute its code at the same level as a privileged system call.

Nessus

  • NASL familyOracle Linux Local Security Checks
    NASL idORACLELINUX_ELSA-2012-0841.NASL
    descriptionFrom Red Hat Security Advisory 2012:0841 : Updated abrt, libreport, btparser, and python-meh packages that fix two security issues and several bugs are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having low security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. ABRT (Automatic Bug Reporting Tool) is a tool to help users to detect defects in applications and to create a bug report with all the information needed by a maintainer to fix it. It uses a plug-in system to extend its functionality. libreport provides an API for reporting different problems in applications to different bug targets, such as Bugzilla, FTP, and Trac. The btparser utility is a backtrace parser and analyzer library, which works with backtraces produced by the GNU Project Debugger. It can parse a text file with a backtrace to a tree of C structures, allowing to analyze the threads and frames of the backtrace and process them. The python-meh package provides a python library for handling exceptions. If the C handler plug-in in ABRT was enabled (the abrt-addon-ccpp package installed and the abrt-ccpp service running), and the sysctl fs.suid_dumpable option was set to
    last seen2020-06-01
    modified2020-06-02
    plugin id68553
    published2013-07-12
    reporterThis script is Copyright (C) 2013-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/68553
    titleOracle Linux 6 : abrt / btparser / libreport / python-meh (ELSA-2012-0841)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from Red Hat Security Advisory RHSA-2012:0841 and 
    # Oracle Linux Security Advisory ELSA-2012-0841 respectively.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(68553);
      script_version("1.5");
      script_cvs_date("Date: 2020/02/06");
    
      script_cve_id("CVE-2011-4088", "CVE-2012-1106");
      script_bugtraq_id(51100, 54121);
      script_xref(name:"RHSA", value:"2012:0841");
    
      script_name(english:"Oracle Linux 6 : abrt / btparser / libreport / python-meh (ELSA-2012-0841)");
      script_summary(english:"Checks rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Oracle Linux host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "From Red Hat Security Advisory 2012:0841 :
    
    Updated abrt, libreport, btparser, and python-meh packages that fix
    two security issues and several bugs are now available for Red Hat
    Enterprise Linux 6.
    
    The Red Hat Security Response Team has rated this update as having low
    security impact. Common Vulnerability Scoring System (CVSS) base
    scores, which give detailed severity ratings, are available for each
    vulnerability from the CVE links in the References section.
    
    ABRT (Automatic Bug Reporting Tool) is a tool to help users to detect
    defects in applications and to create a bug report with all the
    information needed by a maintainer to fix it. It uses a plug-in system
    to extend its functionality. libreport provides an API for reporting
    different problems in applications to different bug targets, such as
    Bugzilla, FTP, and Trac.
    
    The btparser utility is a backtrace parser and analyzer library, which
    works with backtraces produced by the GNU Project Debugger. It can
    parse a text file with a backtrace to a tree of C structures, allowing
    to analyze the threads and frames of the backtrace and process them.
    
    The python-meh package provides a python library for handling
    exceptions.
    
    If the C handler plug-in in ABRT was enabled (the abrt-addon-ccpp
    package installed and the abrt-ccpp service running), and the sysctl
    fs.suid_dumpable option was set to '2' (it is '0' by default), core
    dumps of set user ID (setuid) programs were created with insecure
    group ID permissions. This could allow local, unprivileged users to
    obtain sensitive information from the core dump files of setuid
    processes they would otherwise not be able to access. (CVE-2012-1106)
    
    ABRT did not allow users to easily search the collected crash
    information for sensitive data prior to submitting it. This could lead
    to users unintentionally exposing sensitive information via the
    submitted crash reports. This update adds functionality to search
    across all the collected data. Note that this fix does not apply to
    the default configuration, where reports are sent to Red Hat Customer
    Support. It only takes effect for users sending information to Red Hat
    Bugzilla. (CVE-2011-4088)
    
    Red Hat would like to thank Jan Iven for reporting CVE-2011-4088.
    
    These updated packages include numerous bug fixes. Space precludes
    documenting all of these changes in this advisory. Users are directed
    to the Red Hat Enterprise Linux 6.3 Technical Notes for information on
    the most significant of these changes.
    
    All users of abrt, libreport, btparser, and python-meh are advised to
    upgrade to these updated packages, which correct these issues."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://oss.oracle.com/pipermail/el-errata/2012-July/002905.html"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N");
      script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:F/RL:O/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"true");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:abrt");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:abrt-addon-ccpp");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:abrt-addon-kerneloops");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:abrt-addon-python");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:abrt-addon-vmcore");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:abrt-cli");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:abrt-desktop");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:abrt-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:abrt-gui");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:abrt-libs");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:abrt-tui");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:btparser");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:btparser-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:btparser-python");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreport");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreport-cli");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreport-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreport-gtk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreport-gtk-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreport-newt");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreport-plugin-bugzilla");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreport-plugin-kerneloops");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreport-plugin-logger");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreport-plugin-mailx");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreport-plugin-reportuploader");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreport-python");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:python-meh");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:oracle:linux:6");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2012/07/03");
      script_set_attribute(attribute:"patch_publication_date", value:"2012/07/02");
      script_set_attribute(attribute:"plugin_publication_date", value:"2013/07/12");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2013-2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Oracle Linux Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/OracleLinux", "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);
    if (!get_kb_item("Host/OracleLinux")) audit(AUDIT_OS_NOT, "Oracle Linux");
    release = get_kb_item("Host/RedHat/release");
    if (isnull(release) || !pregmatch(pattern: "Oracle (?:Linux Server|Enterprise Linux)", string:release)) audit(AUDIT_OS_NOT, "Oracle Linux");
    os_ver = pregmatch(pattern: "Oracle (?:Linux Server|Enterprise Linux) .*release ([0-9]+(\.[0-9]+)?)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Oracle Linux");
    os_ver = os_ver[1];
    if (! preg(pattern:"^6([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Oracle Linux 6", "Oracle Linux " + 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, "Oracle Linux", cpu);
    
    flag = 0;
    if (rpm_check(release:"EL6", reference:"abrt-2.0.8-6.0.1.el6")) flag++;
    if (rpm_check(release:"EL6", reference:"abrt-addon-ccpp-2.0.8-6.0.1.el6")) flag++;
    if (rpm_check(release:"EL6", reference:"abrt-addon-kerneloops-2.0.8-6.0.1.el6")) flag++;
    if (rpm_check(release:"EL6", reference:"abrt-addon-python-2.0.8-6.0.1.el6")) flag++;
    if (rpm_check(release:"EL6", reference:"abrt-addon-vmcore-2.0.8-6.0.1.el6")) flag++;
    if (rpm_check(release:"EL6", reference:"abrt-cli-2.0.8-6.0.1.el6")) flag++;
    if (rpm_check(release:"EL6", reference:"abrt-desktop-2.0.8-6.0.1.el6")) flag++;
    if (rpm_check(release:"EL6", reference:"abrt-devel-2.0.8-6.0.1.el6")) flag++;
    if (rpm_check(release:"EL6", reference:"abrt-gui-2.0.8-6.0.1.el6")) flag++;
    if (rpm_check(release:"EL6", reference:"abrt-libs-2.0.8-6.0.1.el6")) flag++;
    if (rpm_check(release:"EL6", reference:"abrt-tui-2.0.8-6.0.1.el6")) flag++;
    if (rpm_check(release:"EL6", reference:"btparser-0.16-3.el6")) flag++;
    if (rpm_check(release:"EL6", reference:"btparser-devel-0.16-3.el6")) flag++;
    if (rpm_check(release:"EL6", reference:"btparser-python-0.16-3.el6")) flag++;
    if (rpm_check(release:"EL6", reference:"libreport-2.0.9-5.0.1.el6")) flag++;
    if (rpm_check(release:"EL6", reference:"libreport-cli-2.0.9-5.0.1.el6")) flag++;
    if (rpm_check(release:"EL6", reference:"libreport-devel-2.0.9-5.0.1.el6")) flag++;
    if (rpm_check(release:"EL6", reference:"libreport-gtk-2.0.9-5.0.1.el6")) flag++;
    if (rpm_check(release:"EL6", reference:"libreport-gtk-devel-2.0.9-5.0.1.el6")) flag++;
    if (rpm_check(release:"EL6", reference:"libreport-newt-2.0.9-5.0.1.el6")) flag++;
    if (rpm_check(release:"EL6", reference:"libreport-plugin-bugzilla-2.0.9-5.0.1.el6")) flag++;
    if (rpm_check(release:"EL6", reference:"libreport-plugin-kerneloops-2.0.9-5.0.1.el6")) flag++;
    if (rpm_check(release:"EL6", reference:"libreport-plugin-logger-2.0.9-5.0.1.el6")) flag++;
    if (rpm_check(release:"EL6", reference:"libreport-plugin-mailx-2.0.9-5.0.1.el6")) flag++;
    if (rpm_check(release:"EL6", reference:"libreport-plugin-reportuploader-2.0.9-5.0.1.el6")) flag++;
    if (rpm_check(release:"EL6", reference:"libreport-python-2.0.9-5.0.1.el6")) flag++;
    if (rpm_check(release:"EL6", reference:"python-meh-0.12.1-3.el6")) 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, "abrt / abrt-addon-ccpp / abrt-addon-kerneloops / abrt-addon-python / etc");
    }
    
  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2012-0841.NASL
    descriptionUpdated abrt, libreport, btparser, and python-meh packages that fix two security issues and several bugs are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having low security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. ABRT (Automatic Bug Reporting Tool) is a tool to help users to detect defects in applications and to create a bug report with all the information needed by a maintainer to fix it. It uses a plug-in system to extend its functionality. libreport provides an API for reporting different problems in applications to different bug targets, such as Bugzilla, FTP, and Trac. The btparser utility is a backtrace parser and analyzer library, which works with backtraces produced by the GNU Project Debugger. It can parse a text file with a backtrace to a tree of C structures, allowing to analyze the threads and frames of the backtrace and process them. The python-meh package provides a python library for handling exceptions. If the C handler plug-in in ABRT was enabled (the abrt-addon-ccpp package installed and the abrt-ccpp service running), and the sysctl fs.suid_dumpable option was set to
    last seen2020-06-01
    modified2020-06-02
    plugin id59589
    published2012-06-20
    reporterThis script is Copyright (C) 2012-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/59589
    titleRHEL 6 : abrt, libreport, btparser, and python-meh (RHSA-2012:0841)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Red Hat Security Advisory RHSA-2012:0841. The text 
    # itself is copyright (C) Red Hat, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(59589);
      script_version ("1.16");
      script_cvs_date("Date: 2020/02/06");
    
      script_cve_id("CVE-2011-4088", "CVE-2012-1106");
      script_xref(name:"RHSA", value:"2012:0841");
    
      script_name(english:"RHEL 6 : abrt, libreport, btparser, and python-meh (RHSA-2012:0841)");
      script_summary(english:"Checks the rpm output for the updated packages");
    
      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 abrt, libreport, btparser, and python-meh packages that fix
    two security issues and several bugs are now available for Red Hat
    Enterprise Linux 6.
    
    The Red Hat Security Response Team has rated this update as having low
    security impact. Common Vulnerability Scoring System (CVSS) base
    scores, which give detailed severity ratings, are available for each
    vulnerability from the CVE links in the References section.
    
    ABRT (Automatic Bug Reporting Tool) is a tool to help users to detect
    defects in applications and to create a bug report with all the
    information needed by a maintainer to fix it. It uses a plug-in system
    to extend its functionality. libreport provides an API for reporting
    different problems in applications to different bug targets, such as
    Bugzilla, FTP, and Trac.
    
    The btparser utility is a backtrace parser and analyzer library, which
    works with backtraces produced by the GNU Project Debugger. It can
    parse a text file with a backtrace to a tree of C structures, allowing
    to analyze the threads and frames of the backtrace and process them.
    
    The python-meh package provides a python library for handling
    exceptions.
    
    If the C handler plug-in in ABRT was enabled (the abrt-addon-ccpp
    package installed and the abrt-ccpp service running), and the sysctl
    fs.suid_dumpable option was set to '2' (it is '0' by default), core
    dumps of set user ID (setuid) programs were created with insecure
    group ID permissions. This could allow local, unprivileged users to
    obtain sensitive information from the core dump files of setuid
    processes they would otherwise not be able to access. (CVE-2012-1106)
    
    ABRT did not allow users to easily search the collected crash
    information for sensitive data prior to submitting it. This could lead
    to users unintentionally exposing sensitive information via the
    submitted crash reports. This update adds functionality to search
    across all the collected data. Note that this fix does not apply to
    the default configuration, where reports are sent to Red Hat Customer
    Support. It only takes effect for users sending information to Red Hat
    Bugzilla. (CVE-2011-4088)
    
    Red Hat would like to thank Jan Iven for reporting CVE-2011-4088.
    
    These updated packages include numerous bug fixes. Space precludes
    documenting all of these changes in this advisory. Users are directed
    to the Red Hat Enterprise Linux 6.3 Technical Notes for information on
    the most significant of these changes.
    
    All users of abrt, libreport, btparser, and python-meh are advised to
    upgrade to these updated packages, which correct these issues."
      );
      # https://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?056c0c27"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://access.redhat.com/errata/RHSA-2012:0841"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://access.redhat.com/security/cve/cve-2011-4088"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://access.redhat.com/security/cve/cve-2012-1106"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N");
      script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:abrt");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:abrt-addon-ccpp");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:abrt-addon-kerneloops");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:abrt-addon-python");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:abrt-addon-vmcore");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:abrt-cli");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:abrt-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:abrt-desktop");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:abrt-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:abrt-gui");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:abrt-libs");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:abrt-tui");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:btparser");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:btparser-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:btparser-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:btparser-python");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreport");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreport-cli");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreport-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreport-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreport-gtk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreport-gtk-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreport-newt");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreport-plugin-bugzilla");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreport-plugin-kerneloops");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreport-plugin-logger");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreport-plugin-mailx");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreport-plugin-reportuploader");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreport-plugin-rhtsupport");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreport-python");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:python-meh");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:6");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2012/07/03");
      script_set_attribute(attribute:"patch_publication_date", value:"2012/06/20");
      script_set_attribute(attribute:"plugin_publication_date", value:"2012/06/20");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2012-2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Red Hat Local Security Checks");
    
      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:"^6([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Red Hat 6.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);
    
    yum_updateinfo = get_kb_item("Host/RedHat/yum-updateinfo");
    if (!empty_or_null(yum_updateinfo)) 
    {
      rhsa = "RHSA-2012:0841";
      yum_report = redhat_generate_yum_updateinfo_report(rhsa:rhsa);
      if (!empty_or_null(yum_report))
      {
        security_report_v4(
          port       : 0,
          severity   : SECURITY_WARNING,
          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:"RHEL6", cpu:"i686", reference:"abrt-2.0.8-6.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"abrt-2.0.8-6.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"abrt-2.0.8-6.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"i686", reference:"abrt-addon-ccpp-2.0.8-6.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"abrt-addon-ccpp-2.0.8-6.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"abrt-addon-ccpp-2.0.8-6.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"i686", reference:"abrt-addon-kerneloops-2.0.8-6.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"abrt-addon-kerneloops-2.0.8-6.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"abrt-addon-kerneloops-2.0.8-6.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"i686", reference:"abrt-addon-python-2.0.8-6.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"abrt-addon-python-2.0.8-6.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"abrt-addon-python-2.0.8-6.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"i686", reference:"abrt-addon-vmcore-2.0.8-6.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"abrt-addon-vmcore-2.0.8-6.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"abrt-addon-vmcore-2.0.8-6.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"i686", reference:"abrt-cli-2.0.8-6.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"abrt-cli-2.0.8-6.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"abrt-cli-2.0.8-6.el6")) flag++;
      if (rpm_check(release:"RHEL6", reference:"abrt-debuginfo-2.0.8-6.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"i686", reference:"abrt-desktop-2.0.8-6.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"abrt-desktop-2.0.8-6.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"abrt-desktop-2.0.8-6.el6")) flag++;
      if (rpm_check(release:"RHEL6", reference:"abrt-devel-2.0.8-6.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"i686", reference:"abrt-gui-2.0.8-6.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"abrt-gui-2.0.8-6.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"abrt-gui-2.0.8-6.el6")) flag++;
      if (rpm_check(release:"RHEL6", reference:"abrt-libs-2.0.8-6.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"i686", reference:"abrt-tui-2.0.8-6.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"abrt-tui-2.0.8-6.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"abrt-tui-2.0.8-6.el6")) flag++;
      if (rpm_check(release:"RHEL6", reference:"btparser-0.16-3.el6")) flag++;
      if (rpm_check(release:"RHEL6", reference:"btparser-debuginfo-0.16-3.el6")) flag++;
      if (rpm_check(release:"RHEL6", reference:"btparser-devel-0.16-3.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"i686", reference:"btparser-python-0.16-3.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"btparser-python-0.16-3.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"btparser-python-0.16-3.el6")) flag++;
      if (rpm_check(release:"RHEL6", reference:"libreport-2.0.9-5.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreport-cli-2.0.9-5.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreport-cli-2.0.9-5.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreport-cli-2.0.9-5.el6")) flag++;
      if (rpm_check(release:"RHEL6", reference:"libreport-debuginfo-2.0.9-5.el6")) flag++;
      if (rpm_check(release:"RHEL6", reference:"libreport-devel-2.0.9-5.el6")) flag++;
      if (rpm_check(release:"RHEL6", reference:"libreport-gtk-2.0.9-5.el6")) flag++;
      if (rpm_check(release:"RHEL6", reference:"libreport-gtk-devel-2.0.9-5.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreport-newt-2.0.9-5.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreport-newt-2.0.9-5.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreport-newt-2.0.9-5.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreport-plugin-bugzilla-2.0.9-5.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreport-plugin-bugzilla-2.0.9-5.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreport-plugin-bugzilla-2.0.9-5.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreport-plugin-kerneloops-2.0.9-5.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreport-plugin-kerneloops-2.0.9-5.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreport-plugin-kerneloops-2.0.9-5.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreport-plugin-logger-2.0.9-5.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreport-plugin-logger-2.0.9-5.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreport-plugin-logger-2.0.9-5.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreport-plugin-mailx-2.0.9-5.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreport-plugin-mailx-2.0.9-5.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreport-plugin-mailx-2.0.9-5.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreport-plugin-reportuploader-2.0.9-5.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreport-plugin-reportuploader-2.0.9-5.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreport-plugin-reportuploader-2.0.9-5.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreport-plugin-rhtsupport-2.0.9-5.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreport-plugin-rhtsupport-2.0.9-5.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreport-plugin-rhtsupport-2.0.9-5.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreport-python-2.0.9-5.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreport-python-2.0.9-5.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreport-python-2.0.9-5.el6")) flag++;
      if (rpm_check(release:"RHEL6", reference:"python-meh-0.12.1-3.el6")) flag++;
    
      if (flag)
      {
        security_report_v4(
          port       : 0,
          severity   : SECURITY_WARNING,
          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, "abrt / abrt-addon-ccpp / abrt-addon-kerneloops / abrt-addon-python / etc");
      }
    }
    
  • NASL familyScientific Linux Local Security Checks
    NASL idSL_20120620_ABRT__LIBREPORT__BTPARSER__AND_PYTHON_MEH_ON_SL6_X.NASL
    descriptionABRT (Automatic Bug Reporting Tool) is a tool to help users to detect defects in applications and to create a bug report with all the information needed by a maintainer to fix it. It uses a plug-in system to extend its functionality. libreport provides an API for reporting different problems in applications to different bug targets, such as Bugzilla, FTP, and Trac. The btparser utility is a backtrace parser and analyzer library, which works with backtraces produced by the GNU Project Debugger. It can parse a text file with a backtrace to a tree of C structures, allowing to analyze the threads and frames of the backtrace and process them. The python-meh package provides a python library for handling exceptions. If the C handler plug-in in ABRT was enabled (the abrt-addon-ccpp package installed and the abrt-ccpp service running), and the sysctl fs.suid_dumpable option was set to
    last seen2020-03-18
    modified2012-08-01
    plugin id61336
    published2012-08-01
    reporterThis script is Copyright (C) 2012-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/61336
    titleScientific Linux Security Update : abrt, libreport, btparser, and python-meh on SL6.x i386/x86_64 (20120620)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text is (C) Scientific Linux.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(61336);
      script_version("1.4");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/02/27");
    
      script_cve_id("CVE-2011-4088", "CVE-2012-1106");
    
      script_name(english:"Scientific Linux Security Update : abrt, libreport, btparser, and python-meh on SL6.x i386/x86_64 (20120620)");
      script_summary(english:"Checks rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:
    "The remote Scientific Linux host is missing one or more security
    updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "ABRT (Automatic Bug Reporting Tool) is a tool to help users to detect
    defects in applications and to create a bug report with all the
    information needed by a maintainer to fix it. It uses a plug-in system
    to extend its functionality. libreport provides an API for reporting
    different problems in applications to different bug targets, such as
    Bugzilla, FTP, and Trac.
    
    The btparser utility is a backtrace parser and analyzer library, which
    works with backtraces produced by the GNU Project Debugger. It can
    parse a text file with a backtrace to a tree of C structures, allowing
    to analyze the threads and frames of the backtrace and process them.
    
    The python-meh package provides a python library for handling
    exceptions.
    
    If the C handler plug-in in ABRT was enabled (the abrt-addon-ccpp
    package installed and the abrt-ccpp service running), and the sysctl
    fs.suid_dumpable option was set to '2' (it is '0' by default), core
    dumps of set user ID (setuid) programs were created with insecure
    group ID permissions. This could allow local, unprivileged users to
    obtain sensitive information from the core dump files of setuid
    processes they would otherwise not be able to access. (CVE-2012-1106)
    
    ABRT did not allow users to easily search the collected crash
    information for sensitive data prior to submitting it. This could lead
    to users unintentionally exposing sensitive information via the
    submitted crash reports. This update adds functionality to search
    across all the collected data. (CVE-2011-4088)
    
    These updated packages include numerous bug fixes.
    
    All users of abrt, libreport, btparser, and python-meh are advised to
    upgrade to these updated packages, which correct these issues."
      );
      # https://listserv.fnal.gov/scripts/wa.exe?A2=ind1207&L=scientific-linux-errata&T=0&P=2933
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?416034de"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N");
      script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:abrt");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:abrt-addon-ccpp");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:abrt-addon-kerneloops");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:abrt-addon-python");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:abrt-addon-vmcore");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:abrt-cli");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:abrt-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:abrt-desktop");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:abrt-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:abrt-gui");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:abrt-libs");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:abrt-tui");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:btparser");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:btparser-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:btparser-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:btparser-python");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreport");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreport-cli");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreport-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreport-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreport-gtk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreport-gtk-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreport-newt");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreport-plugin-bugzilla");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreport-plugin-kerneloops");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreport-plugin-logger");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreport-plugin-mailx");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreport-plugin-reportuploader");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreport-plugin-rhtsupport");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreport-python");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:python-meh");
      script_set_attribute(attribute:"cpe", value:"x-cpe:/o:fermilab:scientific_linux");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2012/07/03");
      script_set_attribute(attribute:"patch_publication_date", value:"2012/06/20");
      script_set_attribute(attribute:"plugin_publication_date", value:"2012/08/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) 2012-2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Scientific Linux Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/RedHat/release", "Host/RedHat/rpm-list");
    
      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) || "Scientific Linux " >!< release) audit(AUDIT_HOST_NOT, "running Scientific Linux");
    os_ver = pregmatch(pattern: "Scientific Linux.*release ([0-9]+(\.[0-9]+)?)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Scientific Linux");
    os_ver = os_ver[1];
    if (! preg(pattern:"^6([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Scientific Linux 6.x", "Scientific Linux " + 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 (cpu >!< "x86_64" && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Scientific Linux", cpu);
    
    
    flag = 0;
    if (rpm_check(release:"SL6", cpu:"x86_64", reference:"abrt-2.0.8-6.el6")) flag++;
    if (rpm_check(release:"SL6", cpu:"x86_64", reference:"abrt-addon-ccpp-2.0.8-6.el6")) flag++;
    if (rpm_check(release:"SL6", cpu:"x86_64", reference:"abrt-addon-kerneloops-2.0.8-6.el6")) flag++;
    if (rpm_check(release:"SL6", cpu:"x86_64", reference:"abrt-addon-python-2.0.8-6.el6")) flag++;
    if (rpm_check(release:"SL6", reference:"abrt-addon-vmcore-2.0.8-6.el6")) flag++;
    if (rpm_check(release:"SL6", cpu:"x86_64", reference:"abrt-cli-2.0.8-6.el6")) flag++;
    if (rpm_check(release:"SL6", reference:"abrt-debuginfo-2.0.8-6.el6")) flag++;
    if (rpm_check(release:"SL6", cpu:"x86_64", reference:"abrt-desktop-2.0.8-6.el6")) flag++;
    if (rpm_check(release:"SL6", reference:"abrt-devel-2.0.8-6.el6")) flag++;
    if (rpm_check(release:"SL6", reference:"abrt-gui-2.0.8-6.el6")) flag++;
    if (rpm_check(release:"SL6", cpu:"x86_64", reference:"abrt-libs-2.0.8-6.el6")) flag++;
    if (rpm_check(release:"SL6", cpu:"x86_64", reference:"abrt-tui-2.0.8-6.el6")) flag++;
    if (rpm_check(release:"SL6", reference:"btparser-0.16-3.el6")) flag++;
    if (rpm_check(release:"SL6", reference:"btparser-debuginfo-0.16-3.el6")) flag++;
    if (rpm_check(release:"SL6", reference:"btparser-devel-0.16-3.el6")) flag++;
    if (rpm_check(release:"SL6", reference:"btparser-python-0.16-3.el6")) flag++;
    if (rpm_check(release:"SL6", reference:"libreport-2.0.9-5.el6")) flag++;
    if (rpm_check(release:"SL6", reference:"libreport-cli-2.0.9-5.el6")) flag++;
    if (rpm_check(release:"SL6", reference:"libreport-debuginfo-2.0.9-5.el6")) flag++;
    if (rpm_check(release:"SL6", reference:"libreport-devel-2.0.9-5.el6")) flag++;
    if (rpm_check(release:"SL6", reference:"libreport-gtk-2.0.9-5.el6")) flag++;
    if (rpm_check(release:"SL6", reference:"libreport-gtk-devel-2.0.9-5.el6")) flag++;
    if (rpm_check(release:"SL6", reference:"libreport-newt-2.0.9-5.el6")) flag++;
    if (rpm_check(release:"SL6", reference:"libreport-plugin-bugzilla-2.0.9-5.el6")) flag++;
    if (rpm_check(release:"SL6", reference:"libreport-plugin-kerneloops-2.0.9-5.el6")) flag++;
    if (rpm_check(release:"SL6", reference:"libreport-plugin-logger-2.0.9-5.el6")) flag++;
    if (rpm_check(release:"SL6", reference:"libreport-plugin-mailx-2.0.9-5.el6")) flag++;
    if (rpm_check(release:"SL6", reference:"libreport-plugin-reportuploader-2.0.9-5.el6")) flag++;
    if (rpm_check(release:"SL6", reference:"libreport-plugin-rhtsupport-2.0.9-5.el6")) flag++;
    if (rpm_check(release:"SL6", reference:"libreport-python-2.0.9-5.el6")) flag++;
    if (rpm_check(release:"SL6", reference:"python-meh-0.12.1-3.el6")) flag++;
    
    
    if (flag)
    {
      security_report_v4(
        port       : 0,
        severity   : SECURITY_WARNING,
        extra      : rpm_report_get()
      );
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "abrt / abrt-addon-ccpp / abrt-addon-kerneloops / abrt-addon-python / etc");
    }
    
  • NASL familyCentOS Local Security Checks
    NASL idCENTOS_RHSA-2012-0841.NASL
    descriptionUpdated abrt, libreport, btparser, and python-meh packages that fix two security issues and several bugs are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having low security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. ABRT (Automatic Bug Reporting Tool) is a tool to help users to detect defects in applications and to create a bug report with all the information needed by a maintainer to fix it. It uses a plug-in system to extend its functionality. libreport provides an API for reporting different problems in applications to different bug targets, such as Bugzilla, FTP, and Trac. The btparser utility is a backtrace parser and analyzer library, which works with backtraces produced by the GNU Project Debugger. It can parse a text file with a backtrace to a tree of C structures, allowing to analyze the threads and frames of the backtrace and process them. The python-meh package provides a python library for handling exceptions. If the C handler plug-in in ABRT was enabled (the abrt-addon-ccpp package installed and the abrt-ccpp service running), and the sysctl fs.suid_dumpable option was set to
    last seen2020-06-01
    modified2020-06-02
    plugin id59924
    published2012-07-11
    reporterThis script is Copyright (C) 2012-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/59924
    titleCentOS 6 : abrt (CESA-2012:0841)

Redhat

advisories
bugzilla
id823411
titleSearching for duplicate anaconda bugs while reporting exception against partner-bugzilla during install fails
oval
OR
  • commentRed Hat Enterprise Linux must be installed
    ovaloval:com.redhat.rhba:tst:20070304026
  • AND
    • commentRed Hat Enterprise Linux 6 is installed
      ovaloval:com.redhat.rhba:tst:20111656003
    • OR
      • AND
        • commentpython-meh is earlier than 0:0.12.1-3.el6
          ovaloval:com.redhat.rhsa:tst:20120841001
        • commentpython-meh is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20120841002
      • AND
        • commentbtparser-python is earlier than 0:0.16-3.el6
          ovaloval:com.redhat.rhsa:tst:20120841003
        • commentbtparser-python is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20120841004
      • AND
        • commentbtparser-devel is earlier than 0:0.16-3.el6
          ovaloval:com.redhat.rhsa:tst:20120841005
        • commentbtparser-devel is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20120841006
      • AND
        • commentbtparser is earlier than 0:0.16-3.el6
          ovaloval:com.redhat.rhsa:tst:20120841007
        • commentbtparser is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20120841008
      • AND
        • commentabrt-addon-python is earlier than 0:2.0.8-6.el6
          ovaloval:com.redhat.rhsa:tst:20120841009
        • commentabrt-addon-python is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20120841010
      • AND
        • commentabrt-addon-kerneloops is earlier than 0:2.0.8-6.el6
          ovaloval:com.redhat.rhsa:tst:20120841011
        • commentabrt-addon-kerneloops is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20120841012
      • AND
        • commentabrt-desktop is earlier than 0:2.0.8-6.el6
          ovaloval:com.redhat.rhsa:tst:20120841013
        • commentabrt-desktop is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20120841014
      • AND
        • commentabrt-libs is earlier than 0:2.0.8-6.el6
          ovaloval:com.redhat.rhsa:tst:20120841015
        • commentabrt-libs is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20120841016
      • AND
        • commentabrt-addon-ccpp is earlier than 0:2.0.8-6.el6
          ovaloval:com.redhat.rhsa:tst:20120841017
        • commentabrt-addon-ccpp is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20120841018
      • AND
        • commentabrt is earlier than 0:2.0.8-6.el6
          ovaloval:com.redhat.rhsa:tst:20120841019
        • commentabrt is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20120841020
      • AND
        • commentabrt-gui is earlier than 0:2.0.8-6.el6
          ovaloval:com.redhat.rhsa:tst:20120841021
        • commentabrt-gui is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20120841022
      • AND
        • commentabrt-tui is earlier than 0:2.0.8-6.el6
          ovaloval:com.redhat.rhsa:tst:20120841023
        • commentabrt-tui is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20120841024
      • AND
        • commentabrt-cli is earlier than 0:2.0.8-6.el6
          ovaloval:com.redhat.rhsa:tst:20120841025
        • commentabrt-cli is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20120841026
      • AND
        • commentabrt-addon-vmcore is earlier than 0:2.0.8-6.el6
          ovaloval:com.redhat.rhsa:tst:20120841027
        • commentabrt-addon-vmcore is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20120841028
      • AND
        • commentabrt-devel is earlier than 0:2.0.8-6.el6
          ovaloval:com.redhat.rhsa:tst:20120841029
        • commentabrt-devel is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20120841030
      • AND
        • commentlibreport-newt is earlier than 0:2.0.9-5.el6
          ovaloval:com.redhat.rhsa:tst:20120841031
        • commentlibreport-newt is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20120841032
      • AND
        • commentlibreport is earlier than 0:2.0.9-5.el6
          ovaloval:com.redhat.rhsa:tst:20120841033
        • commentlibreport is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20120841034
      • AND
        • commentlibreport-plugin-kerneloops is earlier than 0:2.0.9-5.el6
          ovaloval:com.redhat.rhsa:tst:20120841035
        • commentlibreport-plugin-kerneloops is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20120841036
      • AND
        • commentlibreport-cli is earlier than 0:2.0.9-5.el6
          ovaloval:com.redhat.rhsa:tst:20120841037
        • commentlibreport-cli is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20120841038
      • AND
        • commentlibreport-plugin-logger is earlier than 0:2.0.9-5.el6
          ovaloval:com.redhat.rhsa:tst:20120841039
        • commentlibreport-plugin-logger is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20120841040
      • AND
        • commentlibreport-plugin-reportuploader is earlier than 0:2.0.9-5.el6
          ovaloval:com.redhat.rhsa:tst:20120841041
        • commentlibreport-plugin-reportuploader is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20120841042
      • AND
        • commentlibreport-gtk is earlier than 0:2.0.9-5.el6
          ovaloval:com.redhat.rhsa:tst:20120841043
        • commentlibreport-gtk is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20120841044
      • AND
        • commentlibreport-plugin-mailx is earlier than 0:2.0.9-5.el6
          ovaloval:com.redhat.rhsa:tst:20120841045
        • commentlibreport-plugin-mailx is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20120841046
      • AND
        • commentlibreport-python is earlier than 0:2.0.9-5.el6
          ovaloval:com.redhat.rhsa:tst:20120841047
        • commentlibreport-python is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20120841048
      • AND
        • commentlibreport-plugin-rhtsupport is earlier than 0:2.0.9-5.el6
          ovaloval:com.redhat.rhsa:tst:20120841049
        • commentlibreport-plugin-rhtsupport is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20120841050
      • AND
        • commentlibreport-gtk-devel is earlier than 0:2.0.9-5.el6
          ovaloval:com.redhat.rhsa:tst:20120841051
        • commentlibreport-gtk-devel is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20120841052
      • AND
        • commentlibreport-plugin-bugzilla is earlier than 0:2.0.9-5.el6
          ovaloval:com.redhat.rhsa:tst:20120841053
        • commentlibreport-plugin-bugzilla is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20120841054
      • AND
        • commentlibreport-devel is earlier than 0:2.0.9-5.el6
          ovaloval:com.redhat.rhsa:tst:20120841055
        • commentlibreport-devel is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20120841056
rhsa
idRHSA-2012:0841
released2012-06-19
severityLow
titleRHSA-2012:0841: abrt, libreport, btparser, and python-meh security and bug fix update (Low)
rpms
  • abrt-0:2.0.8-6.el6
  • abrt-addon-ccpp-0:2.0.8-6.el6
  • abrt-addon-kerneloops-0:2.0.8-6.el6
  • abrt-addon-python-0:2.0.8-6.el6
  • abrt-addon-vmcore-0:2.0.8-6.el6
  • abrt-cli-0:2.0.8-6.el6
  • abrt-debuginfo-0:2.0.8-6.el6
  • abrt-desktop-0:2.0.8-6.el6
  • abrt-devel-0:2.0.8-6.el6
  • abrt-gui-0:2.0.8-6.el6
  • abrt-libs-0:2.0.8-6.el6
  • abrt-tui-0:2.0.8-6.el6
  • btparser-0:0.16-3.el6
  • btparser-debuginfo-0:0.16-3.el6
  • btparser-devel-0:0.16-3.el6
  • btparser-python-0:0.16-3.el6
  • libreport-0:2.0.9-5.el6
  • libreport-cli-0:2.0.9-5.el6
  • libreport-debuginfo-0:2.0.9-5.el6
  • libreport-devel-0:2.0.9-5.el6
  • libreport-gtk-0:2.0.9-5.el6
  • libreport-gtk-devel-0:2.0.9-5.el6
  • libreport-newt-0:2.0.9-5.el6
  • libreport-plugin-bugzilla-0:2.0.9-5.el6
  • libreport-plugin-kerneloops-0:2.0.9-5.el6
  • libreport-plugin-logger-0:2.0.9-5.el6
  • libreport-plugin-mailx-0:2.0.9-5.el6
  • libreport-plugin-reportuploader-0:2.0.9-5.el6
  • libreport-plugin-rhtsupport-0:2.0.9-5.el6
  • libreport-python-0:2.0.9-5.el6
  • python-meh-0:0.12.1-3.el6