🇰🇷 한글 설명
StockAgile API 및 관리 패널에서 발생하는 저장형 교차 사이트 스크립팅(XSS) 취약점입니다. '/inventory/configuration/categories' REST 엔드포인트의 'code', 'name' 등의 매개변수에 악성 자바스크립트를 삽입하여 서버에 저장할 수 있습니다. 인증된 공격자가 이를 악용하면 관리 패널을 사용하는 사용자의 브라우저에서 임의의 코드를 실행할 수 있습니다.
💡 쉬운 설명
공격자가 게시판이나 설정창에 몰래 악성 코드를 심어두는 방식의 보안 약점입니다. 관리자가 해당 페이지를 열람할 때 공격자가 심어놓은 코드가 실행되어 개인정보가 탈취될 수 있습니다.
🇺🇸 원문 (English)
Stored Cross-Site Scripting (XSS) vulnerability in StockAgile API and management panel. The vulnerability is present on the server side in REST endpoint '/inventory/configuration/categories' that allow the injection and persistence of malicious JavaScript code through parameters such as ‘code’, ‘name’, and other text fields. The scripts that are entered are not filtered or validated correctly before being displayed on the web panel that authenticated users can access. Exploiting this vulnerability could allow a remote, previously authenticated attacker to execute arbitrary JavaScript code.
📍 영향받는 시스템
StockAgile API 및 관리 패널 (버전 미지정)
⚔️ 공격 벡터
인증된 사용자가 API 엔드포인트를 통해 악성 스크립트가 포함된 데이터를 전송하여 서버에 저장
🛡️ 대응 방법
입력값에 대한 서버 측 검증 및 필터링을 강화하고, 출력 시 HTML 엔티티 인코딩을 적용해야 함
🔧 검증 코드
응답 결과에 <script> 태그나 alert()와 같은 자바스크립트 코드가 포함되어 있다면 취약한 상태임
curl -s -X GET 'https://<target>/inventory/configuration/categories' | grep -E '<script|alert\('
💻 영향받는 소프트웨어
Multi-Domain Security Management Server