CVE-2019-11193 in DirectAdmininfo

Summary

by MITRE

The FileManager in InfinitumIT DirectAdmin through v1.561 has XSS via CMD_FILE_MANAGER, CMD_SHOW_USER, and CMD_SHOW_RESELLER; an attacker can bypass the CSRF protection with this, and take over the administration panel.

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Analysis

by VulDB Data Team • 12/16/2025

The vulnerability CVE-2019-11193 represents a critical cross-site scripting flaw within the FileManager component of InfinitumIT DirectAdmin software version 1.561 and earlier. This vulnerability exists in the file management functionality that handles three specific command parameters: CMD_FILE_MANAGER, CMD_SHOW_USER, and CMD_SHOW_RESELLER. The flaw allows attackers to inject malicious scripts into the web application's response, which are then executed in the context of authenticated users' browsers. The vulnerability's severity is compounded by the fact that it can bypass existing CSRF protection mechanisms that are typically designed to prevent unauthorized administrative actions. This dual nature of the vulnerability creates a particularly dangerous attack vector where an attacker can first establish a persistent XSS payload and then leverage it to escalate privileges and gain full administrative control over the DirectAdmin panel.

The technical implementation of this vulnerability stems from insufficient input validation and output encoding within the file manager's command handling logic. When the application processes the CMD_FILE_MANAGER, CMD_SHOW_USER, and CMD_SHOW_RESELLER parameters, it fails to properly sanitize user-supplied data before incorporating it into HTML responses. This allows attackers to inject malicious JavaScript code through these parameters, which then executes in the browser of any user who views the affected content. The bypass of CSRF protection mechanisms indicates that the application's security controls are inadequately designed to handle scenarios where XSS vulnerabilities can be exploited to circumvent intended security boundaries. This particular weakness aligns with CWE-79 Cross-site Scripting, which specifically addresses the injection of malicious scripts into web applications, and CWE-352 Cross-site Request Forgery, which deals with the bypass of security controls through unauthorized requests.

The operational impact of CVE-2019-11193 extends beyond simple data theft or display manipulation, as it enables complete administrative takeover of the DirectAdmin panel. Once an attacker successfully injects malicious scripts through the vulnerable parameters, they can leverage this initial foothold to perform actions such as creating new user accounts, modifying existing user permissions, accessing sensitive configuration data, and ultimately gaining complete control over the hosting environment. The vulnerability's exploitation path allows for privilege escalation from regular user access to administrative privileges, creating a significant risk for hosting providers and their customers. This type of attack can result in widespread compromise of multiple user accounts and potentially entire hosting environments, as the compromised administrative access can be used to manipulate server configurations, steal sensitive data, and establish persistent backdoors. The attack vector's persistence is enhanced by the fact that XSS payloads can remain undetected for extended periods, allowing attackers to maintain access while conducting reconnaissance and data exfiltration activities.

Organizations affected by CVE-2019-11193 should immediately implement multiple layers of defensive measures to protect their systems. The primary mitigation involves applying the vendor-provided patch or upgrade to DirectAdmin version 1.562 or later, which contains the necessary fixes for the XSS vulnerability and CSRF protection bypass. Additionally, implementing robust input validation and output encoding mechanisms can help prevent similar vulnerabilities from occurring in other components of the application. Network-based solutions such as web application firewalls should be configured to detect and block malicious payloads targeting these specific command parameters. Security monitoring should be enhanced to detect unusual administrative activities that might indicate successful exploitation attempts. From an ATT&CK framework perspective, this vulnerability maps to techniques such as T1059 Command and Scripting Interpreter and T1548.001 Valid Accounts, as attackers can use the XSS to execute commands and escalate privileges through administrative accounts. Organizations should also consider implementing principle of least privilege access controls and regular security audits to minimize the potential impact of such vulnerabilities. The remediation process should include thorough testing of the patched version to ensure that the fix does not introduce regressions in functionality while maintaining the security improvements necessary to address the identified weaknesses.

Reservation

04/11/2019

Moderation

accepted

CPE

ready

Exploit

Download

EPSS

0.02094

KEV

no

Activities

very low

Sources

Do you need the next level of professionalism?

Upgrade your account now!