🔍 CVE-2026-6456

8.8
CVSS Score
HIGH
2026-05-20
2026-07-24 08:10
✅ 완료

🇰🇷 한글 설명

WordPress의 Account Switcher 플러그인 1.0.2 이하 버전에서 권한 상승 취약점이 발견되었습니다. REST API의 비밀번호 검증 과정에서 느슨한 비교 연산자를 사용하고 빈 값에 대한 검증이 누락되어, 공격자가 임의의 사용자 계정으로 전환할 수 있습니다. 이를 통해 일반 사용자 권한을 가진 공격자가 관리자 권한을 탈취할 수 있습니다.

💡 쉬운 설명

로그인 유지 기능을 사용하는 과정에서 보안 검사가 허술하여 발생하는 문제입니다. 공격자가 빈 값을 입력하는 것만으로도 다른 사람, 특히 관리자의 계정으로 몰래 로그인할 수 있습니다.

🇺🇸 원문 (English)

The Account Switcher plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 1.0.2. This is due to the `rememberLogin` REST API endpoint using a loose comparison (`!=` instead of `!==`) for secret validation at `app/RestAPI.php:111`, combined with no validation that the secret is non-empty. When a target user has never used the "Remember me" feature, their `asSecret` user meta does not exist, causing `get_user_meta()` to return an empty string. An attacker can send an empty `secret` parameter, which passes the comparison (`'' != ''` is `false`), and the endpoint then calls `wp_set_auth_cookie()` for the target user. Additionally, all REST routes use `permission_callback => '__return_true'` with no capability checks. This makes it possible for authenticated attackers, with Subscriber-level access and above, to switch to any user account including Administrator, ultimately granting themselves full administrative privileges.

📍 영향받는 시스템

WordPress Account Switcher plugin (버전 1.0.2 및 그 이하 모든 버전)

⚔️ 공격 벡터

인증된 낮은 권한의 사용자가 REST API의 'rememberLogin' 엔드포인트에 빈 secret 파라미터를 전송하여 타겟 계정의 권한을 탈취

🛡️ 대응 방법

Account Switcher 플러그인을 최신 버전으로 업데이트하거나, 해당 플러그인을 삭제하고 REST API 접근 권한을 강화해야 합니다.

🔧 검증 코드

명령어 결과에 'account-switcher'가 포함되어 있다면 해당 플러그인이 설치된 것이며, 설치된 버전을 확인하여 1.0.2 이하인지 점검해야 합니다.

Shell / Script
wp plugin list --status=active | grep -i 'account-switcher'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

WordPress