🇰🇷 한글 설명
MyBB 1.4.12 이전 버전의 my_rand 함수가 PHP mt_rand를 제대로 활용하지 않아 비밀번호 초기화 토큰이 약한 난수로 생성된다. 공격자는 비밀번호 초기화를 요청한 후 예측 가능한 토큰을 무차별 대입 공격으로 크래킹하여 임의의 계정에 원격으로 접근할 수 있다.
💡 쉬운 설명
MyBB 포럼의 비밀번호 초기화 링크가 쉽게 예측되는 문제다. 공격자가 이를 악용해서 다른 사람의 계정을 탈취할 수 있다.
🇺🇸 원문 (English)
The my_rand function in functions.php in MyBB (aka MyBulletinBoard) before 1.4.12 does not properly use the PHP mt_rand function, which makes it easier for remote attackers to obtain access to an arbitrary account by requesting a reset of the account's password, and then conducting a brute-force attack.
📍 영향받는 시스템
MyBulletinBoard (MyBB) 1.4.12 이전 모든 버전
⚔️ 공격 벡터
비밀번호 초기화 요청 후 약한 난수 토큰을 원격에서 무차별 대입 공격으로 해킹
🛡️ 대응 방법
MyBB를 1.4.12 이상으로 업그레이드
🔧 검증 코드
MyBB 설치 위치의 functions.php에서 my_rand 함수를 찾으면 취약한 버전, 찾지 못하면 패치된 버전이다.
find /var/www /home -name functions.php -path '*/mybb/*' 2>/dev/null | xargs grep -l 'function my_rand' | head -1