🇰🇷 한글 설명
phpDirectorySource 1.1.06에서 magic_quotes_gpc가 비활성화되었을 때, show.php의 lid 파라미터와 admin.php의 login 파라미터를 통해 원격 공격자가 임의의 SQL 명령어를 실행할 수 있는 SQL 인젝션 취약점입니다.
💡 쉬운 설명
웹 사이트의 디렉토리 소프트웨어가 사용자 입력을 제대로 검증하지 않아서, 악의적인 SQL 명령어를 주입할 수 있습니다. 이를 통해 공격자는 데이터베이스의 민감한 정보를 탈취하거나 데이터를 조작할 수 있습니다.
🇺🇸 원문 (English)
Multiple SQL injection vulnerabilities in phpDirectorySource 1.1.06, when magic_quotes_gpc is disabled, allow remote attackers to execute arbitrary SQL commands via the (1) lid parameter to show.php and the (2) login parameter to admin.php.
📍 영향받는 시스템
phpDirectorySource 버전 1.1.06 이하 (magic_quotes_gpc 비활성화 환경)
⚔️ 공격 벡터
show.php의 lid 파라미터 또는 admin.php의 login 파라미터에 SQL 인젝션 페이로드 입력
🛡️ 대응 방법
phpDirectorySource를 최신 버전으로 업그레이드하고, magic_quotes_gpc를 활성화하거나 입력 검증 및 매개변수화된 쿼리를 사용하여 SQL 인젝션 방지
🔧 검증 코드
phpDirectorySource 설치 위치를 찾은 후, 버전 정보를 확인하고 magic_quotes_gpc 설정 상태를 php.ini에서 확인하세요
find / -name 'show.php' -o -name 'admin.php' 2>/dev/null | head -5