🇰🇷 한글 설명
phpMyFAQ 3.1.0부터 4.1.6 버전에서 LDAP 인증 활성화 시 인증 우회 취약점이 발견되었습니다. LDAP 인증 성공 후 시스템이 로컬 계정의 상태를 무조건 '활성(active)'으로 변경하여, 관리자에 의해 차단된 계정이라도 LDAP을 통해 로그인이 가능해집니다. 이 과정은 로그에 남지 않아 관리자가 차단 해제 사실을 인지하기 어렵습니다.
💡 쉬운 설명
관리자가 사용자의 접속을 막아두었더라도, 해당 사용자가 LDAP이라는 외부 인증 방식을 사용하면 자동으로 차단이 풀리며 접속할 수 있는 문제입니다. 차단이 풀리는 과정이 기록되지 않아 보안 관리자가 알아차리기 매우 어렵습니다.
🇺🇸 원문 (English)
phpMyFAQ versions 3.1.0 through 4.1.6 contain an authentication bypass vulnerability in AuthLdap::create(). When LDAP authentication is enabled, after a successful LDAP bind the code calls User::setStatus('active') unconditionally, which overwrites the account_status column of a pre-existing local account from 'blocked' to 'active'. As a result, a user whose local phpMyFAQ account has been administratively blocked can restore their account and log in by authenticating via LDAP. The state transition is not logged, so administrators cannot detect that the block was overridden. Fixed in 4.1.7.
📍 영향받는 시스템
phpMyFAQ versions 3.1.0 through 4.1.6
⚔️ 공격 벡터
LDAP 인증이 활성화된 환경에서 차단된 로컬 계정으로 LDAP 인증 시도
🛡️ 대응 방법
phpMyFAQ를 4.1.7 버전 이상으로 업데이트하십시오.
🔧 검증 코드
설치된 phpMyFAQ의 버전을 확인하여 4.1.7 미만인 경우 취약한 상태입니다.
phpmyfaq_version_check() { echo "Check your phpMyFAQ version in the installation directory or database"; }; phpmyfaq_version_check