Skip to content
Path traversal Advisory Advanced CVE-2022-29140

Microsoft Windows Print Spooler Service Directory Traversal Information Disclosure Vulnerability

The Windows Print Spooler service failed to properly validate a user-supplied path before using it in file operations. A local attacker with low-privileged code execution could exploit this to disclose sensitive information in the context of SYSTEM.

Oliver Lyak Follow

Originally disclosed on Zero Day Initiative

Medium 5.5 View original

This vulnerability allows local attackers to disclose sensitive information on affected installations of Microsoft Windows. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.

Oliver Lyak (@ly4k_), 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 Print Spooler service did not validate a user-supplied path before using it in file operations, allowing directory traversal to read arbitrary files.

Impact

An attacker with low-privileged code execution could disclose sensitive information in the context of SYSTEM.

What the attacker needed

Ability to execute low-privileged code on target

The fix

Microsoft issued an update to correct this vulnerability.

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.

The Print Spooler is a Windows service that manages printing. It accepted a file path from a user without checking it properly, so someone already running low-privileged code on the machine could trick it into reading files it should not, and the service runs with high privileges (SYSTEM).

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More by Oliver Lyak

View all

6 more disclosed reports, 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.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.