Vulnerabilities > CVE-2013-6435 - Injection vulnerability in multiple products

047910
CVSS 0.0 - NONE
Attack vector
UNKNOWN
Attack complexity
UNKNOWN
Privileges required
UNKNOWN
Confidentiality impact
UNKNOWN
Integrity impact
UNKNOWN
Availability impact
UNKNOWN

Summary

Race condition in RPM 4.11.1 and earlier allows remote attackers to execute arbitrary code via a crafted RPM file whose installation extracts the contents to temporary files before validating the signature, as demonstrated by installing a file in the /etc/cron.d directory.

Vulnerable Configurations

Part Description Count
Application
Rpm
139
OS
Debian
1

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.
  • Server Side Include (SSI) Injection
    An attacker can use Server Side Include (SSI) Injection to send code to a web application that then gets executed by the web server. Doing so enables the attacker to achieve similar results to Cross Site Scripting, viz., arbitrary code execution and information disclosure, albeit on a more limited scale, since the SSI directives are nowhere near as powerful as a full-fledged scripting language. Nonetheless, the attacker can conveniently gain access to sensitive files, such as password files, and execute shell commands.
  • Cross Site Scripting through Log Files
    An attacker may leverage a system weakness where logs are susceptible to log injection to insert scripts into the system's logs. If these logs are later viewed by an administrator through a thin administrative interface and the log data is not properly HTML encoded before being written to the page, the attackers' scripts stored in the log will be executed in the administrative interface with potentially serious consequences. This attack pattern is really a combination of two other attack patterns: log injection and stored cross site scripting.
  • Command Line Execution through SQL Injection
    An attacker uses standard SQL injection methods to inject data into the command line for execution. This could be done directly through misuse of directives such as MSSQL_xp_cmdshell or indirectly through injection of data into the database that would be interpreted as shell commands. Sometime later, an unscrupulous backend application (or could be part of the functionality of the same application) fetches the injected data stored in the database and uses this data as command line arguments without performing proper validation. The malicious data escapes that data plane by spawning new commands to be executed on the host.
  • Subverting Environment Variable Values
    The attacker directly or indirectly modifies environment variables used by or controlling the target software. The attacker's goal is to cause the target software to deviate from its expected operation in a manner that benefits the attacker.

