CVE-2018-15908 Path traversal in n/a
Attackers can bypass tempfile restrictions in Ghostscript to write arbitrary files via malicious PostScript input.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2018-15908?
CVE-2018-15908 is a high-severity path traversal vulnerability in Artifex Ghostscript, published on 27 Aug 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
In Artifex Ghostscript 9.23 before 2018-08-23, attackers are able to supply malicious PostScript files to bypass .tempfile restrictions and write files.
Which versions are affected by CVE-2018-15908?
It affects 8 products.
Products include Artifex Ghostscript, Canonical Ubuntu Linux, Debian Debian Linux, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server, Redhat Enterprise Linux Server Aus and 2 more.
How do I fix CVE-2018-15908?
Upgrade to a fixed version.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2018-15908 being exploited?
There is no known exploitation of CVE-2018-15908 in the wild and no public exploit code.
Other vulnerabilities in Artifex Ghostscript
Sources
Also known as ALPINE-CVE-2018-15908, DEBIAN-CVE-2018-15908, GHSA-446g-9pj4-3cgr, UBUNTU-CVE-2018-15908.