🇰🇷 한글 설명
PHPGurukul 직원 기록 관리 시스템 1.3의 /resetpassword.php 파일에 SQL 삽입 취약점이 존재합니다. newpassword 파라미터를 조작하여 데이터베이스에 악의적인 SQL 명령어를 주입할 수 있으며, 원격에서 공격이 가능합니다.
💡 쉬운 설명
비밀번호 재설정 기능이 사용자 입력을 검증하지 않아 공격자가 데이터베이스를 직접 제어할 수 있습니다. 이를 통해 개인정보 탈취, 계정 탈취, 시스템 손상이 발생할 수 있습니다.
🇺🇸 원문 (English)
A vulnerability, which was classified as critical, has been found in PHPGurukul Employee Record Management System 1.3. Affected by this issue is some unknown functionality of the file /resetpassword.php. The manipulation of the argument newpassword leads to sql injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.
📍 영향받는 시스템
PHPGurukul Employee Record Management System 1.3
⚔️ 공격 벡터
/resetpassword.php 파일의 newpassword 파라미터에 SQL 문법을 포함한 입력값을 전송하여 DB 명령어 실행
🛡️ 대응 방법
최신 버전으로 업그레이드하고, 모든 사용자 입력에 대해 prepared statements 사용 및 입력값 검증 강화
🔧 검증 코드
파일 경로가 출력되면 취약한 PHPGurukul이 설치된 상태입니다. 결과가 없으면 해당 애플리케이션이 설치되지 않았거나 다른 경로에 위치합니다.
find /var/www/html -name 'resetpassword.php' -type f 2>/dev/null | head -1