Science & Tech · Cybersecurity · 3 hrs ago

Ghostscript flaw let crafted uploads run commands on servers

Ghostscript flaw let crafted uploads run commands on servers

A flaw in Ghostscript let crafted documents run commands on servers that processed them.

Ghostscript is software used by many Linux servers to convert PDFs, images and other files, often through features such as previews or printing.

Researchers at security firm pwn.ai demonstrated the flaw through about ten applications, including some public upload forms and a shared print queue.

The commands ran with the low privileges of the account handling the file, and the researchers said some routes required no login.

Ghostscript fixed the flaw in version 10.08.0 on September 8, while WordPress separately fixed one of its upload paths in version 7.0.4.

No attacks using the flaw have been reported, but updating the application alone may not be enough if it uses an older Ghostscript copy bundled in a container or application.

1 source

Related

What people are saying

Ken SharpGhostscript developer who handled the fix
an ancient piece of code well known to be a vulnerability, but difficult to eradicate
via The Hacker News