🇰🇷 한글 설명
PHPGurukul Art Gallery Management System 1.1의 /admin/changeimage.php 파일에서 editid 매개변수를 통한 SQL 주입 취약점이 발견되었습니다. 원격 공격자는 이를 악용하여 데이터베이스 쿼리를 임의로 실행하고 민감한 정보를 탈취하거나 변조할 수 있습니다.
💡 쉬운 설명
사진 변경 기능에서 입력값 검증이 부족하여 해커가 데이터베이스 명령어를 직접 삽입할 수 있습니다. 이를 통해 사용자 데이터 유출이나 시스템 권한 상승이 가능합니다.
🇺🇸 원문 (English)
A vulnerability was found in PHPGurukul Art Gallery Management System 1.1. It has been rated as critical. Affected by this issue is some unknown functionality of the file /admin/changeimage.php. The manipulation of the argument editid leads to sql injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.
📍 영향받는 시스템
PHPGurukul Art Gallery Management System 1.1
⚔️ 공격 벡터
원격 공격자가 /admin/changeimage.php의 editid 파라미터에 SQL 코드 주입
🛡️ 대응 방법
최신 버전으로 업그레이드하고, 모든 사용자 입력에 대해 prepared statements 및 입력 검증 적용
🔧 검증 코드
SQL 에러 메시지나 syntax 관련 에러가 출력되면 취약점 존재 가능성 높음
curl -s http://target/admin/changeimage.php?editid=1%27%20OR%20%271%27=%271 2>/dev/null | grep -i 'mysql\|syntax\|error' && echo 'Vulnerable'