🇰🇷 한글 설명
PHPGurukul Emergency Ambulance Hiring Portal 1.0의 /admin/bwdates-request-report-details.php 파일에서 fromdate/todate 매개변수에 대한 입력 검증이 부족하여 SQL Injection 취약점이 발생한다. 공격자는 이를 악용하여 데이터베이스에 직접 접근하거나 민감한 정보를 탈취할 수 있다.
💡 쉬운 설명
응급차 예약 시스템의 관리자 페이지에서 날짜 검색 기능이 제대로 보호되지 않아, 해커가 악의적인 명령어를 데이터베이스로 전송할 수 있다. 이를 통해 환자 정보나 예약 데이터가 유출될 위험이 있다.
🇺🇸 원문 (English)
A vulnerability classified as critical has been found in PHPGurukul Emergency Ambulance Hiring Portal 1.0. Affected is an unknown function of the file /admin/bwdates-request-report-details.php. The manipulation of the argument fromdate/todate 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 Emergency Ambulance Hiring Portal 1.0 및 이전 버전
⚔️ 공격 벡터
HTTP 요청의 fromdate 또는 todate 파라미터에 SQL 구문을 삽입하여 원격에서 데이터베이스 쿼리 조작
🛡️ 대응 방법
즉시 공식 보안 패치를 적용하거나 Prepared Statements 사용 및 입력 검증/이스케이프 처리 구현
🔧 검증 코드
SQL 에러 메시지가 표시되거나 예상치 못한 데이터가 반환되면 취약한 것으로 판단할 수 있다.
curl -s 'http://target/admin/bwdates-request-report-details.php?fromdate=1\' OR \'1\'=\'1' | grep -iE 'error|syntax|sql' | head -1