🇰🇷 한글 설명
PHPGurukul Beauty Parlour Management System 1.1의 /admin/customer-list.php 파일에서 delid 매개변수 처리 미흡으로 인한 SQL injection 취약점입니다. 공격자는 원격에서 악의적인 SQL 쿼리를 주입하여 데이터베이스에 무단 접근이 가능합니다.
💡 쉬운 설명
미용실 관리 프로그램의 고객 목록 삭제 기능에 숨겨진 보안 구멍이 있습니다. 해커가 이를 악용하면 관리 화면을 거치지 않고도 데이터베이스 정보를 빼낼 수 있습니다.
🇺🇸 원문 (English)
A vulnerability was identified in PHPGurukul Beauty Parlour Management System 1.1. Affected by this issue is some unknown functionality of the file /admin/customer-list.php. Such manipulation of the argument delid leads to sql injection. It is possible to launch the attack remotely. The exploit is publicly available and might be used.
📍 영향받는 시스템
PHPGurukul Beauty Parlour Management System 1.1 이하
⚔️ 공격 벡터
HTTP GET/POST 요청의 delid 파라미터에 SQL 명령어 주입 (예: /admin/customer-list.php?delid=1 OR 1=1)
🛡️ 대응 방법
PHPGurukul을 최신 버전으로 업그레이드하고, 모든 입력값을 검증하며 prepared statement 사용
🔧 검증 코드
명령어 실행 후 SQL 오류 메시지가 나오면 해당 버전이 설치되어 있고 취약할 가능성이 높음
curl -s http://localhost/admin/customer-list.php?delid=1' 2>&1 | grep -iE 'error|sql|syntax|mysql' && echo 'Vulnerable' || echo 'Check manually'