DHIS Tools contains a flaw that may allow a malicious local user to overwrite arbitrary files on the system. The issue is due to the script 'register-p.sh' creating temporary files insecurely. It is possible for a user to use a symlink style attack to manipulate arbitrary files, resulting in a loss of integrity.
Classification
Location:
Local Access Required
Attack Type:
Race Condition
Impact:
Loss of Integrity
Exploit:
Exploit Unknown
Disclosure:
OSVDB Verified
Solution
Debian users can upgrade to dhis-tools-dns version 5.0-3sarge1 or higher for the stable distribution (sarge), or version 5.0-5 for the unstable distribution (sid), as they have been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.