The OpenNET Project
 
Search (keywords):  SOFT ARTICLES TIPS & TRICKS SECURITY
LINKS NEWS MAN DOCUMENTATION


SysCP WebFTP local file inclusion vulnerability


<< Previous INDEX Search src / Print Next >>
Date: Wed, 04 Jan 2006 21:38:00 +0100
From: Thomas Henlich <thomas@henlich.de.>
To: [email protected]
Subject: SysCP WebFTP local file inclusion vulnerability
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: antivirus-gw at tyumen.ru

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.





<< Previous INDEX Search src / Print Next >>



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2025 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру