🇰🇷 한글 설명
PHP Lite Calendar Express 2.2의 month.php 파일에서 catid 및 cid 파라미터를 통한 SQL 인젝션 취약점이 발견되었습니다. 원격 공격자가 이를 악용하여 임의의 SQL 명령을 실행할 수 있습니다.
💡 쉬운 설명
웹 달력 프로그램에서 사용자 입력을 제대로 검증하지 않아 악의적인 SQL 코드를 삽입할 수 있습니다. 공격자가 데이터베이스를 읽거나 수정할 수 있게 됩니다.
🇺🇸 원문 (English)
Multiple SQL injection vulnerabilities in month.php in PHP Lite Calendar Express 2.2 allow remote attackers to execute arbitrary SQL commands via the (1) catid and (2) cid parameter. NOTE: this might be a duplicate of CVE-2005-4009.c.
📍 영향받는 시스템
PHP Lite Calendar Express 2.2 이하 버전
⚔️ 공격 벡터
month.php?catid=[SQL injection] 또는 month.php?cid=[SQL injection] URL 파라미터 조작
🛡️ 대응 방법
PHP Lite Calendar Express를 최신 버전으로 업그레이드하고 입력값 검증 및 prepared statements 사용
🔧 검증 코드
month.php 파일에서 catid, cid 변수가 직접 SQL 쿼리에 사용되는지 확인합니다. SQL 쿼리에 직접 포함되면 취약합니다.
grep -r "\$catid\|\$cid" /path/to/calendar/month.php | head -5