Plugin ID | 99 |
Plugin name | rsync prior 2.6.3 path sanitation vulnerability |
Plugin filename | rsync prior 2.6.3 path sanitation vulnerability.plugin |
Plugin filesize | 3875 bytes |
Plugin family | Misc |
Plugin created name | Marc Ruef |
Plugin created email | marc dot ruef at computec dot ch |
Plugin created web | http://www.computec.ch |
Plugin created company | computec.ch |
Plugin created date | 2004/08/17 |
Plugin updated name | Marc Ruef |
Plugin updated email | marc dot ruef at computec dot ch |
Plugin updated web | http://www.computec.ch |
Plugin updated company | computec.ch |
Plugin updated date | 2004/11/13 |
Plugin version | 1.2 |
Plugin changelog | Corrected the plugin structure and added the accuracy values in 1.2 |
Plugin protocol | tcp |
Plugin port | 873 |
Plugin procedure detection | open|sleep|close|pattern_exists *@RSYNCD:*[0-2]* |
Plugin detection accuracy | 90 |
Plugin comment | Check is copied from the Nessus plugin (see Nessus ID listed in the sources). SuSE has its own advisory for this bug at http://www.suse.de/security/2004_26_rsync.html (Nessus ID 14276). |
Bug published web | http://rsync.samba.org |
Bug published company | rsync Team |
Bug published date | 2004/08/12 |
Bug advisory | http://samba.org/rsync/#security_aug04 |
Bug affected | rsync 2.3.1 bis rsync 2.6.2 |
Bug not affected | rsync 2.6.3 |
Bug vulnerability class | Weak Authentication |
Bug description | A vulnerability has been reported in rsync, which potentially can be exploited by malicious users to read or write arbitrary files on a vulnerable system. The vulnerability is caused due to an input validation error. An attacker, exploiting this flaw, would need network access to the rsyncd service as well as the ability to craft a malicious packet which, when interpreted by rsyncd, would give 'read' access to a file outside of the rsync configured directory structure. Successful exploitation requires that the rsync daemon isn't running chrooted. At least one default implementation of rsyncd utilizes chroot by default. |
Bug solution | Upgrade to rsync 2.6.3 or newer. The server should be deactivated or de-installed if not necessary. To make it harder to find the server the daemon could be configured to listen at another port (e.g. 8081). Try to prevent unwanted connection attempts by filtering traffic with firewalling. Alternation of the application banner can confuse an attacker and let him determine the wrong software. |
Bug fixing time | Approx. 2 hours |
Bug exploit availability | No |
Bug exploit url | http://www.securityfocus.com/bid/10938/exploit/ |
Bug remote | Yes |
Bug local | Yes |
Bug severity | Medium |
Bug popularity | 5 |
Bug simplicity | 6 |
Bug impact | 8 |
Bug risk | 6 |
Bug Nessus risk | High |
Bug check tools | Nessus |
Source SecurityFocus BID | 10938 |
Source Secunia ID | 12294 |
Source Heise Security | 50061 |
Source Nessus ID | 14277 |
Source Literature | Hacking Exposed: Network Security Secrets & Solutions, Stuart McClure, Joel Scambray and George Kurtz, February 25, 2003, 4th Edition, McGraw-Hill Osborne Media, ISBN 0072227427 |
Source Misc. | http://www.securityfocus.com/advisories/7071 |