🇰🇷 한글 설명
WordPress의 Redux Framework 플러그인 4.5.13.1 이하 버전에서 저장형 XSS 취약점이 발견되었습니다. user_meta_save() 함수의 불충분한 입력 검증과 Redux_Slider::render() 메서드의 부적절한 출력 이스케이프 처리가 원인입니다. 이를 통해 인증된 공격자가 사용자 프로필에 악성 스크립트를 삽입하여 관리자의 브라우저에서 실행될 수 있습니다.
💡 쉬운 설명
사용자 프로필 설정에 악성 코드를 몰래 저장해두는 공격 방식입니다. 관리자가 해당 사용자의 프로필을 확인하는 순간, 관리자의 권한을 탈취할 수 있는 위험한 스크립트가 실행됩니다.
🇺🇸 원문 (English)
The Redux Framework plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Slider field in User Profile settings in versions up to and including 4.5.13.1. This is due to insufficient input sanitization in the user_meta_save() function (which only sanitizes array values, not scalar values) and improper output escaping in the Redux_Slider::render() method, which outputs slider values into unquoted HTML attributes. The vulnerability also exploits the fact that the clean_default() method only casts values to numeric types when they are empty or out of bounds, allowing malicious strings like '1 tabindex=0 autofocus onfocus=alert(1) x=' to pass validation through PHP's loose type comparison. This makes it possible for authenticated attackers, with Subscriber-level access and above, to inject arbitrary web scripts into their user profile that will execute whenever an Administrator navigates to view the attacker's profile page.
📍 영향받는 시스템
Redux Framework plugin for WordPress (버전 4.5.13.1 이하)
⚔️ 공격 벡터
인증된 사용자(Subscriber 권한 이상)가 프로필 설정의 Slider 필드에 악성 스크립트가 포함된 문자열을 입력하여 저장
🛡️ 대응 방법
Redux Framework 플러그인을 최신 버전으로 업데이트하거나, 입력값 검증 및 출력 이스케이프 로직이 수정된 패치를 적용하십시오.
🔧 검증 코드
출력된 결과에서 redux-framework의 버전을 확인하여 4.5.13.1 이하인지 체크하십시오.
wp plugin list --status=active | grep -E 'redux-framework'