`SYSCP WEBFTP LOCAL FILE INCLUSION VULNERABILITY
Thomas Henlich
DESCRIPTION
Thomas Henlich has discovered a vulnerability in WebFTP, which can be
used by remote attackers to disclose potentially sensitive information
and to compromise a vulnerable system.
Input passed to the "webftp_language" parameter in "webftp.php" isn't
properly validated before being used to include files. This can be
exploited to include arbitrary files from local sources.
Successful exploitation allows execution of arbitrary local PHP scripts
on a vulnerable server with privileges of the web server daemon without
requiring authentication.
BACKGROUND
SysCP is an open-source shared server management tool for Linux servers.
The WebFTP module is a SysCP module which provides a Web interface to
manage files on a FTP server. WebFTP can be used independently from a
SysCP installation.
AFFECTED VERSIONS
- WebFTP 1.2.6
- possibly earlier versions as well component
RESOLUTION
Upgrade to version 1.2.8 or higher.
PROOF OF CONCEPT
Perform a POST request to webftp.php with a variable
webftp_language=../../<some_file>%%00
TIMELINE
2005-12-01: Initial vendor notification.
2005-12-01: Initial vendor reply.
2005-12-07: Bugfix available.
2006-01-04: Public disclosure.
`
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation