Apache Input Validation Hole in mod_proxy_ftp Permits Cross-Site Scripting Attacks
SecurityTracker Alert ID: 1019185|
SecurityTracker URL: http://securitytracker.com/id/1019185
(Links to External Site)
Updated: Jan 23 2008|
Original Entry Date: Jan 11 2008
Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information|
Fix Available: Yes Vendor Confirmed: Yes |
Version(s): 1.3.x, 2.0.x, 2.2.x|
A vulnerability was reported in Apache mod_proxy_ftp. A remote user can conduct cross-site scripting attacks.|
The mod_proxy_ftp module does not properly filter HTML code from UTF-7 character set user-supplied input before displaying the input. A remote user can create a specially crafted URL that, when loaded by a target user, will cause arbitrary scripting code to be executed by the target user's browser. The code will originate from the site running the Apache software and will run in the security context of that site. As a result, the code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.
sp3x of SecurityReason reported this vulnerability.
The original advisory is available at:
A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the Apache software, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.|
The vendor has issued fixed versions (1.3.40-dev, 2.0.62-dev, 2.0.63, 2.2.7-dev, 2.2.8).|
Vendor URL: httpd.apache.org/ (Links to External Site)
Input validation error|
|Underlying OS: Linux (Any), UNIX (Any), Windows (Any)|
This archive entry has one or more follow-up message(s) listed below.|
Source Message Contents
Subject: [Full-disclosure] SecurityReason - Apache (mod_proxy_ftp) Undefined|
-----BEGIN PGP SIGNED MESSAGE-----
[SecurityReason - Apache (mod_proxy_ftp) Undefined Charset UTF-7 XSS Vulnerability]
- - Written: 15.12.2007
- - Public: 10.01.2008
SecurityAlert Id: 49
Affected Software: Apache 2.2.x (mod_proxy_ftp)
Advisory URL: http://securityreason.com/achievement_securityalert/49
- --- 0.Description ---
The Apache HTTP Server Project is an effort to develop and maintain an open-source HTTP server for modern operating systems including
UNIX and Windows NT. The goal of this project is to provide a secure, efficient and extensible server that provides HTTP services
in sync with the current HTTP standards.
Apache has been the most popular web server on the Internet since April 1996. The November 2005 Netcraft Web Server Survey found that
more than 70% of the web sites on the Internet are using Apache, thus making it more widely used than all other web servers combined.
mod_proxy_ftp : http://httpd.apache.org/docs/2.2/mod/mod_proxy_ftp.html
- From apache site : "It provides support for the proxying FTP sites. Note that FTP support is currently limited to the GET method."
- --- 1. Apache Undefined Charset UTF-7 XSS Vulnerability ---
The XSS(UTF7) exist in mod_proxy_ftp.c . Charset is not defined
and we can provide XSS attack using ";" char in URL by setting Charset to UTF-7.
- --- 2. Exploit ---
SecurityReason is not going to release a exploit to the general public.
Exploit was provided and tested for Apache Team .
- --- 3. How to fix ---
Update to Apache 2.2.7-dev
- --- 4. References ---
Apache2 Undefined Charset UTF-7 XSS Vulnerability : http://securityreason.com/achievement_securityalert/46 by Maksymilian Arciemowicz
- --- 5. Greets ---
For: Maksymilian Arciemowicz ( cXIb8O3 ), Infospec, pi3, p_e_a, mpp
- --- 6. Contact ---
Email: sp3x [at] securityreason [dot] com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.7 (GNU/Linux)
-----END PGP SIGNATURE-----
Full-Disclosure - We believe in it.
Hosted and sponsored by Secunia - http://secunia.com/