🔍 CVE-2026-6394

5.4
CVSS Score
MEDIUM
2026-05-20
2026-07-24 08:10
✅ 완료

🇰🇷 한글 설명

Nexa Blocks – Gutenberg Blocks 플러그인의 import_demo() 함수가 사용자 입력 URL을 검증 없이 wp_remote_get()에 전달하여 SSRF 취약점이 발생합니다. AJAX nonce가 공개되어 있어 인증되지 않은 공격자도 내부 네트워크나 클라우드 메타데이터 서비스에 접근할 수 있습니다.

💡 쉬운 설명

해커가 웹사이트를 통해 서버 내부의 비밀 정보나 다른 컴퓨터에 몰래 접속할 수 있는 결함입니다. 보안 장치를 우회하여 서버가 공격자가 원하는 곳으로 요청을 보내게 만듭니다.

🇺🇸 원문 (English)

The Nexa Blocks – Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE plugin for WordPress is vulnerable to Server-Side Request Forgery (SSRF) in versions up to and including 1.1.1. This is due to the import_demo() function accepting a user-supplied URL in the demo_json_file POST parameter and passing it directly to wp_remote_get() without any URL validation or restriction against internal or private network destinations. The nexa_blocks_nonce required for the AJAX action is publicly exposed in the HTML source of any frontend page where the plugin is active via wp_localize_script on the enqueue_block_assets hook, effectively making the nonce available to all visitors and bypassing any intended authentication barrier. This makes it possible for unauthenticated attackers to make server-side HTTP requests to arbitrary internal or external destinations, potentially exposing internal services, cloud metadata endpoints such as the AWS instance metadata service, localhost services, and other resources not intended to be publicly accessible. A secondary SSRF vector also exists whereby image URLs extracted from the attacker-controlled JSON response are subsequently fetched via a second wp_remote_get() call, allowing chained exploitation through a crafted JSON payload.

📍 영향받는 시스템

Nexa Blocks – Gutenberg Blocks plugin versions up to and including 1.1.1

⚔️ 공격 벡터

공개된 nonce를 이용해 demo_json_file 파라미터에 악성 URL을 담아 AJAX 요청을 전송

🛡️ 대응 방법

플러그인을 최신 버전으로 업데이트하거나, 입력 URL에 대한 화이트리스트 검증 로직을 적용해야 합니다.

🔧 검증 코드

플러그인 목록에서 Nexa Blocks가 활성화되어 있는지 확인하고, 설치된 버전이 1.1.1 이하인지 확인합니다.

Shell / Script
wp plugin list --status=active | grep -i 'nexa-blocks' && echo 'Check version manually'

📊 CVSS Vector String

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