🇰🇷 한글 설명
Mantis Bug Tracker(MantisBT) 2.27.1 이하 버전에서 인증 코드 내 느슨한 비교(==) 사용으로 인한 PHP 타입 저글링 취약점이 발견되었습니다. MD5 해시가 과학적 표기법으로 해석되어 숫자로 변환될 경우, 공격자가 피해자의 비밀번호를 몰라도 특정 조건의 해시값을 이용해 로그인을 우회할 수 있습니다.
💡 쉬운 설명
로그인 과정에서 비밀번호를 비교할 때 데이터의 형식을 엄격하게 따지지 않아 발생하는 보안 허점입니다. 공격자가 특수한 형태의 비밀번호를 입력하면 시스템이 이를 올바른 비밀번호로 착각하여 로그인을 허용할 수 있습니다.
🇺🇸 원문 (English)
Mantis Bug Tracker (MantisBT) is an open source issue tracker. Due to incorrect use of loose (==) instead of strict (===) comparison in the authentication code in versions 2.27.1 and below.PHP type juggling will cause certain MD5 hashes matching scientific notation to be interpreted as numbers. Instances using the MD5 login method allow an attacker who knows the victim's username and has access to an account with a password hash that evaluates to zero to log in without knowing the victim's actual password, by using any other password with a hash that also evaluates to zero This issue is fixed in version 2.27.2.
📍 영향받는 시스템
Mantis Bug Tracker (MantisBT) 2.27.1 및 그 이하 모든 버전
⚔️ 공격 벡터
MD5 인증 방식을 사용하는 환경에서 과학적 표기법으로 해석되는 해시값을 이용한 인증 우회 공격
🛡️ 대응 방법
Mantis Bug Tracker를 최신 보안 패치가 적용된 버전 2.27.2 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 2.27.2 미만(예: 2.27.1 이하)이면 취약한 상태입니다.
php -r 'echo version("MantisBT");' 2>/dev/null || echo "Check installed MantisBT version via package manager or manual file check"