🔍 CVE-2026-85655

4.3
CVSS Score
MEDIUM
2026-10-28
2026-11-04 23:10
✅ 완료

🇰🇷 한글 설명

WordPress Enable Media Replace 플러그인 4.2.2 이하 버전에는 권한 검증 누락 취약점이 존재합니다. 작성자(Author) 이상 권한을 가진 인증된 공격자가 doReplaceQuery() 기능을 통해 해당 미디어를 참조하는 모든 게시물의 post_content를 수정할 수 있으며, 관리자 소유 게시물도 포함됩니다.

💡 쉬운 설명

글쓰기 권한이 있는 일반 사용자가 이미지 교체 기능을 악용하면 다른 사람의 글까지 몰래 바꿀 수 있습니다. 변경된 내용은 로그인하지 않은 방문자에게도 즉시 보입니다.

🇺🇸 원문 (English)

The Enable Media Replace plugin for WordPress is vulnerable to authorization bypass in all versions up to, and including, 4.2.2. This is due to the plugin not properly verifying that a user is authorized to perform an action. This makes it possible for authenticated attackers, with author-level access and above, to modify the post_content of any published post referencing the replaced media — including Administrator-owned posts — making changes immediately visible to unauthenticated visitors. The doReplaceQuery() method performs a database-wide search-and-replace across all posts containing the old media URL without any per-post capability check, meaning a single Author-triggered request can silently overwrite a large number of posts that WordPress's standard admin UI and REST API would otherwise forbid that user from editing.

📍 영향받는 시스템

WordPress Enable Media Replace 플러그인 4.2.2 이하 전 버전

⚔️ 공격 벡터

Author 이상 권한의 인증된 사용자가 미디어 교체 요청을 보내 DB 전체의 옛 미디어 URL을 새 URL로 일괄 치환

🛡️ 대응 방법

플러그인을 4.2.2보다 높은 패치 버전으로 업데이트하고, 업데이트가 불가하면 플러그인을 비활성화하거나 제거

🔧 검증 코드

출력된 버전이 4.2.2 이하이면 취약하며, 패치된 상위 버전이면 조치가 완료된 것입니다. 아무 출력이 없으면 플러그인이 설치되지 않은 것입니다.

Shell / Script
wp plugin get enable-media-replace --field=version 2>/dev/null || grep -i 'Version:' wp-content/plugins/enable-media-replace/enable-media-replace.php 2>/dev/null

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

WordPress