🇰🇷 한글 설명
PHPGurukul Online Fire Reporting System 1.2의 /admin/new-requests.php 파일에서 teamid 파라미터를 통한 SQL Injection 취약점이 발견되었습니다. 원격 공격이 가능하며 공개 익스플로잇이 존재합니다.
💡 쉬운 설명
웹사이트의 관리자 페이지에서 특수한 명령을 입력하여 백엔드 데이터베이스를 직접 조작할 수 있는 취약점입니다. 공격자가 데이터베이스의 모든 정보에 접근하거나 변조할 수 있습니다.
🇺🇸 원문 (English)
A vulnerability classified as critical has been found in PHPGurukul Online Fire Reporting System 1.2. Affected is an unknown function of the file /admin/new-requests.php. The manipulation of the argument teamid leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.
📍 영향받는 시스템
PHPGurukul Online Fire Reporting System 1.2
⚔️ 공격 벡터
HTTP 요청으로 /admin/new-requests.php의 teamid 파라미터에 SQL 쿼리를 주입하여 데이터베이스 조작
🛡️ 대응 방법
PHPGurukul을 최신 버전으로 업데이트하거나 패치 적용, 또는 teamid 파라미터에 대한 입력 검증 및 준비된 쿼리문(Prepared Statements) 사용
🔧 검증 코드
명령어 실행 후 teamid가 SQL 쿼리에 직접 연결되어 있는지 확인합니다. 준비된 쿼리문이 없으면 취약할 가능성이 높습니다.
grep -r "teamid" /path/to/phpgurukul/admin/ 2>/dev/null | head -5