CVE-2019-25681
8.4Xlight · FTP Server
Xlight FTP Server 3.9.1 is susceptible to a buffer overflow via a structured exception handler (SEH) overwrite when processing crafted input in the virtual server configuration.
Executive summary
A critical buffer overflow vulnerability in Xlight FTP Server 3.9.1 allows local attackers to corrupt memory and potentially execute arbitrary code.
Vulnerability
The application contains an out-of-bounds write vulnerability (CWE-787) where a local attacker can supply a crafted 428-byte buffer into the program execution field of the virtual server configuration. This action overwrites the structured exception handler chain, which can be leveraged to crash the application or achieve code execution.
Business impact
Successful exploitation of this vulnerability allows an attacker to compromise the integrity and availability of the FTP server. Because the vulnerability involves memory corruption, an attacker could potentially gain unauthorized code execution on the host system, leading to full system compromise. With a CVSS score of 8.4, this flaw represents a significant risk to any environment hosting Xlight FTP Server.
Remediation
Immediate Action: As no official patch is confirmed for this specific version, administrators should restrict access to the virtual server configuration settings to authorized administrative personnel only.
Proactive Monitoring: Audit server logs for unexpected application crashes or service restarts that may indicate attempted buffer overflow exploitation.
Compensating Controls: Ensure that the host system running the FTP service is hardened and that the application process runs with the least privilege necessary to limit the impact of a potential compromise.
Exploitation status
Public Exploit Available: Yes, a proof-of-concept exploit is available via ExploitDB (EDB-ID 46458).
Analyst recommendation
Given the availability of a public proof-of-concept and the high severity of memory corruption vulnerabilities, organizations using Xlight FTP Server 3.9.1 must prioritize securing the management interface. Limit administrative access to the virtual server configuration to trusted internal personnel and monitor for any signs of service instability that could signal an attempt to trigger this overflow.
More Xlight CVEs
Sources
Originally found and disclosed by Logan Whitmire, per the CVE Program record.
- ExploitDB-46458 Exploit / PoC
- Official Product Homepage
- Product Reference
- VulnCheck Advisory: Xlight FTP Server 3.9.1 SEH Overwrite Buffer Overflow Third-party advisory