🔍 CVE-2026-16585

7.2
CVSS Score
HIGH
2026-07-28
2026-07-28 16:17
✅ 완료

🇰🇷 한글 설명

WordPress용 Better Messages 플러그인의 delete_sticker 함수에서 파일 경로 검증이 미흡하여 임의의 파일을 삭제할 수 있는 취약점이 발견되었습니다. 관리자 권한을 가진 공격자가 경로 탐색(Path Traversal) 공격을 통해 wp-config.php와 같은 중요 파일을 삭제함으로써 원격 코드 실행(RCE)을 유도할 수 있습니다.

💡 쉬운 설명

관리자 권한을 가진 사용자가 시스템의 중요한 파일을 마음대로 지울 수 있는 보안 약점이 있습니다. 이 파일을 지움으로써 웹사이트를 마비시키거나 해커가 서버를 완전히 장악할 수도 있습니다.

🇺🇸 원문 (English)

The Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the delete_sticker function in all versions up to, and including, 2.15.19. This makes it possible for authenticated attackers, with administrator-level access and above, to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php). The prefix check intended to restrict deletion to the uploads directory can be bypassed by crafting a URL that begins with the legitimate uploads base URL but embeds ../ traversal sequences in the path portion, as the normalize_sticker function only applies esc_url_raw(), which does not strip ../ sequences, allowing the traversal payload to be stored verbatim in WordPress options.

📍 영향받는 시스템

Better Messages 플러그인 2.15.19 및 그 이전의 모든 버전

⚔️ 공격 벡터

경로 탐색(Path Traversal) 기법을 사용하여 uploads 디렉토리를 벗어나 서버 내 임의의 파일 경로를 지정하여 삭제

🛡️ 대응 방법

Better Messages 플러그인을 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.

🔧 검증 코드

출력 결과에 'better-messages'가 포함되어 있다면 해당 플러그인이 설치된 것이며, 설치된 버전을 확인하여 취약 버전 여부를 판단합니다.

Shell / Script
wp plugin list --status=active | grep -i 'better-messages'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

WordPress