
Proof-of-Concept per CVE-2023-38146 ("ThemeBleed")
Proof-of-Concept per CVE-2023-38146 ("ThemeBleed")
Usage: ThemeBleed.exe <command>
Commands:
server - Runs the server
make_theme <host> <output path> - Generates a .theme file referencing the specified host
make_themepack <host> <output_path> - Generates a .themepack file referencing the specified host
I binari in data corrispondono ai 3 file restituiti al target dal PoC.
stage_1 - Un file msstyles con PACKTHEM_VERSION impostato a 999.stage_2 - Un file msstyles valido e non modificato per superare il controllo della firma.stage_3 - La DLL che verrà caricata ed eseguita. L'esempio fornito avvia semplicemente calc.exe.Per creare il tuo payload, crea una DLL con un export denominato VerifyThemeVersion contenente il tuo codice e sostituisci stage_3 con la DLL appena creata.