Matt Johnston has reported two vulnerabilities in RsyncX, which can be exploited by malicious, local users to gain escalated privileges.
1) It is possible to execute arbitrary commands with "wheel" group privileges by including the path to a malicious "defaults" file in the "PATH" environment variable.
2) The scheduler component creates the temporary file "cron*rsyncx*" insecurely in the "/tmp" folder. This can be exploited via symlink attacks to conduct certain actions on the system with escalated privileges.
The vulnerabilities have been confirmed in version 2.1. Other versions may also be affected.
Solution: The vendor reports that the setgid bit can be removed to prevent the first vulnerability from being exploited to gain escalated privileges.
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to firstname.lastname@example.org