Proof-of-concept exploit code was published online over the weekend for an unpatched Ghostscript vulnerability that puts all servers that rely on the component at risk of attacks.
Released back in 1988, Ghostscript is a small library that allows applications to process PDF documents and PostScript-based files.
While its primary use is for desktop software, Ghostscript is also used server-side, where it is typically included with image conversion and file upload processing toolkits, such as the popular ImageMagick.
The proof-of-concept code released by Nguyen on Sunday exploits this latter scenario, allowing an attacker to upload a malformed SVG file that escapes the image processing pipeline and runs malicious code on the underlying operating system.
While Nguyen released the public exploit for this bug, he is not the one who discovered the vulnerability.
The person who did is Wunderfund CTO and founder Emil Lerner, who found the bug last year and used it to obtain bug bounties from companies like Airbnb, Dropbox, and Yandex.
Details about the vulnerability leaked into the public domain last month after Lerner held a talk at the ZeroNight X security conference about the current attack vector posed by server-side image conversion tools and used the Ghostscript zero-day as an example.
“Exploit seems to be correct,” Lerner told The Record yesterday in a private conversation when asked about Nguyen’s proof-of-concept.
The researcher told The Record that he was not aware of any patch for the Ghostscript vulnerability prior to Nguyen’s release of the public exploit.
Artifex, the company behind the Ghostscript project, did not return a request for comment sent on Monday via their website.
This is the second time the Ghostscript project is in the news because of security issues. In August 2018, a Google security researcher discovered multiple critical vulnerabilities in the Ghostscript library that Artifex failed to patch in time. The company did, however, release fixes two days later after the Ghostscript security issues were broadly exposed.
The post Ghostscript zero-day allows full server compromises appeared first on The Record by Recorded Future.
Source: Read More (The Record by Recorded Future)