🇰🇷 한글 설명
PHPGurukul Art Gallery Management System 1.1의 /admin/edit-art-medium-detail.php에서 artmed 인자를 통해 발생하는 크로스사이트스크립팅(XSS) 취약점입니다. 원격 공격자가 악의적인 스크립트를 주입하여 관리자 세션을 탈취하거나 시스템을 제어할 수 있습니다. 이미 공개된 익스플로잇이 존재합니다.
💡 쉬운 설명
입력된 데이터가 검증되지 않아 악의적인 코드를 웹페이지에 삽입할 수 있습니다. 관리자가 이 페이지를 방문할 때 해커의 코드가 실행되어 계정이 탈취될 수 있습니다.
🇺🇸 원문 (English)
A vulnerability, which was classified as problematic, has been found in PHPGurukul Art Gallery Management System 1.1. Affected by this issue is some unknown functionality of the file /admin/edit-art-medium-detail.php. The manipulation of the argument artmed leads to cross site scripting. 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
⚔️ 공격 벡터
HTTP GET/POST를 통해 /admin/edit-art-medium-detail.php의 artmed 파라미터에 JavaScript 코드를 주입하는 원격 XSS 공격
🛡️ 대응 방법
시스템을 최신 버전으로 업그레이드하거나, artmed 입력값에 대해 HTML 인코딩 및 입력 검증 필터링 적용
🔧 검증 코드
응답에 img 태그, onerror 속성, alert가 그대로 포함되면 XSS 취약점이 존재합니다.
curl -s 'http://target/admin/edit-art-medium-detail.php?artmed=<img src=x onerror=alert(1)>' | grep -oE '<img|onerror|alert'