🇰🇷 한글 설명
phpSlash 0.8.1.1 이하 버전의 index.php에 있는 eval injection 취약점으로, fields 파라미터를 통해 임의의 PHP 코드를 실행할 수 있습니다. 원격 공격자가 include/class/tz_env.class의 generic 함수 내 eval 함수 호출을 악용하여 서버에서 임의 코드를 실행할 수 있습니다.
💡 쉬운 설명
phpSlash 웹 애플리케이션의 구버전에서 사용자 입력을 검증하지 않고 PHP 코드로 처리하는 문제입니다. 인터넷을 통해 원격 공격자가 웹 서버를 완전히 장악할 수 있습니다.
🇺🇸 원문 (English)
Eval injection vulnerability in index.php in phpSlash 0.8.1.1 and earlier allows remote attackers to execute arbitrary PHP code via the fields parameter, which is supplied to an eval function call within the generic function in include/class/tz_env.class. NOTE: some of these details are obtained from third party information.
📍 영향받는 시스템
phpSlash 0.8.1.1 이하 모든 버전
⚔️ 공격 벡터
HTTP GET/POST 요청의 fields 파라미터에 악의적인 PHP 코드를 주입하여 원격 코드 실행
🛡️ 대응 방법
phpSlash를 최신 버전으로 업그레이드하고, eval 함수 사용을 제거한 후 모든 입력값을 엄격히 검증
🔧 검증 코드
명령어가 파일 경로를 반환하면 해당 시스템에 phpSlash가 설치되어 있으며 취약점 확인 필요. 결과 없으면 phpSlash가 설치되지 않았음을 의미.
find / -name 'tz_env.class.php' 2>/dev/null | head -1