🇰🇷 한글 설명
PHPGurukul 차량 기록 관리 시스템 1.0의 /admin/search-vehicle.php 파일에서 searchinputdata 매개변수에 대한 부적절한 입력 검증으로 인해 SQL 주입 취약점이 발생합니다. 공격자는 악의적인 SQL 쿼리를 삽입하여 데이터베이스의 민감한 정보에 원격으로 접근할 수 있습니다.
💡 쉬운 설명
차량 검색 기능에서 사용자 입력을 제대로 검증하지 않아 악의적인 명령을 삽입할 수 있습니다. 공격자가 데이터베이스에 직접 접근하여 정보를 탈취하거나 조작할 수 있습니다.
🇺🇸 원문 (English)
A vulnerability was found in PHPGurukul Vehicle Record Management System 1.0. It has been rated as critical. This issue affects some unknown processing of the file /admin/search-vehicle.php. The manipulation of the argument searchinputdata leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.
📍 영향받는 시스템
PHPGurukul Vehicle Record Management System 1.0
⚔️ 공격 벡터
HTTP GET/POST 요청으로 /admin/search-vehicle.php의 searchinputdata 매개변수에 SQL 페이로드 삽입
🛡️ 대응 방법
시스템을 최신 버전으로 업그레이드하고, 즉시 조치로 모든 사용자 입력에 대해 매개변수화된 쿼리(Prepared Statement) 사용 및 입력 검증 강화
🔧 검증 코드
명령어 실행 후 SQL 에러 메시지가 나타나면 취약점이 존재하고, 에러가 없으면 에러 처리가 적용되었을 가능성이 있습니다.
curl -s 'http://target/admin/search-vehicle.php' -G --data-urlencode "searchinputdata=test' OR '1'='1" | grep -i 'error\|mysql\|sql' || echo 'No obvious SQL error detected'