🇰🇷 한글 설명
WordPress의 Motors – Car Dealership & Classified Listings Plugin 1.4.124 이하 버전에서 'stm_f_s' 파라미터를 통한 저장형 XSS 취약점이 발견되었습니다. 인증된 구독자 권한을 가진 공격자가 악성 스크립트를 삽입할 수 있으며, AJAX 핸들러의 논스(nonce)가 노출되어 있어 공격이 용이합니다.
💡 쉬운 설명
웹사이트의 게시물에 악성 코드를 몰래 심어두는 취약점입니다. 로그인 권한이 있는 사용자가 이 코드를 심으면, 다른 사용자가 해당 페이지를 볼 때 악성 코드가 실행될 수 있습니다.
🇺🇸 원문 (English)
The Motors – Car Dealership & Classified Listings Plugin plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'stm_f_s' parameter in all versions up to, and including, 1.4.124 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The nonce required by the stm_ajax_add_a_car AJAX handler is emitted in wp_footer on every page, making it accessible to any authenticated user and removing any practical barrier to exploitation at the Subscriber level.
📍 영향받는 시스템
WordPress Motors – Car Dealership & Classified Listings Plugin 1.4.124 이하 모든 버전
⚔️ 공격 벡터
인증된 사용자가 'stm_f_s' 파라미터에 악성 스크립트를 삽입하여 서버에 저장하는 방식
🛡️ 대응 방법
해당 플러그인을 최신 버전으로 업데이트하거나, 입력값 검증 및 출력 이스케이프 처리가 적용된 패치를 적용해야 합니다.
🔧 검증 코드
출력된 버전 번호가 1.4.124 이하인지 확인하여 취약 여부를 판단합니다.
wp-cli plugin list --name=motors --format=json | grep -E '"version": "[0-9.]+"'