🇰🇷 한글 설명
PHPGurukul Art Gallery Management System 1.1의 /admin/changeimage3.php 파일에서 editid 매개변수에 대한 입력 검증 부재로 인한 SQL injection 취약점입니다. 인증되지 않은 공격자가 원격에서 SQL 쿼리를 조작하여 데이터베이스 내용을 유출하거나 변조할 수 있으며, 공개 익스플로잇이 존재합니다.
💡 쉬운 설명
웹사이트 관리자 페이지에서 이미지 변경 기능의 입력값이 제대로 검사되지 않아 데이터베이스 명령어를 삽입할 수 있는 문제입니다. 인터넷 접속만으로 누구나 원격에서 공격할 수 있습니다.
🇺🇸 원문 (English)
A vulnerability, which was classified as critical, has been found in PHPGurukul Art Gallery Management System 1.1. This issue affects some unknown processing of the file /admin/changeimage3.php. The manipulation of the argument editid leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.
📍 영향받는 시스템
PHPGurukul Art Gallery Management System 1.1 이하
⚔️ 공격 벡터
HTTP GET/POST 요청의 editid 매개변수에 SQL injection 페이로드 전송: /admin/changeimage3.php?editid=1' OR '1'='1
🛡️ 대응 방법
시스템을 최신 버전으로 업그레이드하거나 prepared statements와 입력 검증을 적용하여 SQL injection 방지
🔧 검증 코드
해당 파일에서 editid 매개변수가 직접 SQL 쿼리에 사용되는지 확인하여 입력 검증 여부 판단
grep -r 'editid' /path/to/phpgurukul/admin/ 2>/dev/null | grep -E 'changeimage3\.php' | head -1