🇰🇷 한글 설명
PHPGurukul Directory Management System 1.0의 /index.php 파일에서 searchdata 파라미터를 통한 SQL Injection 취약점이 존재합니다. 원격 공격자가 악의적인 SQL 쿼리를 주입하여 데이터베이스를 조회·수정·삭제할 수 있습니다. 이 취약점은 이미 공개되어 실제 악용이 우려됩니다.
💡 쉬운 설명
웹사이트의 검색창에 특수한 코드를 입력하면 뒤에 있는 데이터베이스를 제어할 수 있는 문제입니다. 누구나 인터넷을 통해 원격으로 공격할 수 있습니다.
🇺🇸 원문 (English)
A security vulnerability has been detected in PHPGurukul Directory Management System 1.0. Impacted is an unknown function of the file /index.php of the component Search. The manipulation of the argument searchdata leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed publicly and may be used.
📍 영향받는 시스템
PHPGurukul Directory Management System 1.0
⚔️ 공격 벡터
HTTP GET/POST 요청으로 /index.php의 searchdata 파라미터에 SQL 문법을 삽입하여 쿼리 조작
🛡️ 대응 방법
최신 버전으로 업그레이드 또는 입력값 검증 및 Prepared Statements 사용으로 SQL Injection 방어 적용
🔧 검증 코드
SQL 관련 에러 메시지가 출력되면 취약점 확인, 에러가 없으면 보호 또는 WAF 적용으로 판단
curl -s 'http://target-ip/index.php?searchdata=1'\' AND 1=1 -- ' 2>/dev/null | grep -iE '(sql|database|syntax|error|mysql)' || echo 'Safe or Protected'