🇰🇷 한글 설명
Gentoo Linux의 PHP Toolkit 1.0.1 이전 버전에서 발생하는 해석 충돌 취약점입니다. 한 글자 소문자 파일명 생성 시 [a-z] 인자가 정규표현식 문자열 대신 쉘 글로브 패턴으로 잘못 해석되어 Apache 내 PHP 인터프리터 실행이 차단됩니다. 이로 인해 서비스 거부 및 PHP 스크립트 내용 노출이 발생합니다.
💡 쉬운 설명
Gentoo Linux의 PHP 도구에서 파일명을 잘못 해석하여 웹서버가 PHP를 실행할 수 없게 됩니다. 공격자가 이를 악용하면 서비스가 중단되거나 PHP 코드가 노출될 수 있습니다.
🇺🇸 원문 (English)
Interpretation conflict in PHP Toolkit before 1.0.1 on Gentoo Linux might allow local users to cause a denial of service (PHP outage) and read contents of PHP scripts by creating a file with a one-letter lowercase alphabetic name, which triggers interpretation of a certain unquoted [a-z] argument as a matching shell glob for this name, rather than interpretation as the literal [a-z] regular-expression string, and consequently blocks the launch of the PHP interpreter within the Apache HTTP Server.
📍 영향받는 시스템
Gentoo Linux의 PHP Toolkit 1.0.1 이전 버전
⚔️ 공격 벡터
로컬 사용자가 한 글자 소문자 이름의 파일을 생성하여 쉘 글로브 패턴 오해석 유발
🛡️ 대응 방법
PHP Toolkit을 1.0.1 이상으로 업그레이드 수행
🔧 검증 코드
php-toolkit 버전이 1.0.1 이상이면 안전하고, 1.0.1 미만이거나 설치되지 않았으면 업그레이드 필요
emerge -s php-toolkit 2>/dev/null | grep -E 'Latest|Installed'