Exploit database

Vulnerability

CVE-2024-29510

Vulnerability details

Score
6.3
Severity
medium

CVSS 3.1 · CISA-ADP

Vector string

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

Description

Artifex Ghostscript before 10.03.1 allows memory corruption, and SAFER sandbox bypass, via format string injection with a uniprint device.

CVE Program

Exploit source choices

2 sources
Ghostscript Command Execution via Format String
MSF-multi--fileformat--ghostscript_format_string_cve_2024_29510MetasploitLinux,Unix / remotePreferred

This module exploits a format string vulnerability in Ghostscript versions before 10.03.1 to achieve a SAFER sandbox bypass and execute arbitrary commands. This vulnerability is reachable via libraries such as ImageMagick. This exploit only works against Ghostscript versions 10.03.0 and 10.01.2. Some offsets adjustement will probably be needed to make it work with other versions.

2024-03-14ghostscript_format_string_cve_2024_29510.rb
swsmith2391/cve-2024-29510
GH-5c508dddf7b2d0a60830d0a77ee8ecf8GitHubUnofficial GitHub source

POC code for CVE-2024-29510 and demo VulnApp

2024-07-0912 files · 1 stars