A security issue and a vulnerability have been reported in DirectAdmin, which can be exploited by malicious, local users to gain escalated privileges.
1) The application creates temporary files in an insecure manner when handling database backup requests sent to "CMD_DB". This can be exploited to overwrite arbitrary files with root privileges via symlink attacks.
2) Input passed via the "name" parameter to "CMD_DB" (when "action" is set to "restore") is not properly sanitised before being used to execute shell commands. This can be exploited to inject and execute arbitrary commands with root privileges via shell meta characters.
The security issue and the vulnerability are reported in versions prior to 1.33.4.
Solution: Update to version 1.33.4.
Provided and/or discovered by: Anonymous
Original Advisory: http://archives.neohapsis.com/archives/fulldisclosure/2009-04/0228.html
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
Subject: DirectAdmin Database Backup and Restore Vulnerabilities
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.