🇰🇷 한글 설명
phpSysInfo 2.4 이전 버전의 index.php에서 디렉토리 트래버설 취약점이 발견되었습니다. 원격 공격자가 ../ 시퀀스를 통해 임의의 파일을 포함하고 내부 변수를 덮어쓸 수 있습니다. sensor_program 파라미터와 HTTP_ACCEPT_LANGUAGE 헤더가 취약한 공격 경로입니다.
💡 쉬운 설명
웹 애플리케이션의 폴더 탈출 결함으로, 공격자가 의도하지 않은 파일(설정 파일, 개인정보 등)에 접근할 수 있습니다. ../ 같은 상위 디렉토리 표기법을 악용하여 보호된 영역의 파일을 읽고 실행할 수 있게 됩니다.
🇺🇸 원문 (English)
Multiple directory traversal vulnerabilities in index.php in phpSysInfo 2.4 and earlier, as used in phpgroupware 0.9.16 and earlier, and egrouwpware before 1.0.0.009, allow remote attackers to include arbitrary files via .. (dot dot) sequences in the (1) sensor_program parameter or the (2) _SERVER[HTTP_ACCEPT_LANGUAGE] parameter, which overwrites an internal variable, a variant of CVE-2003-0536. NOTE: due to a typo in an advisory, an issue in osh was inadvertently linked to this identifier; the proper identifier for the osh issue is CVE-2005-3346.
📍 영향받는 시스템
phpSysInfo ≤2.4, phpgroupware ≤0.9.16, egrouwpware <1.0.0.009
⚔️ 공격 벡터
index.php의 sensor_program 매개변수 또는 HTTP 헤더의 HTTP_ACCEPT_LANGUAGE 값에 ../ 시퀀스를 삽입하여 상위 디렉토리 파일 접근
🛡️ 대응 방법
phpSysInfo를 2.5 이상, phpgroupware를 0.9.17 이상, egrouwpware를 1.0.0.009 이상으로 업그레이드하거나 입력 유효성 검사 패치 적용
🔧 검증 코드
설치된 phpsysinfo, phpgroupware의 버전을 확인하여 영향받는 버전 범위(phpsysinfo ≤2.4, phpgroupware ≤0.9.16)에 해당하면 취약합니다.
dpkg -l 2>/dev/null | grep -E 'phpsysinfo|phpgroupware' || find /var/www -name 'index.php' -path '*phpsysinfo*' 2>/dev/null | xargs grep -h 'version\|VERSION' 2>/dev/null | head -1