ID CVE-2008-1720
Summary Buffer overflow in rsync 2.6.9 to 3.0.1, with extended attribute (xattr) support enabled, might allow remote attackers to execute arbitrary code via unknown vectors.
References
Vulnerable Configurations
  • Samba Rsync 2.6.9
    cpe:2.3:a:samba:rsync:2.6.9
  • cpe:2.3:a:samba:rsync:2.7.0
    cpe:2.3:a:samba:rsync:2.7.0
  • cpe:2.3:a:samba:rsync:2.7.1
    cpe:2.3:a:samba:rsync:2.7.1
  • cpe:2.3:a:samba:rsync:2.7.2
    cpe:2.3:a:samba:rsync:2.7.2
  • cpe:2.3:a:samba:rsync:2.7.3
    cpe:2.3:a:samba:rsync:2.7.3
  • cpe:2.3:a:samba:rsync:2.7.4
    cpe:2.3:a:samba:rsync:2.7.4
  • cpe:2.3:a:samba:rsync:2.7.5
    cpe:2.3:a:samba:rsync:2.7.5
  • cpe:2.3:a:samba:rsync:2.7.6
    cpe:2.3:a:samba:rsync:2.7.6
  • cpe:2.3:a:samba:rsync:2.7.7
    cpe:2.3:a:samba:rsync:2.7.7
  • cpe:2.3:a:samba:rsync:2.7.8
    cpe:2.3:a:samba:rsync:2.7.8
  • cpe:2.3:a:samba:rsync:2.7.9
    cpe:2.3:a:samba:rsync:2.7.9
  • cpe:2.3:a:samba:rsync:2.8.0
    cpe:2.3:a:samba:rsync:2.8.0
  • cpe:2.3:a:samba:rsync:2.8.1
    cpe:2.3:a:samba:rsync:2.8.1
  • cpe:2.3:a:samba:rsync:2.8.2
    cpe:2.3:a:samba:rsync:2.8.2
  • cpe:2.3:a:samba:rsync:2.8.3
    cpe:2.3:a:samba:rsync:2.8.3
  • cpe:2.3:a:samba:rsync:2.8.4
    cpe:2.3:a:samba:rsync:2.8.4
  • cpe:2.3:a:samba:rsync:2.8.5
    cpe:2.3:a:samba:rsync:2.8.5
  • cpe:2.3:a:samba:rsync:2.8.6
    cpe:2.3:a:samba:rsync:2.8.6
  • cpe:2.3:a:samba:rsync:2.8.7
    cpe:2.3:a:samba:rsync:2.8.7
  • cpe:2.3:a:samba:rsync:2.8.8
    cpe:2.3:a:samba:rsync:2.8.8
  • cpe:2.3:a:samba:rsync:2.8.9
    cpe:2.3:a:samba:rsync:2.8.9
  • cpe:2.3:a:samba:rsync:2.9.0
    cpe:2.3:a:samba:rsync:2.9.0
  • cpe:2.3:a:samba:rsync:2.9.1
    cpe:2.3:a:samba:rsync:2.9.1
  • cpe:2.3:a:samba:rsync:2.9.2
    cpe:2.3:a:samba:rsync:2.9.2
  • cpe:2.3:a:samba:rsync:2.9.3
    cpe:2.3:a:samba:rsync:2.9.3
  • cpe:2.3:a:samba:rsync:2.9.4
    cpe:2.3:a:samba:rsync:2.9.4
  • cpe:2.3:a:samba:rsync:2.9.5
    cpe:2.3:a:samba:rsync:2.9.5
  • cpe:2.3:a:samba:rsync:2.9.6
    cpe:2.3:a:samba:rsync:2.9.6
  • cpe:2.3:a:samba:rsync:2.9.7
    cpe:2.3:a:samba:rsync:2.9.7
  • cpe:2.3:a:samba:rsync:2.9.8
    cpe:2.3:a:samba:rsync:2.9.8
  • cpe:2.3:a:samba:rsync:2.9.9
    cpe:2.3:a:samba:rsync:2.9.9
  • Samba Rsync 3.0.0
    cpe:2.3:a:samba:rsync:3.0.0
  • Samba Rsync 3.0.1
    cpe:2.3:a:samba:rsync:3.0.1
CVSS
Base: 7.5 (as of 10-04-2008 - 15:15)
Impact:
Exploitability:
CWE CWE-119
CAPEC
  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
  • Overflow Binary Resource File
    An attack of this type exploits a buffer overflow vulnerability in the handling of binary resources. Binary resources may include music files like MP3, image files like JPEG files, and any other binary file. These attacks may pass unnoticed to the client machine through normal usage of files, such as a browser loading a seemingly innocent JPEG file. This can allow the attacker access to the execution stack and execute arbitrary code in the target process. This attack pattern is a variant of standard buffer overflow attacks using an unexpected vector (binary files) to wrap its attack and open up a new attack vector. The attacker is required to either directly serve the binary content to the victim, or place it in a locale like a MP3 sharing application, for the victim to download. The attacker then is notified upon the download or otherwise locates the vulnerability opened up by the buffer overflow.
  • Buffer Overflow via Symbolic Links
    This type of attack leverages the use of symbolic links to cause buffer overflows. An attacker can try to create or manipulate a symbolic link file such that its contents result in out of bounds data. When the target software processes the symbolic link file, it could potentially overflow internal buffers with insufficient bounds checking.
  • Overflow Variables and Tags
    This type of attack leverages the use of tags or variables from a formatted configuration data to cause buffer overflow. The attacker crafts a malicious HTML page or configuration file that includes oversized strings, thus causing an overflow.
  • Buffer Overflow via Parameter Expansion
    In this attack, the target software is given input that the attacker knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow.
  • Buffer Overflow in an API Call
    This attack targets libraries or shared code modules which are vulnerable to buffer overflow attacks. An attacker who has access to an API may try to embed malicious code in the API function call and exploit a buffer overflow vulnerability in the function's implementation. All clients that make use of the code library thus become vulnerable by association. This has a very broad effect on security across a system, usually affecting more than one software process.
  • Buffer Overflow in Local Command-Line Utilities
    This attack targets command-line utilities available in a number of shells. An attacker can leverage a vulnerability found in a command-line utility to escalate privilege to root.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
