🇰🇷 한글 설명
AMP for WP – Accelerated Mobile Pages 플러그인 1.1.18 이하 버전에는 do_shortcode 실행 전 값을 제대로 검증하지 않는 취약점이 존재합니다. 이로 인해 custom 권한 이상의 인증된 공격자가 임의의 쇼트코드를 실행할 수 있습니다. 해당 설정(ampforwp-cat-description)은 기본적으로 활성화되어 있어 대부분의 설치 환경이 영향을 받습니다.
💡 쉬운 설명
워드프레스 모바일 페이지 플러그인에 결함이 있어, 로그인한 일부 사용자가 사이트에서 허용되지 않은 기능을 실행할 수 있습니다. 대부분의 사이트가 기본 설정 그대로 영향을 받으므로 확인과 업데이트가 필요합니다.
🇺🇸 원문 (English)
The The AMP for WP – Accelerated Mobile Pages plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 1.1.18. This is due to the software allowing users to execute an action that does not properly validate a value before running do_shortcode. This makes it possible for authenticated attackers, with custom-level access and above, to execute arbitrary shortcodes. The vulnerable output block is gated by the 'ampforwp-cat-description' setting, which is enabled by default, meaning the vast majority of installations are affected without any additional configuration change.
📍 영향받는 시스템
AMP for WP – Accelerated Mobile Pages 플러그인 1.1.18 이하 버전이 설치된 워드프레스 사이트
⚔️ 공격 벡터
custom 권한 이상의 인증된 사용자가 플러그인 기능을 통해 임의의 쇼트코드를 실행
🛡️ 대응 방법
플러그인을 1.1.18보다 높은 최신 버전으로 업데이트하고, 불필요한 사용자 권한을 점검
🔧 검증 코드
출력된 version 값이 1.1.18 이하이면 취약한 버전이므로 업데이트가 필요하고, 1.1.18보다 높으면 패치된 버전입니다. 플러그인이 설치되지 않았다면 결과가 비어 있습니다.
wp plugin list --name=accelerated-mobile-pages --fields=name,version,status 2>/dev/null || grep -rh "Version:" /var/www/*/wp-content/plugins/accelerated-mobile-pages/*.php 2>/dev/null | head -n 1