Skip to content
Info disclosure Advisory Intermediate CVE-2025-59284

Microsoft Windows TAR File Parsing NTLM Relay Vulnerability

Windows mishandles hard links inside TAR archives, so opening a crafted archive causes the machine to make an outgoing SMB connection. An attacker who controls the destination can then relay the user's NTLM credentials.

Len Sadowski Follow

Originally disclosed on Zero Day Initiative

This vulnerability allows remote attackers to relay NTLM credentials on affected installations of Microsoft Windows. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

Len Sadowski and Oguz Bektas, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the TAR parser follows hard link targets without restricting them to local paths, so a link pointing at a remote share causes an automatic SMB authentication.

Impact

An attacker could relay the current user's NTLM credentials to another system, though the text gives no detail on what that relay achieves.

What the attacker needed

Victim opens a crafted TAR file; attacker controls an SMB endpoint

The fix

Microsoft issued an update that corrects the flaw.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When you open an archive file, Windows reads the list of files inside it. Here a specially built entry made Windows contact another computer over a Windows file-sharing protocol (SMB), and that contact carried a login token (NTLM credentials) the user never meant to send. The attacker catches that token and passes it on to another service to act as the victim.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Len Sadowski

View all

1 more disclosed report, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.