{"vuid":"VU#800635","idnumber":"800635","name":"rsync fails to properly handle negative values specified for signed integers thereby allowing remote command execution","keywords":["rsync","negative values","signed integers","remote command execution"],"overview":"There exist several signed-integer vulnerabilities in rsync. If rsync is run as a daemon, a remote-root compromise may be possible.","clean_desc":"Included in most distributions of Linux, rsync is a popular tool for synchronizing files across multiple hosts. Though not enabled in the default configuration, rsync can be run as a daemon to facilitate the distribution of files to FTP mirror sites. Researchers have found several vulnerabilities in rsync, resulting from the use of signed integer variables. If rsync receives negative integers where it expects positive integers, it can forced to overwrite arbitrary bytes of the stack with zeroes (null-bytes).","impact":"The rsync process can be used to exploited to execute arbitrary code. If rsync is run as a daemon, a remote attacker can execute arbitrary code as the owner of the rsync process, generally root.","resolution":"Apply a patch from your vendor.","workarounds":"Use the \"chroot\" option in the rsync config file to limit rsync's access to the filesystem.","sysaffected":"","thanks":"Thanks to Conectiva for reporting this vulnerability.","author":"This document was written by Shawn Van Ittersum.","public":[],"cveids":["CVE-2002-0048"],"certadvisory":"","uscerttechnicalalert":null,"datecreated":"2002-01-29T23:49:32Z","publicdate":"2002-01-25T00:00:00Z","datefirstpublished":"2002-09-16T21:26:42Z","dateupdated":"2002-09-16T21:26:50Z","revision":11,"vrda_d1_directreport":"","vrda_d1_population":"","vrda_d1_impact":"","cam_widelyknown":"15","cam_exploitation":"0","cam_internetinfrastructure":"15","cam_population":"6","cam_impact":"19","cam_easeofexploitation":"14","cam_attackeraccessrequired":"17","cam_scorecurrent":"15.26175","cam_scorecurrentwidelyknown":"17.805375","cam_scorecurrentwidelyknownexploited":"27.979875","ipprotocol":"","cvss_accessvector":"","cvss_accesscomplexity":"","cvss_authentication":null,"cvss_confidentialityimpact":"","cvss_integrityimpact":"","cvss_availabilityimpact":"","cvss_exploitablity":null,"cvss_remediationlevel":"","cvss_reportconfidence":"","cvss_collateraldamagepotential":"","cvss_targetdistribution":"","cvss_securityrequirementscr":"","cvss_securityrequirementsir":"","cvss_securityrequirementsar":"","cvss_basescore":"","cvss_basevector":"","cvss_temporalscore":"","cvss_environmentalscore":"","cvss_environmentalvector":"","metric":15.26175,"vulnote":null}