🔍 CVE-2017-16941

8.8
CVSS Score
HIGH
2017-11-25
2026-05-13 00:24
✅ 완료

🇰🇷 한글 설명

October CMS 1.0.428 이하 버전에서 테마 디렉토리에 .htaccess 파일의 사용을 제한하지 않아, 인증된 사용자가 악의적인 테마를 업로드하여 임의의 PHP 코드를 실행할 수 있습니다. 공격자는 정상 테마를 다운로드한 후 .php 파일과 .htaccess 파일을 추가하여 재업로드함으로써 서버에서 임의의 코드 실행이 가능합니다.

💡 쉬운 설명

October CMS 웹사이트 제작 도구에서 관리자가 악의적인 테마를 업로드하면 해커가 서버를 완전히 제어할 수 있습니다. .htaccess 파일을 이용해 숨겨진 PHP 코드를 실행할 수 있기 때문입니다.

🇺🇸 원문 (English)

October CMS through 1.0.428 does not prevent use of .htaccess in themes, which allows remote authenticated users to execute arbitrary PHP code by downloading a theme ZIP archive from /backend/cms/themes, and then uploading and importing a modified archive with two new files: a .php file and a .htaccess file. NOTE: the vendor says "I don't think [an attacker able to login to the system under an account that has access to manage/upload themes] is a threat model that we need to be considering.

📍 영향받는 시스템

October CMS through 1.0.428 (Laravel 기반 CMS)

⚔️ 공격 벡터

인증된 사용자가 /backend/cms/themes 경로를 통해 PHP + .htaccess 파일이 포함된 악의적 테마 아카이브를 업로드/임포트

🛡️ 대응 방법

October CMS를 1.0.429 이상으로 업그레이드하거나 테마 업로드 기능 접근 제한 및 .htaccess 업로드 차단 규칙 추가

🔧 검증 코드

출력된 october 또는 october/cms 패키지의 버전이 1.0.428 이하이면 취약. 버전 없으면 관리 페널의 Settings에서 October CMS 버전 직접 확인 필요.

Shell / Script
grep -i 'october' composer.json 2>/dev/null || find . -name 'composer.json' -exec grep -i october {} \; 2>/dev/null | head -1

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP