
Bludit <= 3.9.2 - 인증 무차별 대입 완화 우회 익스플로잇/PoC
CVE-2019-17240 (일명 Bludit <= 3.9.2 Brute-force 완화 우회)를 위한 Exploit 코드
Exploit 링크: [ExploitDB-48942] [PacketStorm]
예상 결과: Bludit <= 3.9.2를 실행하는 호스트의 무차별 대입(brute-force) 메커니즘을 우회하여 로그인 자격 증명을 찾습니다.
교육 및 기업 환경에서의 테스트 용도로만 사용하세요.
이 Exploit은 Python 3.8.6에서 테스트되었습니다.
cfx: ~/bludit
→ ./exploit.py -h
usage: exploit.py [-h] [-l URL] [-u USERLIST] [-p PASSLIST]
Bludit <= 3.9.2 Auth Bruteforce Mitigation Bypass
optional arguments:
-h, --help show this help message and exit
-l URL, --url URL Path to Bludit (Example: http://127.0.0.1/admin/login.php)
-u USERLIST, --userlist USERLIST
Username Dictionary
-p PASSLIST, --passlist PASSLIST
Password Dictionary
Exploit Usage :
./exploit.py -l http://127.0.0.1/admin/login.php -u user.txt -p pass.txt
./exploit.py -l http://127.0.0.1/admin/login.php -u /Directory/user.txt -p /Directory/pass.txt
설치:
pip3 install pwn
pip3 install requests
이 exploit은 세 가지 사용자 입력을 필요로 합니다.
user.txt 안의 사용자 이름을 pass.txt 안의 모든 비밀번호와 매핑하여 로그인 요청을 보내는 exploit 사용법:

pass.txt의 값들이 X-Forwarded-For 헤더에 전송됩니다. 만약 목록에 비밀번호 수가 적다면, 서버에 의해 단어가 차단될 가능성이 있습니다. 이 경우 스크립트는 출력에서 차단된 단어를 표시합니다:

로그인 성공 시, 작동하는 자격 증명과 함께 다음과 같은 출력이 표시됩니다:

Rastating이 Bludit CMS에서 발견한 취약점에 대한 exploit입니다.
취약점 설명: https://rastating.github.io/bludit-brute-force-mitigation-bypass/.