🇰🇷 한글 설명
GetSimple CMS 1.5 미만 버전의 UpdateCE.php 업데이트 핸들러에서 파일 유형이나 압축 해제 경로를 검증하지 않는 취약점이 발견되었습니다. 공격자가 악성 ZIP 아카이브를 처리하게 만들면 웹 서버 권한으로 원격 코드 실행(RCE)이 가능하며, 디렉토리 트래버설을 통해 의도하지 않은 경로에 파일을 쓸 수도 있습니다.
💡 쉬운 설명
프로그램이 업데이트 파일을 내려받아 압축을 풀 때, 그 안에 무엇이 들어있는지 제대로 확인하지 않는 문제입니다. 해커가 가짜 업데이트 파일을 보내면 서버를 마음대로 조종할 수 있는 위험한 상태입니다.
🇺🇸 원문 (English)
GetSimple CMS is a content management system (CMS), and GetSimple CMS CE is the community edition of that CMS. Prior to version 1.5, the update handler in UpdateCE.php downloads a ZIP archive and extracts its contents into the web root without validating file types or extraction paths. Because PHP files are written into a web-accessible directory, an attacker who can cause a malicious archive to be processed achieves remote code execution as the web-server user. Entry names are also used unsafely, allowing directory traversal (../) to write files outside the intended extraction directory. This issue has been patched in version 1.5.
📍 영향받는 시스템
GetSimple CMS (CE 포함) 1.5 미만 버전
⚔️ 공격 벡터
악성 ZIP 아카이브를 업로드하여 웹 루트 디렉토리에 PHP 파일을 생성하는 방식
🛡️ 대응 방법
GetSimple CMS를 최신 버전인 1.5 이상으로 업데이트하십시오.
🔧 검증 코드
명령어 실행 결과로 나타나는 파일의 경로와 해당 파일 내에 명시된 버전을 확인하여 1.5 미만인지 체크합니다.
find /var/www/html -name 'UpdateCE.php' -exec grep -H 'version' {} \;