Vulnerabilities > CVE-2019-3464 - Improper Initialization vulnerability in multiple products

047910
CVSS 9.8 - CRITICAL
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
HIGH
Integrity impact
HIGH
Availability impact
HIGH
network
low complexity
pizzashack
debian
fedoraproject
canonical
CWE-665
critical
nessus

Summary

Insufficient sanitization of environment variables passed to rsync can bypass the restrictions imposed by rssh, a restricted shell that should restrict users to perform only rsync operations, resulting in the execution of arbitrary shell commands.

Common Weakness Enumeration (CWE)

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Leveraging Race Conditions
    This attack targets a race condition occurring when multiple processes access and manipulate the same resource concurrently and the outcome of the execution depends on the particular order in which the access takes place. The attacker can leverage a race condition by "running the race", modifying the resource and modifying the normal execution flow. For instance a race condition can occur while accessing a file, the attacker can trick the system by replacing the original file with his version and cause the system to read the malicious file.
  • Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions
    This attack targets a race condition occurring between the time of check (state) for a resource and the time of use of a resource. The typical example is the file access. The attacker can leverage a file access race condition by "running the race", meaning that he would modify the resource between the first time the target program accesses the file and the time the target program uses the file. During that period of time, the attacker could do something such as replace the file and cause an escalation of privilege.

Nessus

  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2019-E47ADD6B2B.NASL
    descriptionFix CVE-2019-3463, CVE-2019-3464 and CVE-2019-1000018. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. 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 id130801
    published2019-11-12
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/130801
    titleFedora 31 : rssh (2019-e47add6b2b)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2019-D1487C13AC.NASL
    descriptionFix CVE-2019-3463, CVE-2019-3464 and CVE-2019-1000018. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. 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 id130796
    published2019-11-12
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/130796
    titleFedora 30 : rssh (2019-d1487c13ac)
  • NASL familyAmazon Linux Local Security Checks
    NASL idALA_ALAS-2019-1328.NASL
    descriptionInsufficient sanitation of environment variables passed to rsync can bypass the restrictions imposed by rssh, a restricted shell that should restrict users to perform only rsync operations, resulting in the execution of arbitrary shell commands. (CVE-2019-3464) Insufficient sanitation of arguments passed to rsync can bypass the restrictions imposed by rssh, a restricted shell that should restrict users to perform only rsync operations, resulting in the execution of arbitrary shell commands. (CVE-2019-3463) rssh version 2.3.4 contains a CWE-77: Improper Neutralization of Special Elements used in a Command (
    last seen2020-06-01
    modified2020-06-02
    plugin id132323
    published2019-12-20
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/132323
    titleAmazon Linux AMI : rssh (ALAS-2019-1328)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2019-BFB407659E.NASL
    descriptionFix CVE-2019-3463, CVE-2019-3464 and CVE-2019-1000018. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. 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 id130794
    published2019-11-12
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/130794
    titleFedora 29 : rssh (2019-bfb407659e)
  • NASL familyDebian Local Security Checks
    NASL idDEBIAN_DSA-4382.NASL
    descriptionNick Cleaton discovered two vulnerabilities in rssh, a restricted shell that allows users to perform only scp, sftp, cvs, svnserve (Subversion), rdist and/or rsync operations. Missing validation in the rsync support could result in the bypass of this restriction, allowing the execution of arbitrary shell commands.
    last seen2020-03-17
    modified2019-02-04
    plugin id121560
    published2019-02-04
    reporterThis script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/121560
    titleDebian DSA-4382-1 : rssh - security update
  • NASL familyFreeBSD Local Security Checks
    NASL idFREEBSD_PKG_D193AA9F3F8C11E99A246805CA0B38E8.NASL
    descriptionNVD reports : rssh version 2.3.4 contains a CWE-77: Improper Neutralization of Special Elements used in a Command (
    last seen2020-06-01
    modified2020-06-02
    plugin id122658
    published2019-03-07
    reporterThis script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/122658
    titleFreeBSD : rssh - multiple vulnerabilities (d193aa9f-3f8c-11e9-9a24-6805ca0b38e8)
  • NASL familyUbuntu Local Security Checks
    NASL idUBUNTU_USN-3946-1.NASL
    descriptionIt was discovered that rssh incorrectly handled certain command-line arguments and environment variables. An authenticated user could bypass rssh
    last seen2020-06-01
    modified2020-06-02
    plugin id124019
    published2019-04-12
    reporterUbuntu Security Notice (C) 2019-2020 Canonical, Inc. / NASL script (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/124019
    titleUbuntu 14.04 LTS / 16.04 LTS / 18.04 LTS / 18.10 : rssh vulnerabilities (USN-3946-1)