🇰🇷 한글 설명
WordPress의 SAML Single Sign On – SSO Login 플러그인 5.4.6 이하 버전에서 인증 우회 취약점이 발견되었습니다. 공격자가 인증서 검증 과정의 논리적 오류를 악용하여 플러그인에 저장된 IdP 서명 인증서를 자신의 것으로 덮어쓸 수 있으며, 이를 통해 관리자 권한을 포함한 모든 계정의 SAML 어설션을 위조할 수 있습니다.
💡 쉬운 설명
로그인 인증을 확인하는 과정에서 보안 인증서를 검사하기 전에 먼저 저장해버리는 실수가 있어 발생한 문제입니다. 해커가 가짜 인증서를 등록해두면 마치 정당한 관리자인 것처럼 속여서 사이트에 마음대로 들어올 수 있습니다.
🇺🇸 원문 (English)
The SAML Single Sign On – SSO Login plugin for WordPress is vulnerable to Authentication Bypass in versions up to, and including, 5.4.6. This is due to the mo_saml_login_validate() ACS handler persisting the X.509 certificate extracted from an incoming SAMLResponse into the mo_saml_required_certificate option before the signature-validation verdict is enforced, because mo_saml_find_certificate() returns false on a fingerprint mismatch rather than halting execution. This makes it possible for unauthenticated attackers to overwrite the plugin's stored IdP signing certificate with an attacker-controlled value, and subsequently forge SAML assertions for any WordPress account — including administrators — to obtain a fully privileged session. Note: The exploit requires the administrator to perform a repair after receiving the test_config_error_wpsamlerr004 error message during the test configuration.
📍 영향받는 시스템
WordPress SAML Single Sign On – SSO Login plugin (버전 5.4.6 및 그 이하 버전)
⚔️ 공격 벡터
인증서 지문 불일치 시 실행이 중단되지 않는 점을 악용하여 저장된 IdP 서명 인증서를 공격자의 값으로 덮어쓰는 방식
🛡️ 대응 방법
해당 플러그인을 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 플러그인 버전이 5.4.6 이하인지 확인하여 취약 여부를 판단합니다.
wp plugin list --status=active | grep -i 'saml-sso' && wp plugin list --all | grep -E 'saml-sso' | awk '{print $2, $3}'