🇰🇷 한글 설명
phpGroupWare 0.9.16.12 이전 버전의 login.php에서 passwd 매개변수를 통한 SQL Injection 취약점입니다. magic_quotes_gpc가 비활성화된 환경에서 원격 공격자가 임의의 SQL 명령어를 실행할 수 있으며, 인증 우회 및 데이터베이스 완전 제어가 가능합니다.
💡 쉬운 설명
로그인 화면의 비밀번호 입력란에 특수 문자를 집어넣어 데이터베이스를 조종할 수 있는 구멍입니다. 공격자는 사용자 정보를 훔치거나 시스템에 불법 접근할 수 있습니다.
🇺🇸 원문 (English)
SQL injection vulnerability in phpgwapi /inc/class.auth_sql.inc.php in phpGroupWare 0.9.16.12, and possibly other versions before 0.9.16.014, when magic_quotes_gpc is disabled, allows remote attackers to execute arbitrary SQL commands via the passwd parameter to login.php.
📍 영향받는 시스템
phpGroupWare 0.9.16.12 및 그 이전 모든 버전 (magic_quotes_gpc 비활성화 환경)
⚔️ 공격 벡터
login.php의 passwd 필드에 SQL 주입 페이로드를 삽입하여 인증 쿼리를 조작하고 우회
🛡️ 대응 방법
phpGroupWare를 0.9.16.014 이상으로 업그레이드하거나 입력값 검증 및 Prepared Statement 적용
🔧 검증 코드
phpGroupWare 설치 확인 후 auth_sql 파일 존재 시 버전 번호 확인, 0.9.16.014 미만이면 취약한 상태
dpkg -l 2>/dev/null | grep -i phpgroupware && grep -n 'class.auth_sql.inc.php' /var/www/html/phpgroupware/inc/class.auth_sql.inc.php 2>/dev/null | head -1