🇰🇷 한글 설명
PHPGurukul 병원 관리 시스템 4.0의 /user-login.php 파일에서 Username 파라미터에 대한 입력 검증이 불충분하여 SQL Injection 공격이 가능합니다. 공격자는 악의적인 SQL 쿼리를 주입하여 데이터베이스에 무단으로 접근할 수 있습니다.
💡 쉬운 설명
병원 관리 시스템의 로그인 페이지에서 사용자 이름 입력란에 특수 문자를 삽입하여 시스템 데이터베이스를 조회하거나 조작할 수 있습니다. 공격자가 암호 없이 시스템에 접근하거나 민감한 정보를 탈취할 수 있습니다.
🇺🇸 원문 (English)
A vulnerability was found in PHPGurukul Hospital Management System 4.0. It has been declared as critical. Affected by this vulnerability is an unknown functionality of the file /user-login.php. The manipulation of the argument Username leads to sql injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.
📍 영향받는 시스템
PHPGurukul Hospital Management System 4.0 이하
⚔️ 공격 벡터
원격 공격: /user-login.php의 Username 파라미터에 SQL Injection 구문 입력
🛡️ 대응 방법
PHPGurukul 업데이트 설치, 입력값 검증 및 Prepared Statement 사용, WAF 규칙 적용
🔧 검증 코드
SQL Injection이 가능하면 데이터베이스 에러 메시지가 노출되거나 인증 우회 응답이 반환됩니다. 정상 시스템은 Invalid credentials 메시지만 표시합니다.
curl -s 'http://target/user-login.php' -d "Username=admin' OR '1'='1" -d 'Password=test' 2>&1 | grep -i 'error\|success\|database' || echo 'Verification requires live target access'