🔍 CVE-2021-47976

8.8
CVSS Score
HIGH
2026-05-16
2026-05-18 17:26
✅ 완료

🇰🇷 한글 설명

TextPattern CMS 4.9.0-dev의 플러그인 업로드 기능에서 CSRF 토큰을 이용한 원격 코드 실행 취약점이 발견되었습니다. 인증된 공격자가 악성 PHP 파일을 textpattern/tmp/ 디렉토리에 업로드하여 서버에서 임의의 코드를 실행할 수 있습니다.

💡 쉬운 설명

TextPattern CMS 웹사이트 관리 도구에서 인증된 사용자가 악의적인 프로그램 파일을 업로드해 서버를 장악할 수 있습니다. 관리자 계정이 있으면 누구나 공격할 수 있다는 뜻입니다.

🇺🇸 원문 (English)

TextPattern CMS 4.9.0-dev contains a remote code execution vulnerability that allows authenticated attackers to upload arbitrary PHP files by exploiting the plugin upload functionality. Attackers can authenticate, retrieve a CSRF token from the plugin event page, and upload malicious PHP files to the textpattern/tmp/ directory for code execution.

📍 영향받는 시스템

TextPattern CMS 4.9.0-dev

⚔️ 공격 벡터

인증된 공격자가 CSRF 토큰 획득 후 플러그인 업로드 기능을 통해 PHP 파일 업로드

🛡️ 대응 방법

TextPattern CMS를 최신 버전으로 업그레이드 또는 플러그인 업로드 기능 비활성화

🔧 검증 코드

TextPattern 설치 경로의 index.php에서 버전 정보를 확인하여 4.9.0-dev 여부 판단

Shell / Script
grep -r 'version\|VERSION' /path/to/textpattern/index.php 2>/dev/null | head -1

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP