SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Web Server/CGI)  >   Apache HTTPD Vendors:   Apache Software Foundation
Apache Input Validation Hole in mod_proxy_ftp Permits Cross-Site Scripting Attacks
SecurityTracker Alert ID:  1019185
SecurityTracker URL:  http://securitytracker.com/id/1019185
CVE Reference:   CVE-2008-0005   (Links to External Site)
Updated:  Jan 23 2008
Original Entry Date:  Jan 11 2008
Impact:   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
Description:   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:

http://securityreason.com/achievement_securityalert/49

Impact:   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.
Solution:   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)
Cause:   Input validation error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   This archive entry has one or more follow-up message(s) listed below.
Jan 16 2008 (Red Hat Issues Fix) Apache Input Validation Hole in mod_proxy_ftp Permits Cross-Site Scripting Attacks
Red Hat has released a fix for Red Hat Enterprise Linux 2.1.
Jan 16 2008 (Red Hat Issues Fix) Apache Input Validation Hole in mod_proxy_ftp Permits Cross-Site Scripting Attacks
Red Hat has released a fix for Red Hat Enterprise Linux 3.
Jan 16 2008 (Red Hat Issues Fix) Apache Input Validation Hole in mod_proxy_ftp Permits Cross-Site Scripting Attacks
Red Hat has released a fix for Red Hat Enterprise Linux 4.
Jan 16 2008 (Red Hat Issues Fix) Apache Input Validation Hole in mod_proxy_ftp Permits Cross-Site Scripting Attacks
Red Hat has released a fix for Red Hat Application Stack v1 for Enterprise Linux 4.
Jan 16 2008 (Red Hat Issues Fix) Apache Input Validation Hole in mod_proxy_ftp Permits Cross-Site Scripting Attacks
Red Hat has released a fix for Red Hat Enterprise Linux 5.
Jan 21 2008 (Red Hat Issues Fix) Apache Input Validation Hole in mod_proxy_ftp Permits Cross-Site Scripting Attacks
Red Hat has released a fix for Red Hat Application Stack v2.



 Source Message Contents

Subject:  [Full-disclosure] SecurityReason - Apache (mod_proxy_ftp) Undefined

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[SecurityReason - Apache (mod_proxy_ftp) Undefined Charset UTF-7 XSS Vulnerability]

Author: sp3x

Date:
- - Written: 15.12.2007
- - Public: 10.01.2008

SecurityReason Research
SecurityAlert Id: 49

CVE: CVE-2008-0005
SecurityRisk: Low

Affected Software: Apache 2.2.x (mod_proxy_ftp)
		   Apache 1.3.x
                   Apache 2.0.x

Advisory URL: http://securityreason.com/achievement_securityalert/49
Vendor: http://httpd.apache.org

- --- 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
	  Apache 1.3.40-dev
          Apache 2.0.62-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 ---

Author: sp3x
Email: sp3x [at] securityreason [dot] com
GPG: http://securityreason.com/key/sp3x.gpg
http://securityreason.com
http://securityreason.pl
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.7 (GNU/Linux)

iD8DBQFHhUp2haZ93YsJSwQRAgYPAJ9CYYZv1MthEQpfqg97ReFQ56RHVQCfdoKs
0uz3Q3HNdQfgbuc8uRh3Ol8=
=dn1x
-----END PGP SIGNATURE-----


_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2019, SecurityGlobal.net LLC