Nessus

  • NASL familyMandriva Local Security Checks
    NASL idMANDRIVA_MDVSA-2015-056.NASL
    descriptionUpdated rpm packages fix security vulnerabilities : It was found that RPM wrote file contents to the target installation directory under a temporary name, and verified its cryptographic signature only after the temporary file has been written completely. Under certain conditions, the system interprets the unverified temporary file contents and extracts commands from it. This could allow an attacker to modify signed RPM files in such a way that they would execute code chosen by the attacker during package installation (CVE-2013-6435). It was found that RPM could encounter an integer overflow, leading to a stack-based buffer overflow, while parsing a crafted CPIO header in the payload section of an RPM file. This could allow an attacker to modify signed RPM files in such a way that they would execute code chosen by the attacker during package installation (CVE-2014-8118).
    last seen2020-06-01
    modified2020-06-02
    plugin id81939
    published2015-03-19
    reporterThis script is Copyright (C) 2015-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/81939
    titleMandriva Linux Security Advisory : rpm (MDVSA-2015:056)
    code
    #%NASL_MIN_LEVEL 80502
    
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Mandriva Linux Security Advisory MDVSA-2015:056. 
    # The text itself is copyright (C) Mandriva S.A.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(81939);
      script_version("1.3");
      script_cvs_date("Date: 2019/08/02 13:32:56");
    
      script_cve_id("CVE-2013-6435", "CVE-2014-8118");
      script_xref(name:"MDVSA", value:"2015:056");
    
      script_name(english:"Mandriva Linux Security Advisory : rpm (MDVSA-2015:056)");
      script_summary(english:"Checks rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:
    "The remote Mandriva Linux host is missing one or more security
    updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Updated rpm packages fix security vulnerabilities :
    
    It was found that RPM wrote file contents to the target installation
    directory under a temporary name, and verified its cryptographic
    signature only after the temporary file has been written completely.
    Under certain conditions, the system interprets the unverified
    temporary file contents and extracts commands from it. This could
    allow an attacker to modify signed RPM files in such a way that they
    would execute code chosen by the attacker during package installation
    (CVE-2013-6435).
    
    It was found that RPM could encounter an integer overflow, leading to
    a stack-based buffer overflow, while parsing a crafted CPIO header in
    the payload section of an RPM file. This could allow an attacker to
    modify signed RPM files in such a way that they would execute code
    chosen by the attacker during package installation (CVE-2014-8118)."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"http://advisories.mageia.org/MGASA-2014-0529.html"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:mandriva:linux:lib64rpm-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:mandriva:linux:lib64rpm3");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:mandriva:linux:lib64rpmbuild3");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:mandriva:linux:lib64rpmsign3");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:mandriva:linux:python-rpm");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:mandriva:linux:rpm");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:mandriva:linux:rpm-build");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:mandriva:linux:rpm-sign");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:mandriva:business_server:2");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2015/03/09");
      script_set_attribute(attribute:"plugin_publication_date", value:"2015/03/19");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2015-2019 Tenable Network Security, Inc.");
      script_family(english:"Mandriva Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/Mandrake/release", "Host/Mandrake/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/Mandrake/release")) audit(AUDIT_OS_NOT, "Mandriva / Mandake Linux");
    if (!get_kb_item("Host/Mandrake/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if (cpu !~ "^(amd64|i[3-6]86|x86_64)$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Mandriva / Mandrake Linux", cpu);
    
    
    flag = 0;
    if (rpm_check(release:"MDK-MBS2", cpu:"x86_64", reference:"lib64rpm-devel-4.11.1-14.1.mbs2")) flag++;
    if (rpm_check(release:"MDK-MBS2", cpu:"x86_64", reference:"lib64rpm3-4.11.1-14.1.mbs2")) flag++;
    if (rpm_check(release:"MDK-MBS2", cpu:"x86_64", reference:"lib64rpmbuild3-4.11.1-14.1.mbs2")) flag++;
    if (rpm_check(release:"MDK-MBS2", cpu:"x86_64", reference:"lib64rpmsign3-4.11.1-14.1.mbs2")) flag++;
    if (rpm_check(release:"MDK-MBS2", cpu:"x86_64", reference:"python-rpm-4.11.1-14.1.mbs2")) flag++;
    if (rpm_check(release:"MDK-MBS2", cpu:"x86_64", reference:"rpm-4.11.1-14.1.mbs2")) flag++;
    if (rpm_check(release:"MDK-MBS2", cpu:"x86_64", reference:"rpm-build-4.11.1-14.1.mbs2")) flag++;
    if (rpm_check(release:"MDK-MBS2", cpu:"x86_64", reference:"rpm-sign-4.11.1-14.1.mbs2")) flag++;
    
    
    if (flag)
    {
      if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get());
      else security_hole(0);
      exit(0);
    }
    else audit(AUDIT_HOST_NOT, "affected");
    
  • NASL familyDebian Local Security Checks
    NASL idDEBIAN_DSA-3129.NASL
    descriptionTwo vulnerabilities have been discovered in the RPM package manager. - CVE-2013-6435 Florian Weimer discovered a race condition in package signature validation. - CVE-2014-8118 Florian Weimer discovered an integer overflow in parsing CPIO headers which might result in the execution of arbitrary code.
    last seen2020-03-17
    modified2015-01-19
    plugin id80573
    published2015-01-19
    reporterThis script is Copyright (C) 2015-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/80573
    titleDebian DSA-3129-1 : rpm - security update
  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_POPT-141215.NASL
    descriptionThis rpm update fixes the following security and non security issues. - check for bad invalid name sizes. (CVE-2014-8118). (bnc#908128) - create files with mode 0. (CVE-2013-6435). (bnc#906803) - honor --noglob in install mode. (bnc#892431)
    last seen2020-06-05
    modified2014-12-26
    plugin id80252
    published2014-12-26
    reporterThis script is Copyright (C) 2014-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/80252
    titleSuSE 11.3 Security Update : popt (SAT Patch Number 10097)
  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2014-1975.NASL
    descriptionUpdated rpm packages that fix one security issue are now available Red Hat Enterprise Linux 5.6 Long Life, Red Hat Enterprise Linux 5.9 Extended Update Support, Red Hat Enterprise Linux 6.2 Advanced Update Support, and Red Hat Enterprise Linux 6.4 Extended Update Support, Red Hat Enterprise Linux 6.5 Extended Update Support. Red Hat Product Security has rated this update as having Important security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. The RPM Package Manager (RPM) is a powerful command line driven package management system capable of installing, uninstalling, verifying, querying, and updating software packages. Each software package consists of an archive of files along with information about the package such as its version, description, and other information. It was found that RPM wrote file contents to the target installation directory under a temporary name, and verified its cryptographic signature only after the temporary file has been written completely. Under certain conditions, the system interprets the unverified temporary file contents and extracts commands from it. This could allow an attacker to modify signed RPM files in such a way that they would execute code chosen by the attacker during package installation. (CVE-2013-6435) This issue was discovered by Florian Weimer of Red Hat Product Security. All rpm users are advised to upgrade to these updated packages, which contain a backported patch to correct this issue. All running applications linked against the RPM library must be restarted for this update to take effect.
    last seen2020-06-01
    modified2020-06-02
    plugin id79850
    published2014-12-10
    reporterThis script is Copyright (C) 2014-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/79850
    titleRHEL 5 / 6 : rpm (RHSA-2014:1975)
  • NASL familyCentOS Local Security Checks
    NASL idCENTOS_RHSA-2014-1976.NASL
    descriptionUpdated rpm packages that fix two security issues are now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having Important 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. The RPM Package Manager (RPM) is a powerful command line driven package management system capable of installing, uninstalling, verifying, querying, and updating software packages. Each software package consists of an archive of files along with information about the package such as its version, description, and other information. It was found that RPM wrote file contents to the target installation directory under a temporary name, and verified its cryptographic signature only after the temporary file has been written completely. Under certain conditions, the system interprets the unverified temporary file contents and extracts commands from it. This could allow an attacker to modify signed RPM files in such a way that they would execute code chosen by the attacker during package installation. (CVE-2013-6435) It was found that RPM could encounter an integer overflow, leading to a stack-based buffer overflow, while parsing a crafted CPIO header in the payload section of an RPM file. This could allow an attacker to modify signed RPM files in such a way that they would execute code chosen by the attacker during package installation. (CVE-2014-8118) These issues were discovered by Florian Weimer of Red Hat Product Security. All rpm users are advised to upgrade to these updated packages, which contain backported patches to correct these issues. All running applications linked against the RPM library must be restarted for this update to take effect.
    last seen2020-06-01
    modified2020-06-02
    plugin id79877
    published2014-12-15
    reporterThis script is Copyright (C) 2014-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/79877
    titleCentOS 7 : rpm (CESA-2014:1976)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2014-16838.NASL
    description - Add check against malicious CPIO file name size - Fix race condidition where unchecked data is exposed in the file system 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-03-17
    modified2014-12-30
    plugin id80288
    published2014-12-30
    reporterThis script is Copyright (C) 2014-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/80288
    titleFedora 20 : rpm-4.11.3-2.fc20 (2014-16838)
  • NASL familyOracle Linux Local Security Checks
    NASL idORACLELINUX_ELSA-2014-1974.NASL
    descriptionFrom Red Hat Security Advisory 2014:1974 : Updated rpm packages that fix one security issue are now available for Red Hat Enterprise Linux 5 and 6. Red Hat Product Security has rated this update as having Important security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. The RPM Package Manager (RPM) is a powerful command line driven package management system capable of installing, uninstalling, verifying, querying, and updating software packages. Each software package consists of an archive of files along with information about the package such as its version, description, and other information. It was found that RPM wrote file contents to the target installation directory under a temporary name, and verified its cryptographic signature only after the temporary file has been written completely. Under certain conditions, the system interprets the unverified temporary file contents and extracts commands from it. This could allow an attacker to modify signed RPM files in such a way that they would execute code chosen by the attacker during package installation. (CVE-2013-6435) This issue was discovered by Florian Weimer of Red Hat Product Security. All rpm users are advised to upgrade to these updated packages, which contain a backported patch to correct this issue. All running applications linked against the RPM library must be restarted for this update to take effect.
    last seen2020-06-01
    modified2020-06-02
    plugin id79846
    published2014-12-10
    reporterThis script is Copyright (C) 2014-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/79846
    titleOracle Linux 5 / 6 : rpm (ELSA-2014-1974)
  • NASL familyScientific Linux Local Security Checks
    NASL idSL_20141209_RPM_ON_SL7_X.NASL
    descriptionIt was found that RPM wrote file contents to the target installation directory under a temporary name, and verified its cryptographic signature only after the temporary file has been written completely. Under certain conditions, the system interprets the unverified temporary file contents and extracts commands from it. This could allow an attacker to modify signed RPM files in such a way that they would execute code chosen by the attacker during package installation. (CVE-2013-6435) It was found that RPM could encounter an integer overflow, leading to a stack-based buffer overflow, while parsing a crafted CPIO header in the payload section of an RPM file. This could allow an attacker to modify signed RPM files in such a way that they would execute code chosen by the attacker during package installation. (CVE-2014-8118) All running applications linked against the RPM library must be restarted for this update to take effect.
    last seen2020-03-18
    modified2014-12-15
    plugin id80016
    published2014-12-15
    reporterThis script is Copyright (C) 2014-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/80016
    titleScientific Linux Security Update : rpm on SL7.x x86_64 (20141209)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2014-16890.NASL
    description - Add check against malicious CPIO file name size - Fix race condidition where unchecked data is exposed in the file system 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-03-17
    modified2014-12-17
    plugin id80065
    published2014-12-17
    reporterThis script is Copyright (C) 2014-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/80065
    titleFedora 21 : rpm-4.12.0.1-4.fc21 (2014-16890)
  • NASL familyScientific Linux Local Security Checks
    NASL idSL_20141209_RPM_ON_SL5_X.NASL
    descriptionIt was found that RPM wrote file contents to the target installation directory under a temporary name, and verified its cryptographic signature only after the temporary file has been written completely. Under certain conditions, the system interprets the unverified temporary file contents and extracts commands from it. This could allow an attacker to modify signed RPM files in such a way that they would execute code chosen by the attacker during package installation. (CVE-2013-6435) All running applications linked against the RPM library must be restarted for this update to take effect.
    last seen2020-03-18
    modified2014-12-15
    plugin id80015
    published2014-12-15
    reporterThis script is Copyright (C) 2014-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/80015
    titleScientific Linux Security Update : rpm on SL5.x, SL6.x i386/x86_64 (20141209)
  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2014-816.NASL
    descriptionThis rpm update fixes the following security and non security issues : - honor --noglob in install mode [bnc#892431] - check for bad invalid name sizes [bnc#908128] [CVE-2014-8118] - create files with mode 0 [bnc#906803] [CVE-2013-6435] This update also includes version updates of rpm-python and python3-rpm.
    last seen2020-06-05
    modified2014-12-29
    plugin id80276
    published2014-12-29
    reporterThis script is Copyright (C) 2014-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/80276
    titleopenSUSE Security Update : python3-rpm / rpm / rpm-python (openSUSE-SU-2014:1716-1)
  • NASL familyOracleVM Local Security Checks
    NASL idORACLEVM_OVMSA-2014-0083.NASL
    descriptionThe remote OracleVM system is missing necessary patches to address critical security updates : - Fix race condidition where unchecked data is exposed in the file system (CVE-2013-6435)(#1163059) - Fix thinko in the non-root python byte-compilation fix - Byte-compile versioned python libdirs in non-root prefix too (#868332) - Fix segfault on rpmdb addition when header unload fails (#706935) - Add a compat mode for enabling legacy rpm scriptlet error behavior (#963724) - Fix build-time double-free on file capability processing (#904818) - Fix include-directive getting processed on false branch (#920190) - Bring back --fileid in the man page with description of the id (#804049) - Fix missing error on --import on bogus key file (#869667) - Add DWARF 4 support to debugedit (#858731) - Add better error handling to patch for bug - Fix memory corruption on multikey PGP packets/armors (#829621) - Handle identical binaries for debug-info (#727872) - Fix typos in Japanese rpm man page (#845065) - Document -D and -E options in man page (#845063) - Add --setperms and --setuids to the man page (#839126) - Update man page that SHA256 is also used for file digest (#804049) - Remove --fileid from man page to get rid of md5 - Remove -s from patch calls (#773503) - Force _host_vendor to redhat to better match toolchain (#743229) - Backport reloadConfig for Python API (#825147) - Support for dpkg-style sorting of tilde in version/release (#825087) - Fix explicit directory %attr when %defattr is active (#730473) - Don
    last seen2020-06-01
    modified2020-06-02
    plugin id80008
    published2014-12-15
    reporterThis script is Copyright (C) 2014-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/80008
    titleOracleVM 3.3 : rpm (OVMSA-2014-0083)
  • NASL familyOracleVM Local Security Checks
    NASL idORACLEVM_OVMSA-2016-0077.NASL
    descriptionThe remote OracleVM system is missing necessary patches to address critical security updates : - Add missing files in /usr/share/doc/ - Fix warning when applying the patch for #1163057 - Fix race condidition where unchecked data is exposed in the file system (CVE-2013-6435)(#1163057) - Fix segfault on rpmdb addition when header unload fails (#706935) - Fix segfault on invalid OpenPGP packet (#743203) - Account for excludes and hardlinks wrt payload max size (#716853) - Fix payload size tag generation on big-endian systems (#648516) - Track all install failures within a transaction (#671194) - fix changelog (bug #707677 is actually #808547) - Document -D and -E options in man page (#814602) - Require matching arch for freshen on colored transactions (#813282) - Add DWARF 3 and 4 support to debugedit (#808547) - No longer add \n to group tag in Python bindings (#783451) - Fix typos in Japanese rpm man page (#760552) - Bump Geode compatibility up to i686 (#620570) - Proper region tag validation on package/header read (CVE-2012-0060) - Double-check region size against header size (CVE-2012-0061) - Validate negated offsets too in headerVerifyInfo (CVE-2012-0815) - Revert fix for #740291, too many packages rely on the broken behavior - Add support for XZ-compressed sources and patches to rpmbuild (#620674) - Avoid unnecessary assert-death when closing NULL fd (#573043) - Add scriptlet error notification callbacks (#533831) - Honor --noscripts for pre- and posttrans scriptlets too (#740345) - Avoid bogus error on printing empty ds from python (#628883) - File conflicts correctness & consistency fixes (#740291) - Create the directory used for transaction lock if necessary (#510469) - Only enforce default umask during transaction (#673821) - fix thinko in the CVE backport - fix CVE-2011-3378 (#742157) - accept windows cr/lf line endings in gpg keys (#530212) - Backport multilib ordering fixes from rpm 4.8.x (#641892)
    last seen2020-06-01
    modified2020-06-02
    plugin id91753
    published2016-06-22
    reporterThis script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/91753
    titleOracleVM 3.2 : rpm (OVMSA-2016-0077)
  • NASL familyF5 Networks Local Security Checks
    NASL idF5_BIGIP_SOL16383.NASL
    descriptionRace condition in RPM 4.11.1 and earlier allows remote attackers to execute arbitrary code via a crafted RPM file whose installation extracts the contents to temporary files before validating the signature, as demonstrated by installing a file in the /etc/cron.d directory
    last seen2020-06-01
    modified2020-06-02
    plugin id88435
    published2016-01-28
    reporterThis script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/88435
    titleF5 Networks BIG-IP : Linux RPM vulnerability (SOL16383)
  • NASL familyCentOS Local Security Checks
    NASL idCENTOS_RHSA-2014-1974.NASL
    descriptionUpdated rpm packages that fix one security issue are now available for Red Hat Enterprise Linux 5 and 6. Red Hat Product Security has rated this update as having Important security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. The RPM Package Manager (RPM) is a powerful command line driven package management system capable of installing, uninstalling, verifying, querying, and updating software packages. Each software package consists of an archive of files along with information about the package such as its version, description, and other information. It was found that RPM wrote file contents to the target installation directory under a temporary name, and verified its cryptographic signature only after the temporary file has been written completely. Under certain conditions, the system interprets the unverified temporary file contents and extracts commands from it. This could allow an attacker to modify signed RPM files in such a way that they would execute code chosen by the attacker during package installation. (CVE-2013-6435) This issue was discovered by Florian Weimer of Red Hat Product Security. All rpm users are advised to upgrade to these updated packages, which contain a backported patch to correct this issue. All running applications linked against the RPM library must be restarted for this update to take effect.
    last seen2020-06-01
    modified2020-06-02
    plugin id79843
    published2014-12-10
    reporterThis script is Copyright (C) 2014-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/79843
    titleCentOS 5 / 6 : rpm (CESA-2014:1974)
  • NASL familyMandriva Local Security Checks
    NASL idMANDRIVA_MDVSA-2014-251.NASL
    descriptionUpdated rpm packages fix security vulnerabilities : It was found that RPM wrote file contents to the target installation directory under a temporary name, and verified its cryptographic signature only after the temporary file has been written completely. Under certain conditions, the system interprets the unverified temporary file contents and extracts commands from it. This could allow an attacker to modify signed RPM files in such a way that they would execute code chosen by the attacker during package installation (CVE-2013-6435). It was found that RPM could encounter an integer overflow, leading to a stack-based buffer overflow, while parsing a crafted CPIO header in the payload section of an RPM file. This could allow an attacker to modify signed RPM files in such a way that they would execute code chosen by the attacker during package installation (CVE-2014-8118).
    last seen2020-06-01
    modified2020-06-02
    plugin id79996
    published2014-12-15
    reporterThis script is Copyright (C) 2014-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/79996
    titleMandriva Linux Security Advisory : rpm (MDVSA-2014:251)
  • NASL familyGentoo Local Security Checks
    NASL idGENTOO_GLSA-201811-22.NASL
    descriptionThe remote host is affected by the vulnerability described in GLSA-201811-22 (RPM: Multiple vulnerabilities) Multiple vulnerabilities have been discovered in RPM. Please review the CVE identifiers referenced below for details. Impact : A remote attacker, by enticing the user to process a specially crafted RPM file, could escalate privileges, execute arbitrary code, or cause a Denial of Service condition. Workaround : There is no known workaround at this time.
    last seen2020-06-01
    modified2020-06-02
    plugin id119276
    published2018-11-29
    reporterThis script is Copyright (C) 2018 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/119276
    titleGLSA-201811-22 : RPM: Multiple vulnerabilities
  • NASL familyDebian Local Security Checks
    NASL idDEBIAN_DLA-140.NASL
    descriptionSeveral vulnerabilities have been fixed in rpm : CVE-2014-8118 Fix integer overflow which allowed remote attackers to execute arbitrary code. CVE-2013-6435 Prevent remote attackers from executing arbitrary code via crafted RPM files. CVE-2012-0815 Fix denial of service and possible code execution via negative value in region offset in crafted RPM files. CVE-2012-0060 and CVE-2012-0061 Prevent denial of service (crash) and possibly execute arbitrary code execution via an invalid region tag in RPM files. We recommend that you upgrade your rpm packages. NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-03-17
    modified2015-03-26
    plugin id82123
    published2015-03-26
    reporterThis script is Copyright (C) 2015-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/82123
    titleDebian DLA-140-1 : rpm security update
  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2014-1974.NASL
    descriptionUpdated rpm packages that fix one security issue are now available for Red Hat Enterprise Linux 5 and 6. Red Hat Product Security has rated this update as having Important security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. The RPM Package Manager (RPM) is a powerful command line driven package management system capable of installing, uninstalling, verifying, querying, and updating software packages. Each software package consists of an archive of files along with information about the package such as its version, description, and other information. It was found that RPM wrote file contents to the target installation directory under a temporary name, and verified its cryptographic signature only after the temporary file has been written completely. Under certain conditions, the system interprets the unverified temporary file contents and extracts commands from it. This could allow an attacker to modify signed RPM files in such a way that they would execute code chosen by the attacker during package installation. (CVE-2013-6435) This issue was discovered by Florian Weimer of Red Hat Product Security. All rpm users are advised to upgrade to these updated packages, which contain a backported patch to correct this issue. All running applications linked against the RPM library must be restarted for this update to take effect.
    last seen2020-06-01
    modified2020-06-02
    plugin id79849
    published2014-12-10
    reporterThis script is Copyright (C) 2014-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/79849
    titleRHEL 5 / 6 : rpm (RHSA-2014:1974)
  • NASL familyAmazon Linux Local Security Checks
    NASL idALA_ALAS-2014-458.NASL
    descriptionIt was found that RPM could encounter an integer overflow, leading to a stack-based overflow, while parsing a crafted CPIO header in the payload section of an RPM file. This could allow an attacker to modify signed RPM files in such a way that they would execute code chosen by the attacker during package installation. (CVE-2014-8118) It was found that RPM wrote file contents to the target installation directory under a temporary name, and verified its cryptographic signature only after the temporary file has been written completely. Under certain conditions, the system interprets the unverified temporary file contents and extracts commands from it. This could allow an attacker to modify signed RPM files in such a way that they would execute code chosen by the attacker during package installation. Red Hat has published an excellent analysis of this issue. (CVE-2013-6435)
    last seen2020-06-01
    modified2020-06-02
    plugin id79842
    published2014-12-10
    reporterThis script is Copyright (C) 2014-2018 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/79842
    titleAmazon Linux AMI : rpm (ALAS-2014-458)
  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2014-1976.NASL
    descriptionUpdated rpm packages that fix two security issues are now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having Important 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. The RPM Package Manager (RPM) is a powerful command line driven package management system capable of installing, uninstalling, verifying, querying, and updating software packages. Each software package consists of an archive of files along with information about the package such as its version, description, and other information. It was found that RPM wrote file contents to the target installation directory under a temporary name, and verified its cryptographic signature only after the temporary file has been written completely. Under certain conditions, the system interprets the unverified temporary file contents and extracts commands from it. This could allow an attacker to modify signed RPM files in such a way that they would execute code chosen by the attacker during package installation. (CVE-2013-6435) It was found that RPM could encounter an integer overflow, leading to a stack-based buffer overflow, while parsing a crafted CPIO header in the payload section of an RPM file. This could allow an attacker to modify signed RPM files in such a way that they would execute code chosen by the attacker during package installation. (CVE-2014-8118) These issues were discovered by Florian Weimer of Red Hat Product Security. All rpm users are advised to upgrade to these updated packages, which contain backported patches to correct these issues. All running applications linked against the RPM library must be restarted for this update to take effect.
    last seen2020-06-01
    modified2020-06-02
    plugin id79851
    published2014-12-10
    reporterThis script is Copyright (C) 2014-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/79851
    titleRHEL 7 : rpm (RHSA-2014:1976)
  • NASL familyUbuntu Local Security Checks
    NASL idUBUNTU_USN-2479-1.NASL
    descriptionFlorian Weimer discovered that RPM incorrectly handled temporary files. A local attacker could use this issue to execute arbitrary code. (CVE-2013-6435) Florian Weimer discovered that RPM incorrectly handled certain CPIO headers. If a user or automated system were tricked into installing a malicious package file, a remote attacker could use this issue to cause RPM to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2014-8118). Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu 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 id80854
    published2015-01-20
    reporterUbuntu Security Notice (C) 2015-2019 Canonical, Inc. / NASL script (C) 2015-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/80854
    titleUbuntu 12.04 LTS / 14.04 LTS / 14.10 : rpm vulnerabilities (USN-2479-1)
  • NASL familyOracle Linux Local Security Checks
    NASL idORACLELINUX_ELSA-2014-1976.NASL
    descriptionFrom Red Hat Security Advisory 2014:1976 : Updated rpm packages that fix two security issues are now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having Important 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. The RPM Package Manager (RPM) is a powerful command line driven package management system capable of installing, uninstalling, verifying, querying, and updating software packages. Each software package consists of an archive of files along with information about the package such as its version, description, and other information. It was found that RPM wrote file contents to the target installation directory under a temporary name, and verified its cryptographic signature only after the temporary file has been written completely. Under certain conditions, the system interprets the unverified temporary file contents and extracts commands from it. This could allow an attacker to modify signed RPM files in such a way that they would execute code chosen by the attacker during package installation. (CVE-2013-6435) It was found that RPM could encounter an integer overflow, leading to a stack-based buffer overflow, while parsing a crafted CPIO header in the payload section of an RPM file. This could allow an attacker to modify signed RPM files in such a way that they would execute code chosen by the attacker during package installation. (CVE-2014-8118) These issues were discovered by Florian Weimer of Red Hat Product Security. All rpm users are advised to upgrade to these updated packages, which contain backported patches to correct these issues. All running applications linked against the RPM library must be restarted for this update to take effect.
    last seen2020-06-01
    modified2020-06-02
    plugin id79847
    published2014-12-10
    reporterThis script is Copyright (C) 2014-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/79847
    titleOracle Linux 7 : rpm (ELSA-2014-1976)

Redhat

advisories
  • bugzilla
    id1039811
    titleCVE-2013-6435 rpm: race condition during the installation process
    oval
    OR
    • commentRed Hat Enterprise Linux must be installed
      ovaloval:com.redhat.rhba:tst:20070304026
    • AND
      • commentRed Hat Enterprise Linux 5 is installed
        ovaloval:com.redhat.rhba:tst:20070331005
      • OR
        • AND
          • commentrpm-devel is earlier than 0:4.4.2.3-36.el5_11
            ovaloval:com.redhat.rhsa:tst:20141974001
          • commentrpm-devel is signed with Red Hat redhatrelease key
            ovaloval:com.redhat.rhsa:tst:20100679008
        • AND
          • commentrpm-apidocs is earlier than 0:4.4.2.3-36.el5_11
            ovaloval:com.redhat.rhsa:tst:20141974003
          • commentrpm-apidocs is signed with Red Hat redhatrelease key
            ovaloval:com.redhat.rhsa:tst:20100679012
        • AND
          • commentrpm is earlier than 0:4.4.2.3-36.el5_11
            ovaloval:com.redhat.rhsa:tst:20141974005
          • commentrpm is signed with Red Hat redhatrelease key
            ovaloval:com.redhat.rhsa:tst:20100679010
        • AND
          • commentrpm-libs is earlier than 0:4.4.2.3-36.el5_11
            ovaloval:com.redhat.rhsa:tst:20141974007
          • commentrpm-libs is signed with Red Hat redhatrelease key
            ovaloval:com.redhat.rhsa:tst:20100679006
        • AND
          • commentrpm-python is earlier than 0:4.4.2.3-36.el5_11
            ovaloval:com.redhat.rhsa:tst:20141974009
          • commentrpm-python is signed with Red Hat redhatrelease key
            ovaloval:com.redhat.rhsa:tst:20100679004
        • AND
          • commentpopt is earlier than 0:1.10.2.3-36.el5_11
            ovaloval:com.redhat.rhsa:tst:20141974011
          • commentpopt is signed with Red Hat redhatrelease key
            ovaloval:com.redhat.rhsa:tst:20100679002
        • AND
          • commentrpm-build is earlier than 0:4.4.2.3-36.el5_11
            ovaloval:com.redhat.rhsa:tst:20141974013
          • commentrpm-build is signed with Red Hat redhatrelease key
            ovaloval:com.redhat.rhsa:tst:20100679014
    • AND
      • commentRed Hat Enterprise Linux 6 is installed
        ovaloval:com.redhat.rhba:tst:20111656003
      • OR
        • AND
          • commentrpm-libs is earlier than 0:4.8.0-38.el6_6
            ovaloval:com.redhat.rhsa:tst:20141974016
          • commentrpm-libs is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20111349049
        • AND
          • commentrpm-devel is earlier than 0:4.8.0-38.el6_6
            ovaloval:com.redhat.rhsa:tst:20141974018
          • commentrpm-devel is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20111349043
        • AND
          • commentrpm-build is earlier than 0:4.8.0-38.el6_6
            ovaloval:com.redhat.rhsa:tst:20141974020
          • commentrpm-build is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20111349041
        • AND
          • commentrpm is earlier than 0:4.8.0-38.el6_6
            ovaloval:com.redhat.rhsa:tst:20141974022
          • commentrpm is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20111349047
        • AND
          • commentrpm-python is earlier than 0:4.8.0-38.el6_6
            ovaloval:com.redhat.rhsa:tst:20141974024
          • commentrpm-python is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20111349045
        • AND
          • commentrpm-apidocs is earlier than 0:4.8.0-38.el6_6
            ovaloval:com.redhat.rhsa:tst:20141974026
          • commentrpm-apidocs is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20111349039
        • AND
          • commentrpm-cron is earlier than 0:4.8.0-38.el6_6
            ovaloval:com.redhat.rhsa:tst:20141974028
          • commentrpm-cron is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20111349037
    rhsa
    idRHSA-2014:1974
    released2014-12-09
    severityImportant
    titleRHSA-2014:1974: rpm security update (Important)
  • rhsa
    idRHSA-2014:1975
  • rhsa
    idRHSA-2014:1976
rpms
  • popt-0:1.10.2.3-36.el5_11
  • rpm-0:4.4.2.3-36.el5_11
  • rpm-0:4.8.0-38.el6_6
  • rpm-apidocs-0:4.4.2.3-36.el5_11
  • rpm-apidocs-0:4.8.0-38.el6_6
  • rpm-build-0:4.4.2.3-36.el5_11
  • rpm-build-0:4.8.0-38.el6_6
  • rpm-cron-0:4.8.0-38.el6_6
  • rpm-debuginfo-0:4.4.2.3-36.el5_11
  • rpm-debuginfo-0:4.8.0-38.el6_6
  • rpm-devel-0:4.4.2.3-36.el5_11
  • rpm-devel-0:4.8.0-38.el6_6
  • rpm-libs-0:4.4.2.3-36.el5_11
  • rpm-libs-0:4.8.0-38.el6_6
  • rpm-python-0:4.4.2.3-36.el5_11
  • rpm-python-0:4.8.0-38.el6_6
  • popt-0:1.10.2.3-24.el5_6
  • popt-0:1.10.2.3-34.el5_9
  • rpm-0:4.4.2.3-24.el5_6
  • rpm-0:4.4.2.3-34.el5_9
  • rpm-0:4.8.0-20.el6_2.1
  • rpm-0:4.8.0-33.el6_4
  • rpm-0:4.8.0-38.el6_5
  • rpm-apidocs-0:4.4.2.3-24.el5_6
  • rpm-apidocs-0:4.4.2.3-34.el5_9
  • rpm-apidocs-0:4.8.0-20.el6_2.1
  • rpm-apidocs-0:4.8.0-33.el6_4
  • rpm-apidocs-0:4.8.0-38.el6_5
  • rpm-build-0:4.4.2.3-24.el5_6
  • rpm-build-0:4.4.2.3-34.el5_9
  • rpm-build-0:4.8.0-20.el6_2.1
  • rpm-build-0:4.8.0-33.el6_4
  • rpm-build-0:4.8.0-38.el6_5
  • rpm-cron-0:4.8.0-20.el6_2.1
  • rpm-cron-0:4.8.0-33.el6_4
  • rpm-cron-0:4.8.0-38.el6_5
  • rpm-debuginfo-0:4.4.2.3-24.el5_6
  • rpm-debuginfo-0:4.4.2.3-34.el5_9
  • rpm-debuginfo-0:4.8.0-20.el6_2.1
  • rpm-debuginfo-0:4.8.0-33.el6_4
  • rpm-debuginfo-0:4.8.0-38.el6_5
  • rpm-devel-0:4.4.2.3-24.el5_6
  • rpm-devel-0:4.4.2.3-34.el5_9
  • rpm-devel-0:4.8.0-20.el6_2.1
  • rpm-devel-0:4.8.0-33.el6_4
  • rpm-devel-0:4.8.0-38.el6_5
  • rpm-libs-0:4.4.2.3-24.el5_6
  • rpm-libs-0:4.4.2.3-34.el5_9
  • rpm-libs-0:4.8.0-20.el6_2.1
  • rpm-libs-0:4.8.0-33.el6_4
  • rpm-libs-0:4.8.0-38.el6_5
  • rpm-python-0:4.4.2.3-24.el5_6
  • rpm-python-0:4.4.2.3-34.el5_9
  • rpm-python-0:4.8.0-20.el6_2.1
  • rpm-python-0:4.8.0-33.el6_4
  • rpm-python-0:4.8.0-38.el6_5
  • rpm-0:4.11.1-18.el7_0
  • rpm-apidocs-0:4.11.1-18.el7_0
  • rpm-build-0:4.11.1-18.el7_0
  • rpm-build-libs-0:4.11.1-18.el7_0
  • rpm-cron-0:4.11.1-18.el7_0
  • rpm-debuginfo-0:4.11.1-18.el7_0
  • rpm-devel-0:4.11.1-18.el7_0
  • rpm-libs-0:4.11.1-18.el7_0
  • rpm-python-0:4.11.1-18.el7_0
  • rpm-sign-0:4.11.1-18.el7_0