🇰🇷 한글 설명
PHPGurukul Online Course Registration 3.1의 /check_availability.php 파일에서 cid 인자에 대한 입력 검증 부재로 SQL injection 취약점이 존재합니다. 원격 공격자가 이 취약점을 악용하여 데이터베이스 조회, 수정 또는 삭제가 가능하며, 공개된 익스플로잇으로 인해 실제 공격이 일어날 수 있습니다.
💡 쉬운 설명
PHPGurukul 시스템의 특정 페이지에서 사용자 입력을 안전하게 처리하지 않아 공격자가 데이터베이스를 직접 조작할 수 있습니다. 민감한 사용자 정보 노출, 데이터 변조, 또는 시스템 마비가 가능합니다.
🇺🇸 원문 (English)
A weakness has been identified in PHPGurukul Online Course Registration 3.1. This vulnerability affects unknown code of the file /check_availability.php. Executing a manipulation of the argument cid can lead to sql injection. It is possible to launch the attack remotely. The exploit has been made available to the public and could be used for attacks.
📍 영향받는 시스템
PHPGurukul Online Course Registration 3.1 이하
⚔️ 공격 벡터
/check_availability.php?cid=[SQL injection payload] 형태로 원격에서 악의적 SQL 쿼리 주입 가능
🛡️ 대응 방법
PHPGurukul을 최신 버전으로 업그레이드하고 /check_availability.php에서 매개변수 검증 및 prepared statements 구현
🔧 검증 코드
check_availability.php 파일 존재 여부와 설치된 PHPGurukul 버전을 확인하여 3.1 버전일 경우 취약 상태로 판단
find / -name 'check_availability.php' -o -path '*/phpgurukul*' -name 'version.php' 2>/dev/null | head -5