SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com






Category:   Application (Web Server/CGI)  >   Apache Vendors:   Apache Software Foundation
Apache for Cygwin '..%5C' Input Validation Flaw Discloses Files to Remote Users
SecurityTracker Alert ID:  1009182
SecurityTracker URL:  http://securitytracker.com/id/1009182
CVE Reference:   CAN-2004-0173   (Links to External Site)
Updated:  Mar 17 2004
Original Entry Date:  Feb 24 2004
Impact:   Disclosure of system information, Disclosure of user information
Fix Available:  Yes  Vendor Confirmed:  Yes  Exploit Included:  Yes  
Version(s): 1.3.29 and prior versions; 2.0.48 and prior versions
Description:   STG Security reported a vulnerability in Apache for the cygwin environment. A remote user can traverse the directory to view files on the target system.

It is reported that a remote user can supply the following type of URL to view files on the target system:

http://[server]/..%5C..%5C..%5C..%5C..%5C..%5C/boot.ini

The vendor was reportedly notified on January 15, 2004.

Jeremy Bae is credited with discovering the flaw.

Impact:   A remote user can view files on the system.
Solution:   A patch for Apache 1.3.29 is available at:

http://nagoya.apache.org/bugzilla/showattachment.cgi?attach_id=10222

No solution was available at the time of this entry for Apache version 2.

Vendor URL:  nagoya.apache.org/bugzilla/show_bug.cgi?id=26152 (Links to External Site)
Cause:   Access control error, Input validation error
Underlying OS:   Windows (Any)

Message History:   None.


 Source Message Contents

Date:  Tue, 24 Feb 2004 10:17:33 +0900
Subject:  STG Security Advisory: [SSA-20040217-06] Apache for cygwin directory


This is a multi-part message in MIME format.
--------------050700010106040907000404
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


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

STG Security Advisory: [SSA-20040217-06] Apache for cygwin directory
traversal vulnerability

Revision 1.0
Date Published: 2004-02-17 (KST)
Last Update: 2004-02-17
Disclosed by SSR Team (advisory@stgsecurity.com)


Abstract
========
Apache on cygwin environment has a directory traversal vulnerability.

Vulnerability Class
===================
Implementation Error: Input validation flaw

Details
=======
Apache httpd on cygwin environment has a directory traversal vulnerability
similar to a reported bug in
http://cert.uni-stuttgart.de/archive/bugtraq/2002/08/msg00241.html

Using the following code, a malicious user can retrieve any file.
http://[server]/..%5C..%5C..%5C..%5C..%5C..%5C/boot.ini

Impact
======
File disclosure

Solution
=========
Stipe Tolj, Apache for cygwin maintainer, released a patch file to fix this
vulnerability on Apache 1.3.29 as shown in the following URL.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26152

Apache 2 on the cygwin, however, is still vulnerable and is recommended not
to use it for a production server.

Affected Products
================
Apache 1.3.29 and below
Apache 2.0.48 and below

Vendor Status: FIXED
=======================
2004-01-13 Jeremy Bae found the vulnerabilities.
2004-01-15 Apache project notified.
2004-02-03 Cygwin platform maintainer confirmed.
2004-02-04 A patch file released.
2004-02-17 Official release.

Credits
======
Jeremy Bae at STG Security

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0

iQA/AwUBQDql3z9dVHd/hpsuEQJ5uQCfUtOfSY0qIjzRF9LUim1xB3XAFcwAn0lI
I23p9Inl69oUYZDs3ixFH7dU
=dLyl
-----END PGP SIGNATURE-----


--------------050700010106040907000404
Content-Type: text/plain;
 name="apache-eng.txt"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
 filename="apache-eng.txt"

U1RHIFNlY3VyaXR5IEFkdmlzb3J5OiBbU1NBLTIwMDQwMjE3LTA2XSBBcGFjaGUgZm9yIGN5
Z3dpbiBkaXJlY3RvcnkNCnRyYXZlcnNhbCB2dWxuZXJhYmlsaXR5DQoNClJldmlzaW9uIDEu
MA0KRGF0ZSBQdWJsaXNoZWQ6IDIwMDQ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Zm9sbG93aW5nIFVS
TC4NCg0KaHR0cDovL25hZ295YS5hcGFjaGUub3JnL2J1Z3ppbGxhL3Nob3dfYnVnLmNnaT9p
ZD0yNjE1Mg0KDQpBcGFjaGUgMiBvbiB0aGUgY3lnd2luLCBob3dldmVyLCBpcyBzdGlsbCB2
dWxuZXJhYmxlIGFuZCBpcyByZWNvbW1lbmRlZCBub3QNCnRvIHVzZSBpdCBmb3IgYSBwcm9k
dWN0aW9uIHNlcnZlci4NCg0KQWZmZWN0ZWQgUHJvZHVjdHMNCj09PT09PT09PT09PT09PT0N
CkFwYWNoZSAxLjMuMjkgYW5kIGJlbG93DQpBcGFjaGUgMi4wLjQ4IGFuZCBiZWxvdw0KDQpW
ZW5kb3IgU3RhdHVzOiBGSVhFRA0KPT09PT09PT09PT09PT09PT09PT09PT0NCjIwMDQtMDEt
MTMgSmVyZW15IEJhZSBmb3VuZCB0aGUgdnVsbmVyYWJpbGl0aWVzLg0KMjAwNC0wMS0xNSBB
cGFjaGUgcHJvamVjdCBub3RpZmllZC4NCjIwMDQtMDItMDMgQ3lnd2luIHBsYXRmb3JtIG1h
aW50YWluZXIgY29uZmlybWVkLg0KMjAwNC0wMi0wNCBBIHBhdGNoIGZpbGUgcmVsZWFzZWQu
DQoyMDA0LTAyLTE3IE9mZmljaWFsIHJlbGVhc2UuDQoNCkNyZWRpdHMNCj09PT09PQ0KSmVy
ZW15IEJhZSBhdCBTVEcgU2VjdXJpdHkNCg==
--------------050700010106040907000404--

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

Copyright 2012, SecurityGlobal.net LLC