CVE-2018-17961
HIGHArtifex Ghostscript < 9.25 - Sandbox Protection Bypass via Error Handler Setup
Title source: llmExploitation Summary
EIP tracks 2 public exploits for CVE-2018-17961. PoCs published by Google Security Research, matlink.
AI-analyzed exploit summary This exploit leverages a vulnerability in Ghostscript's error handling mechanism to bypass the -dSAFER sandbox and achieve arbitrary file system access. It manipulates the operand stack to expose the `forceput` operator, allowing the attacker to disable security restrictions and modify files like `~/.bashrc`.
Description
Artifex Ghostscript 9.25 and earlier allows attackers to bypass a sandbox protection mechanism via vectors involving errorhandler setup. NOTE: this issue exists because of an incomplete fix for CVE-2018-17183.
Exploits (2)
This exploit leverages a vulnerability in Ghostscript's error handling mechanism to bypass the -dSAFER sandbox and achieve arbitrary file system access. It manipulates the operand stack to expose the `forceput` operator, allowing the attacker to disable security restrictions and modify files like `~/.bashrc`.
The repository contains only a README with high-level steps for exploiting CVE-2018-17961 but lacks actual exploit code or technical details. It references a Docker-based setup and an Evince (PDF viewer) exploit via a PostScript file.
References (11)
Scores
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H