🇰🇷 한글 설명
PHPGurukul Art Gallery Management System 1.1의 /admin/changeimage2.php 파일에서 editid 매개변수가 제대로 검증되지 않아 SQL 주입 공격이 가능한 취약점입니다. 공격자가 악의적인 SQL 쿼리를 주입하여 데이터베이스에 접근하고 조작할 수 있습니다.
💡 쉬운 설명
웹사이트의 이미지 변경 기능에 숨겨진 보안 결함이 있어서, 악의적인 명령을 통해 데이터베이스 정보를 빼낼 수 있습니다. 원격지에서 누구나 공격할 수 있으며, 이미 공격 방법이 공개되어 있어 위험합니다.
🇺🇸 원문 (English)
A vulnerability classified as critical was found in PHPGurukul Art Gallery Management System 1.1. This vulnerability affects unknown code of the file /admin/changeimage2.php. The manipulation of the argument editid leads to sql injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.
📍 영향받는 시스템
PHPGurukul Art Gallery Management System 버전 1.1
⚔️ 공격 벡터
원격 접근 가능 (Remote), /admin/changeimage2.php의 editid 파라미터에 SQL 구문을 삽입하여 공격
🛡️ 대응 방법
PHPGurukul을 최신 버전으로 업데이트하거나, editid 매개변수에 대한 입력 검증 및 prepared statement 사용으로 SQL 주입 방지
🔧 검증 코드
취약한 서버에서는 SQL 오류나 데이터베이스 관련 메시지가 반환될 수 있습니다. 오류 메시지가 없으면 기본 연결 테스트 완료된 것입니다. 정확한 진단은 보안 전문가에게 의뢰하세요.
curl -s http://target-site/admin/changeimage2.php?editid=1 | grep -iE '(error|warning|sql|database)' || echo 'Basic check done'