CVE-2002-0661
Description
Directory traversal vulnerability in Apache 2.0 through 2.0.39 on Windows, OS2, and Netware allows remote attackers to read arbitrary files and execute commands via .. (dot dot) sequences containing \ (backslash) characters.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
13cpe:2.3:a:apache:http_server:2.0:*:*:*:*:*:*:*+ 12 more
- cpe:2.3:a:apache:http_server:2.0:*:*:*:*:*:*:*
- cpe:2.3:a:apache:http_server:2.0.28:*:*:*:*:*:*:*
- cpe:2.3:a:apache:http_server:2.0.28:beta:*:*:*:*:*:*
- cpe:2.3:a:apache:http_server:2.0.28:beta:win32:*:*:*:*:*
- cpe:2.3:a:apache:http_server:2.0.32:*:*:*:*:*:*:*
- cpe:2.3:a:apache:http_server:2.0.32:beta:win32:*:*:*:*:*
- cpe:2.3:a:apache:http_server:2.0.34:beta:win32:*:*:*:*:*
- cpe:2.3:a:apache:http_server:2.0.35:*:*:*:*:*:*:*
- cpe:2.3:a:apache:http_server:2.0.36:*:*:*:*:*:*:*
- cpe:2.3:a:apache:http_server:2.0.37:*:*:*:*:*:*:*
- cpe:2.3:a:apache:http_server:2.0.38:*:*:*:*:*:*:*
- cpe:2.3:a:apache:http_server:2.0.39:*:*:*:*:*:*:*
- (no CPE)range: >=2.0, <=2.0.39
Patches
Vulnerability mechanics
Root cause
"The Apache HTTP Server on Windows, OS2, and Netware did not properly sanitize directory traversal sequences containing backslashes."
Attack vector
A remote attacker can send a crafted URL containing `..` sequences with backslashes to traverse directories. This allows the attacker to read arbitrary files on the server. The vulnerability is present in Apache versions 2.0 through 2.0.39 when running on Windows, OS2, or Netware operating systems. The specific payload involves using `..\` sequences to navigate the file system.
Affected code
The vulnerability resides in the core request handling logic of the Apache HTTP Server, specifically how it processes URLs on Windows, OS2, and Netware platforms. The provided patch removes the `modules/experimental/util_ldap.c` file, which is unrelated to the directory traversal vulnerability described in the CVE.
What the fix does
The patch removes the `modules/experimental/util_ldap.c` file entirely. While the provided patch does not explicitly show the fix for the directory traversal vulnerability, the advisory indicates that Apache 2.0.40 and later versions address this issue by properly sanitizing path components. This prevents the server from interpreting malicious `..` sequences with backslashes as valid directory traversals.
Preconditions
- configThe affected Apache HTTP Server version (2.0 through 2.0.39) must be running on a Windows, OS2, or Netware operating system.
- networkThe attacker must have network access to the Apache HTTP Server.
Generated on Jun 6, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
17- httpd.apache.org/info/security_bulletin_20020908a.txtnvdPatchVendor Advisory
- marc.infonvd
- marc.infonvd
- www.iss.net/security_center/static/9808.phpnvd
- www.securityfocus.com/bid/5434nvd
- lists.apache.org/thread.html/54a42d4b01968df1117cea77fc53d6beb931c0e05936ad02af93e9ac%40%3Ccvs.httpd.apache.org%3Envd
- lists.apache.org/thread.html/5df9bfb86a3b054bb985a45ff9250b0332c9ecc181eec232489e7f79%40%3Ccvs.httpd.apache.org%3Envd
- lists.apache.org/thread.html/r0276683d8e1e07153fc8642618830ac0ade85b9ae0dc7b07f63bb8fc%40%3Ccvs.httpd.apache.org%3Envd
- lists.apache.org/thread.html/r2cb985de917e7da0848c440535f65a247754db8b2154a10089e4247b%40%3Ccvs.httpd.apache.org%3Envd
- lists.apache.org/thread.html/r5001ecf3d6b2bdd0b732e527654248abb264f08390045d30709a92f6%40%3Ccvs.httpd.apache.org%3Envd
- lists.apache.org/thread.html/r5f9c22f9c28adbd9f00556059edc7b03a5d5bb71d4bb80257c0d34e4%40%3Ccvs.httpd.apache.org%3Envd
- lists.apache.org/thread.html/r8828e649175df56f1f9e3919938ac7826128525426e2748f0ab62feb%40%3Ccvs.httpd.apache.org%3Envd
- lists.apache.org/thread.html/r9e8622254184645bc963a1d47c5d47f6d5a36d6f080d8d2c43b2b142%40%3Ccvs.httpd.apache.org%3Envd
- lists.apache.org/thread.html/r9f93cf6dde308d42a9c807784e8102600d0397f5f834890708bf6920%40%3Ccvs.httpd.apache.org%3Envd
- lists.apache.org/thread.html/rb9c9f42dafa25d2f669dac2a536a03f2575bc5ec1be6f480618aee10%40%3Ccvs.httpd.apache.org%3Envd
- lists.apache.org/thread.html/rd00b45b93fda4a5bd013b28587207d0e00f99f6e3308dbb6025f3b01%40%3Ccvs.httpd.apache.org%3Envd
- lists.apache.org/thread.html/rf6449464fd8b7437704c55f88361b66f12d5b5f90bcce66af4be4ba9%40%3Ccvs.httpd.apache.org%3Envd
News mentions
0No linked articles in our index yet.