
이 저장소에는 dompdf 캐시된 글꼴 취약점(CVE-2022-28368)의 대부분을 처리하는 파이썬 스크립트가 포함되어 있습니다. 여러분이 해야 할 일은 요청을 생성하는 것뿐입니다.
이 저장소는 dompdf 캐시된 글꼴 취약점(CVE-2022-28368)을 대부분 처리하는 Python 스크립트를 포함하고 있습니다. 여러분이 해야 할 일은 요청을 생성하는 것뿐입니다. 또한 익스플로잇을 시작하기 위한 트리거 문자열을 제공합니다 :)
usage: CVE-2022-28368.py [-h] -d DOMPDF_LOCATION [-f FONTNAME] -i HTTP_IP [-p HTTP_PORT] [-P PHP] [-w] [-r]
This script handles the majority of the dompdf cached font exploit (CVE-2022-28368), all you need to do is create the request
optional arguments:
-h, --help show this help message and exit
-d DOMPDF_LOCATION, --dompdf-location DOMPDF_LOCATION
dompdf location on target webserver (example: http://target.com/vendor/dompdf)
-f FONTNAME, --fontname FONTNAME
Exploit font name (default: expfont.php)
-i HTTP_IP, --http-ip HTTP_IP
HTTP listener IP
-p HTTP_PORT, --http-port HTTP_PORT
HTTP listener PORT (default: 80)
-P PHP, --php PHP PHP to execute (default: <?php system("whoami"); ?>)
-w, --webshell Spawn web shell
-r, --revshell Spawn reverse shell (Uses HTTP listener IP and port 9001 by default)
https://positive.security/blog/dompdf-rce https://github.com/positive-security/dompdf-rce