🇰🇷 한글 설명
PHPGurukul User Registration & Login and User Management System 3.3의 /admin/yesterday-reg-users.php 파일에서 ID 파라미터에 대한 입력 검증 미흡으로 인해 SQL injection 취약점이 발생합니다. 원격 공격자가 조작된 ID 값을 통해 데이터베이스에 임의의 SQL 명령을 실행할 수 있으며, 공개된 익스플로잇이 존재합니다.
💡 쉬운 설명
관리자 페이지의 입력창에 특수한 문자를 입력하면 공격자가 데이터베이스에 직접 접근할 수 있습니다. 사용자 정보 탈취나 변조, 삭제가 가능합니다.
🇺🇸 원문 (English)
A vulnerability was identified in PHPGurukul User Registration & Login and User Management System 3.3. The affected element is an unknown function of the file /admin/yesterday-reg-users.php. The manipulation of the argument ID leads to sql injection. Remote exploitation of the attack is possible. The exploit is publicly available and might be used.
📍 영향받는 시스템
PHPGurukul User Registration & Login and User Management System 버전 3.3
⚔️ 공격 벡터
HTTP 요청으로 /admin/yesterday-reg-users.php의 ID 파라미터에 SQL injection 페이로드를 주입하여 원격에서 데이터베이스 쿼리 조작
🛡️ 대응 방법
PHPGurukul을 최신 버전으로 업그레이드하거나, 패치 전까지 ID 파라미터에 정수 타입 강제 변환과 prepared statement 사용으로 SQL injection 방지
🔧 검증 코드
취약한 파일이 존재하면 해당 경로가 출력되어 시스템이 영향을 받고 있음을 의미하며, 파일이 없으면 PHPGurukul이 설치되지 않았거나 다른 경로에 있습니다.
find /var/www -name 'yesterday-reg-users.php' 2>/dev/null || grep -r 'PHPGurukul' /var/www/html 2>/dev/null | head -1