🇰🇷 한글 설명
girishsaraf의 Online-Appointment-Booking-System 특정 버전에서 SQL 인젝션 취약점이 발견되었습니다. Admin/mlogin.php 파일의 mysqli_query 함수에서 uname 또는 pass 인자를 조작하여 발생하며, 원격 공격자가 이를 악용할 수 있습니다.
💡 쉬운 설명
로그인 화면의 아이디나 비밀번호 입력창에 특수 코드를 넣어 데이터베이스를 조작할 수 있는 보안 약점입니다. 해커가 이 방법을 통해 관리자 권한을 탈취하거나 정보를 훔칠 수 있습니다.
🇺🇸 원문 (English)
A vulnerability was found in girishsaraf Online-Appointment-Booking-System up to f427b4757128ca253d33d0cc4e87bbb9c999a4d5. This affects the function mysqli_query of the file Admin/mlogin.php of the component Login Handler. Performing a manipulation of the argument uname/pass results in sql injection. The attack may be initiated remotely. The exploit has been made public and could be used. This product uses a rolling release model to deliver continuous updates. As a result, specific version information for affected or updated releases is not available. The project was informed of the problem early through an issue report but has not responded yet.
📍 영향받는 시스템
girishsaraf Online-Appointment-Booking-System (commit f427b4757128ca253d33d0cc4e87bbb9c999a4d5 이하 버전)
⚔️ 공격 벡터
원격에서 로그인 인자(uname/pass)에 악의적인 SQL 구문을 삽입하는 방식
🛡️ 대응 방법
입력값에 대한 Prepared Statement 사용 및 파라미터화된 쿼리로 코드 수정
🔧 검증 코드
출력된 커밋 해시값이 f427b4757128ca253d33d0cc4e87bbb9c999a4d5와 같거나 그 이전 단계라면 취약한 상태입니다.