🔍 CVE-2026-5032

7.5
CVSS Score
HIGH
2026-04-02
2026-04-27 19:04
✅ 완료

🇰🇷 한글 설명

W3 Total Cache 플러그인이 User-Agent 헤더에 "W3 Total Cache" 문자열을 포함한 요청에서 출력 버퍼링 파이프라인 전체를 우회하여 W3TC_DYNAMIC_SECURITY 보안 토큰을 노출한다. 공격자는 이 토큰을 획득한 후 mfunc 태그를 조작하여 서버에서 임의의 PHP 코드를 실행할 수 있다.

💡 쉬운 설명

WordPress 캐시 플러그인이 특정 요청에 대해 보안 암호를 실수로 공개하는 문제이다. 이 암호를 얻은 공격자는 서버에서 자신의 코드를 실행할 수 있게 된다.

🇺🇸 원문 (English)

The W3 Total Cache plugin for WordPress is vulnerable to information exposure in all versions up to, and including, 2.9.3. This is due to the plugin bypassing its entire output buffering and processing pipeline when the request's User-Agent header contains "W3 Total Cache", which causes raw mfunc/mclude dynamic fragment HTML comments — including the W3TC_DYNAMIC_SECURITY security token — to be rendered in the page source. This makes it possible for unauthenticated attackers to discover the value of the W3TC_DYNAMIC_SECURITY constant by sending a crafted User-Agent header to any page that contains developer-placed dynamic fragment tags, granted the site has the fragment caching feature enabled. With the leaked W3TC_DYNAMIC_SECURITY token, an attacker can craft valid mfunc tags to execute arbitrary PHP code on the server, achieving remote code execution.

📍 영향받는 시스템

W3 Total Cache plugin for WordPress versions up to 2.9.3

⚔️ 공격 벡터

Send HTTP request with 'W3 Total Cache' in User-Agent header to pages containing dynamic fragment tags to leak W3TC_DYNAMIC_SECURITY token, then use it to craft mfunc tags for RCE

🛡️ 대응 방법

Update W3 Total Cache plugin to version 2.9.4 or later immediately

🔧 검증 코드

If version number shown is ≤ 2.9.3, system is vulnerable. Update to 2.9.4+. If no output, check plugin installation path or plugin is not installed.

Shell / Script
grep -i 'Version' /var/www/html/wp-content/plugins/w3-total-cache/w3-total-cache.php 2>/dev/null | head -1

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP