A security issue and a vulnerability have been reported in DirectAdmin, which can be exploited by malicious, local users to perform certain actions with escalated privileges, and by malicious people to conduct cross-site scripting attacks.
1) Input passed via the query string to e.g. CMD_REDIRECT is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
2) The application incorrectly follows symlinks while performing backups. This can be exploited to read arbitrary files with root privileges via symlink attacks.
The vulnerability and the security issue are reported in version 1.33.6. Other versions may also be affected.
Solution: Filter malicious characters and character sequences in a proxy. Restrict access to trusted users only.
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 Cross-Site Scripting and Privilege Escalation
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.