CVE-2005-2126
Description
The FTP client in Windows XP SP1 and Server 2003, and Internet Explorer 6 SP1 on Windows 2000 SP4, when "Enable Folder View for FTP Sites" is enabled and the user manually initiates a file transfer, allows user-assisted, remote FTP servers to overwrite files in arbitrary locations via crafted filenames.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
7- cpe:2.3:o:microsoft:windows_2000:*:sp4:*:fr:*:*:*:*
cpe:2.3:o:microsoft:windows_2003_server:r2:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:o:microsoft:windows_2003_server:r2:*:*:*:*:*:*:*
- (no CPE)
cpe:2.3:o:microsoft:windows_xp:*:sp1:tablet_pc:*:*:*:*:*+ 1 more
- cpe:2.3:o:microsoft:windows_xp:*:sp1:tablet_pc:*:*:*:*:*
- (no CPE)range: = SP1
- Range: = SP1
Patches
Vulnerability mechanics
Root cause
"The Windows FTP client does not properly validate file names received from FTP servers, allowing crafted filenames to redirect file writes to arbitrary locations on the client filesystem."
Attack vector
An attacker hosts a file on an FTP server with a specially-crafted file name designed to bypass the FTP client's file name validation. The file name is constructed so that it maps to a valid location on the user's computer, such as writing an executable to the Startup folder [ref_id=1]. The attacker must then persuade the user to visit the FTP server and manually initiate a file transfer while "Enable Folder View for FTP Sites" is enabled. User interaction is required — the attacker cannot force the file transfer automatically [ref_id=1].
Affected code
The vulnerability resides in the Windows FTP client component, which is part of the operating system on Windows XP SP1 and Windows Server 2003, and in Internet Explorer 6 SP1 on Windows 2000 SP4. The advisory states that "the Windows FTP client does not properly validate file names that are received from FTP servers" [ref_id=1]. No specific function or file names are identified in the bulletin.
What the fix does
The security update "removes the vulnerability by modifying the way the Windows FTP client validates file names that it receives from FTP servers" [ref_id=1]. No patch diff is included in the bundle, so the exact code changes are not visible. The advisory does not specify the precise validation logic that was added or changed.
Preconditions
- configThe user must have 'Enable Folder View for FTP Sites' enabled in Internet Explorer.
- inputThe user must manually initiate a file transfer from the attacker's FTP server.
- networkThe attacker must host an FTP server with files that have specially-crafted filenames.
Generated on May 26, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
11- secunia.com/advisories/17163nvdPatchVendor Advisory
- www.securiteam.com/windowsntfocus/6M00I0KEAU.htmlnvdPatch
- www.kb.cert.org/vuls/id/415828nvdThird Party AdvisoryUS Government Resource
- secunia.com/advisories/17172nvd
- secunia.com/advisories/17223nvd
- securitytracker.com/idnvd
- support.avaya.com/elmodocs2/security/ASA-2005-214.pdfnvd
- docs.microsoft.com/en-us/security-updates/securitybulletins/2005/ms05-044nvd
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1146nvd
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1284nvd
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1416nvd
News mentions
0No linked articles in our index yet.