🇰🇷 한글 설명
PHPGurukul Art Gallery Management System 1.1의 /admin/changeimage1.php 파일에서 editid 매개변수에 대한 입력 검증 부재로 인한 SQL injection 취약점입니다. 원격 공격자가 악의적인 SQL 명령어를 삽입하여 데이터베이스에 접근하거나 조작할 수 있습니다.
💡 쉬운 설명
웹사이트의 관리자 페이지에서 사진을 변경할 때 사용되는 ID 값을 조작하여 몰래 데이터베이스 명령을 실행할 수 있는 취약점입니다. 공격자가 인증 없이 원격으로 민감한 정보를 탈취하거나 삭제할 수 있습니다.
🇺🇸 원문 (English)
A vulnerability classified as critical has been found in PHPGurukul Art Gallery Management System 1.1. This affects an unknown part of the file /admin/changeimage1.php. The manipulation of the argument editid leads to sql injection. It is possible to initiate the attack 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 구문 주입 (예: /admin/changeimage1.php?editid=1 OR 1=1)
🛡️ 대응 방법
시스템을 최신 버전으로 업그레이드하거나 입력 매개변수에 대한 준비된 쿼리(prepared statements) 적용 및 입력 검증 강화
🔧 검증 코드
grep 결과에서 editid 처리 코드가 표시되면 해당 파일을 수동으로 검토하여 SQL injection 방지 코드(prepared statements, parameterized queries) 확인
grep -r "editid" /path/to/phpgurukul/admin/ 2>/dev/null | head -5