🇰🇷 한글 설명
SetCMS 3.6.5의 index.php에서 경로 이동(directory traversal) 취약점이 존재하며, 공격자는 set 매개변수에 '..'를 삽입하여 임의의 로컬 파일을 포함할 수 있습니다. files/enter.set 파일에 PHP 코드를 주입하면 index.php가 이를 포함하여 원격 코드 실행이 가능합니다.
💡 쉬운 설명
SetCMS라는 웹사이트 제작 프로그램에서 폴더 경로를 조작하는 보안 약점이 있습니다. 이를 이용해 해커가 악의적인 코드를 실행할 수 있습니다.
🇺🇸 원문 (English)
Directory traversal vulnerability in index.php in SetCMS 3.6.5 allows remote attackers to include and execute arbitrary local files via a .. (dot dot) in the set parameter, as demonstrated by sending a certain CLIENT_IP HTTP header in an enter action to index.php, and injecting PHP sequences into files/enter.set, which is then included by index.php.
📍 영향받는 시스템
SetCMS 3.6.5 및 이전 버전
⚔️ 공격 벡터
HTTP 요청의 set 매개변수에 '..'를 입력하여 임의의 로컬 파일을 포함하고, files/enter.set에 PHP 코드를 주입
🛡️ 대응 방법
SetCMS를 최신 버전으로 업그레이드하거나, input validation을 강화하여 경로 이동 공격을 차단
🔧 검증 코드
설치되어 있으면 SetCMS index.php의 경로가 표시되고, 설치되지 않았으면 아무것도 표시되지 않습니다.
find / -name 'index.php' -path '*SetCMS*' -o -path '*/setcms/*' 2>/dev/null | head -1