🇰🇷 한글 설명
WordPress의 Consulting 테마(6.7.16 이하 버전)에서 권한 상승 취약점이 발견되었습니다. AJAX 엔드포인트의 검증 미비와 개발자 로그인 메커니즘의 암호화 결함이 결합되어, 낮은 권한의 사용자가 관리자 권한을 탈취할 수 있습니다.
💡 쉬운 설명
사이트의 일반 회원 권한을 가진 사람이 특정 조작을 통해 사이트의 주인인 관리자 권한을 몰래 얻을 수 있는 보안 약점입니다. 보안 검증이 부족한 통로를 통해 관리자 인증 정보를 임의로 설정할 수 있기 때문에 발생합니다.
🇺🇸 원문 (English)
The Consulting theme for WordPress is vulnerable to Privilege Escalation in versions up to, and including, 6.7.16. This is due to a combination of two flaws: (1) the masterstudy_ms_stm_set_discard_transient AJAX endpoint in admin/admin-notices/classes/STMHandler.php accepts an arbitrary transient key without capability checks or nonce validation, and (2) the developer access login mechanism in admin/classes/stm-theme-support.php authenticates users based on a transient value without proper cryptographic validation when in legacy string mode. This makes it possible for authenticated attackers, with subscriber-level access and above, to set the stm_developer_access_token transient to a known value (1), then authenticate as any existing user including administrators by visiting a specially crafted URL, thereby achieving full privilege escalation to administrator.
📍 영향받는 시스템
WordPress Consulting theme versions up to and including 6.7.16
⚔️ 공격 벡터
낮은 권한의 인증된 사용자가 특정 AJAX 요청을 통해 트랜지언트 값을 조작한 후, 특수 제작된 URL로 관리자 로그인을 시도함
🛡️ 대응 방법
Consulting 테마를 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
명령어 결과에 해당 테마 이름과 취약한 버전 범위가 출력되면 업데이트가 필요한 상태입니다.
wp plugin list --name=consulting --format=csv | grep -E 'consulting,6\[0-7]\.[0-9]{1,2}\.[0-9]{1,2}'