Skip to content
RCE Advisory Intermediate CVE-2023-24885

Microsoft PostScript and PCL6 Class Printer Driver Remote Code Execution Vulnerability (CVE-2023-24885)

An authenticated attacker with normal privileges could send a modified XPS file to a shared printer, leading to remote code execution. The vulnerability lies in the Microsoft PostScript and PCL6 Class Printer Driver.

kap0k Follow

Originally disclosed on Microsoft

High 8.8 View original

FAQ

How could an attacker exploit this vulnerability? An authenticated attacker with normal privileges could send a modified XPS file to a shared printer, which can result in a remote code execution.

Microsoft Printer Drivers

Microsoft Printer Drivers

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by kap0k. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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 printer driver fails to properly validate or sanitise the contents of XPS files, allowing malicious code to be executed.

Impact

An authenticated attacker with normal privileges could achieve remote code execution on the system hosting the shared printer.

What the attacker needed

Authenticated attacker with normal privileges; access to a shared printer

The fix

Microsoft has released a security update to address this vulnerability; customers should apply it.

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.

This is a security flaw in printer software that lets someone with a regular account send a specially crafted print file to a shared printer. If successful, the attacker could run their own code on the system, potentially taking control of it.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by kap0k

View all

40 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.