🇰🇷 한글 설명
Textpattern 4.8.2 이전 버전에서 인증된 사용자가 악성 PHP 파일을 업로드할 수 있는 취약점입니다. 공격자는 특정 URL 파라미터를 통해 업로드된 파일에 접근하여 서버에서 임의의 명령을 실행할 수 있습니다.
💡 쉬운 설명
Textpattern 웹사이트 도구에서 로그인한 사용자가 악의적인 파일을 업로드할 수 있는 문제입니다. 공격자가 이 파일에 접근하면 서버를 완전히 제어할 수 있습니다.
🇺🇸 원문 (English)
Textpattern versions prior to 4.8.3 contain an authenticated remote code execution vulnerability that allows logged-in users to upload malicious PHP files. Attackers can upload a PHP file with a shell command execution payload and execute arbitrary commands by accessing the uploaded file through a specific URL parameter.
📍 영향받는 시스템
Textpattern 4.8.2 이하 모든 버전
⚔️ 공격 벡터
인증된 사용자가 파일 업로드 기능을 악용하여 PHP 실행 코드를 서버에 업로드 후 URL로 접근하여 실행
🛡️ 대응 방법
Textpattern을 4.8.3 이상으로 업그레이드하고 파일 업로드 디렉토리의 PHP 실행 권한을 제거
🔧 검증 코드
출력된 버전 번호가 4.8.3 이상인지 확인하고, 업로드 디렉토리에 .htaccess 또는 php.ini로 PHP 실행이 비활성화되어 있는지 검증
grep -r 'VERSION\|version' /path/to/textpattern/textpattern.php 2>/dev/null | grep -oE '[0-9]\.[0-9]\.[0-9]'