🇰🇷 한글 설명
WordPress의 SAML Single Sign On – SSO Login 플러그인 5.4.4 이하 버전에서 인증 우회 취약점이 발견되었습니다. PHP의 openssl_verify() 함수가 반환하는 오류 값(-1)을 성공으로 잘못 판단하는 논리적 오류로 인해, 공격자가 조작된 SAMLResponse를 전송하여 관리자를 포함한 모든 사용자로 로그인할 수 있습니다.
💡 쉬운 설명
로그인 확인 과정에서 '오류가 발생했다'는 신호를 '로그인 성공'으로 잘못 읽는 버그가 있습니다. 이를 이용하면 비밀번호 없이도 아무나 관리자 계정으로 접속할 수 있습니다.
🇺🇸 원문 (English)
The SAML Single Sign On – SSO Login plugin for WordPress is vulnerable to Authentication Bypass in all versions up to, and including, 5.4.4. This is due to the mo_saml_validate_signature() function performing a loose boolean check on the raw tri-state integer returned by PHP's openssl_verify(), causing an error return value of -1 to be evaluated as truthy and therefore treated as a successful signature verification. This makes it possible for unauthenticated attackers to log in as any existing WordPress user, including administrators, by submitting a crafted SAMLResponse containing an attacker-controlled NameID and a deliberately malformed signature value that triggers an OpenSSL processing error — bypassing verification entirely and resulting in wp_set_auth_cookie() being called for the targeted account.
📍 영향받는 시스템
WordPress SAML Single Sign On – SSO Login plugin (버전 5.4.4 및 그 이하 모든 버전)
⚔️ 공격 벡터
조작된 NameID와 의도적으로 오류를 유발하는 서명을 포함한 SAMLResponse를 전송하여 인증을 우회함
🛡️ 대응 방법
해당 플러그인을 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 플러그인 버전이 5.4.4 이하인지 확인하십시오.
wp plugin list --status=active | grep -i 'saml-sso' && wp plugin list --all | grep -E 'saml-sso' | awk '{print $2 " " $3}'