nessus via4
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-600-1.NASL
    description Sebastian Krahmer discovered that rsync could overflow when handling ACLs. An attacker could construct a malicious set of files that when processed by rsync could lead to arbitrary code execution or a crash. 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 seen 2019-02-21
    modified 2018-11-28
    plugin id 31966
    published 2008-04-17
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=31966
    title Ubuntu 7.04 / 7.10 : rsync vulnerability (USN-600-1)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2008-3060.NASL
    description - Tue Apr 8 2008 Simo Sorce 2.6.9-6.fc7 - Security release: http://rsync.samba.org/security.html#s3_0_2 - Wed Sep 5 2007 Simo Sorce 2.6.9-3.fc7 - Add patch to fix crash bug with hardlinks and ACLs patches 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 seen 2019-02-21
    modified 2015-10-21
    plugin id 31974
    published 2008-04-18
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=31974
    title Fedora 7 : rsync-2.6.9-6.fc7 (2008-3060)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_RSYNC-5207.NASL
    description A remotely exploitable heap overflow in rsync's xattr code has been fixed. CVE-2008-1720 has been assigned to this issue.
    last seen 2019-02-21
    modified 2014-06-13
    plugin id 32120
    published 2008-05-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=32120
    title openSUSE 10 Security Update : rsync (rsync-5207)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-1545.NASL
    description Sebastian Krahmer discovered that an integer overflow in rsync's code for handling extended attributes may lead to arbitrary code execution.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 31951
    published 2008-04-17
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=31951
    title Debian DSA-1545-1 : rsync - integer overflow
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-200804-16.NASL
    description The remote host is affected by the vulnerability described in GLSA-200804-16 (rsync: Execution of arbitrary code) Sebastian Krahmer of SUSE reported an integer overflow in the expand_item_list() function in the file util.c which might lead to a heap-based buffer overflow when extended attribute (xattr) support is enabled. Impact : A remote attacker could send a file containing specially crafted extended attributes to an rsync deamon, or entice a user to sync from an rsync server containing specially crafted files, possibly leading to the execution of arbitrary code. Please note that extended attributes are only enabled when USE='acl' is enabled, which is the default setting. Workaround : Disable extended attributes in the rsync daemon by setting 'refuse options = xattrs' in the file '/etc/rsyncd.conf' (or append 'xattrs' to an existing 'refuse' statement). When synchronizing to a server, do not provide the '-X' parameter to rsync. You can also disable the 'acl' USE flag for rsync and recompile the package.
    last seen 2019-02-21
    modified 2018-08-10
    plugin id 32009
    published 2008-04-22
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=32009
    title GLSA-200804-16 : rsync: Execution of arbitrary code
  • NASL family Mandriva Local Security Checks
    NASL id MANDRIVA_MDVSA-2008-084.NASL
    description Sebastian Krahmer of SUSE discovered that rsync could overflow when handling ACLs. An attacker could construct a malicious set of files that, when processed, could lead to arbitrary code execution or a crash (CVE-2008-1720). The updated packages have been patched to correct this issue.
    last seen 2019-02-21
    modified 2018-07-19
    plugin id 36629
    published 2009-04-23
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=36629
    title Mandriva Linux Security Advisory : rsync (MDVSA-2008:084)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2008-3047.NASL
    description - Tue Apr 8 2008 Simo Sorce 2.6.9-5.fc8 - Security release: http://rsync.samba.org/security.html#s3_0_2 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 seen 2019-02-21
    modified 2015-10-21
    plugin id 31972
    published 2008-04-18
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=31972
    title Fedora 8 : rsync-2.6.9-5.fc8 (2008-3047)
refmap via4
bid 28726
confirm
debian DSA-1545
fedora
  • FEDORA-2008-3047
  • FEDORA-2008-3060
gentoo GLSA-200804-16
hp
  • HPSBMA02447
  • SSRT090062
mandriva MDVSA-2008:084
mlist [rsync-announce] 20080408 Rsync 3.0.2 released w/xattr security fix (attn: 2.6.9 onward)
osvdb
  • 44368
  • 44369
sectrack 1019835
secunia
  • 29668
  • 29770
  • 29777
  • 29781
  • 29788
  • 29856
  • 29861
suse SUSE-SR:2008:011
ubuntu USN-600-1
vupen
  • ADV-2008-1191
  • ADV-2008-1215
xf rsync-xattr-bo(41766)
statements via4
contributor Joshua Bressers
lastmodified 2008-04-15
organization Red Hat
statement Not vulnerable. This issue did not affect versions of rsync as shipped with Red Hat Enterprise Linux 2.1, 3, 4, or 5.
Last major update 07-03-2011 - 22:07
Published 10-04-2008 - 15:05
Last modified 03-10-2018 - 17:54
Back to Top