🇰🇷 한글 설명
PHPGurukul 온라인 과정 등록 시스템 3.1 이하에서 /onlinecourse/admin/manage-students.php 파일의 id/cid 매개변수에 대한 부적절한 입력 검증으로 인한 SQL 인젝션 취약점입니다. 공격자가 악의적인 SQL 구문을 삽입하여 데이터베이스 접근 및 조작이 가능합니다.
💡 쉬운 설명
관리자 페이지에서 학생 정보를 조회할 때 사용자 입력을 제대로 검증하지 않아, 공격자가 특수 문자를 포함시켜 데이터베이스를 직접 조작할 수 있는 취약점입니다. 이를 통해 민감한 정보 유출이나 데이터 변조가 발생할 수 있습니다.
🇺🇸 원문 (English)
A vulnerability was determined in PHPGurukul Online Course Registration System up to 3.1. This impacts an unknown function of the file /onlinecourse/admin/manage-students.php. This manipulation of the argument id/cid causes sql injection. It is possible to initiate the attack remotely. The exploit has been publicly disclosed and may be utilized.
📍 영향받는 시스템
PHPGurukul Online Course Registration System v3.1 이하
⚔️ 공격 벡터
원격 공격 가능 - /onlinecourse/admin/manage-students.php의 id 또는 cid 파라미터에 SQL 인젝션 페이로드 삽입
🛡️ 대응 방법
최신 버전으로 업그레이드 또는 모든 사용자 입력에 대해 prepared statements/parameterized queries 사용 및 엄격한 입력 검증 구현
🔧 검증 코드
취약한 패턴(직접 GET 파라미터 사용)이 검출되면 SQL 인젝션 위험이 있고, 결과가 없으면 이미 보호 메커니즘이 적용된 것입니다.
grep -r "id.*\$_GET\|cid.*\$_GET" /onlinecourse/admin/manage-students.php 2>/dev/null | head -1