NT Webserver Long File Name Access Protection Vulnerability

BID:135

Info

NT Webserver Long File Name Access Protection Vulnerability

Bugtraq ID: 135
Class: Access Validation Error
CVE:
Remote: Yes
Local: Unknown
Published: Feb 06 1998 12:00AM
Updated: Feb 06 1998 12:00AM
Credit: This vulnerability was first posted to the Bugtraq mailing list on February 6, 1998, in a CERT advisory.
Vulnerable: Netscape FastTrack Server 3.0.1
Netscape FastTrack Server 2.0.1
Netscape Enterprise Server 3.0
- Compaq Tru64 4.0 d
- HP HP-UX 11.0
- IBM AIX 4.2.1
- Microsoft Windows 2000 Professional SP2
- Microsoft Windows 2000 Professional SP1
- Microsoft Windows 2000 Professional
- Microsoft Windows NT 4.0 SP6a
- Microsoft Windows NT 4.0 SP6
- Microsoft Windows NT 4.0 SP5
- Microsoft Windows NT 4.0 SP4
- SGI IRIX 6.5
- Sun Solaris 7.0
- Sun Solaris 2.6_sparc
Not Vulnerable: Netscape Enterprise Server 3.51
- Digital UNIX 4.0 D
- HP HP-UX 10.10
- IBM AIX 4.1.5
- Microsoft Windows NT 4.0
- SGI IRIX 6.2
- Sun Solaris 2.5.1

Discussion

NT Webserver Long File Name Access Protection Vulnerability

All 32-bit Microsoft Windows operating systems (commonly known as Win32) can associate two different file names with a stored file, a short name and a long name. The short version, known as 8.3-compliant, is restricted to a length of 8 characters and an extension of 3 characters. This version is required for backward compatibility with DOS. The long version of the file name is not restricted to the 8.3-compliant format but is restricted to a total length of 255 characters.

When Win32 stores a file with a short name (i.e., 8.3-compliant), it associates only that short file name with the file. However, when Win32 stores a file with a long name (i.e., greater than 8 characters), it associates two versions of the file name with the file--the original, long file name and an 8.3-compliant short file name that is derived from the long name in a predictable manner.

Example:

The 8.3-compliant short file name "Abcdefgh.xyz" is represented

1.as is: "Abcdefgh.xyz".

However, the long file name "Abcdefghijk.xyz" is represented:

1.as is: "Abcdefghijk.xyz" and
2.as 8.3-compliant: "Abcdef~1.xyz".

Some Win32-based web servers have not compensated for the two file name versions when restricting access to files that have long names. The web servers attempt to restrict access by building an internal list of restricted file names. However, for files with long names, only the long, and not the short, file name is added to this internal list. This leaves the file unprotected by the web server because the file is still accessible via the short file name.

For example, "Abcdefgh.xyz" (short) would be protected by the web server, but "Abcdefghijk.xyz" (long) would not be completely protected by the web server.

Exploit / POC

NT Webserver Long File Name Access Protection Vulnerability

Currently the SecurityFocus staff are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected].

Solution / Fix

NT Webserver Long File Name Access Protection Vulnerability

Solution:
Upgrade to the latest version of your web server software if it is affected.

CERT advisory CA-98.04.Win32.WebServers details individual vendors reponses. It also gives information on where to obtain patches for specific vulnerable servers.

References

NT Webserver Long File Name Access Protection Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report