🇰🇷 한글 설명
WeGIA 3.5.4 이하 버전의 /WeGIA/html/geral/configurar_senhas.php 엔드포인트에서 저장형 XSS 취약점이 발견되었습니다. 애플리케이션이 직원 선택 드롭다운에 데이터를 렌더링할 때 사용자 제어 데이터를 적절히 검증하지 않아 발생합니다. 데이터베이스에서 가져온 직원 이름이 HTML <option> 요소에 이스케이프 처리 없이 직접 삽입됩니다.
💡 쉬운 설명
웹사이트의 직원 이름 목록에 악성 코드를 숨겨두면, 다른 사용자가 해당 목록을 볼 때 코드가 자동으로 실행되는 문제입니다. 이를 통해 공격자는 사용자의 정보를 훔치거나 웹사이트를 조작할 수 있습니다.
🇺🇸 원문 (English)
WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Versions 3.5.4 and below contain a Stored Cross-Site Scripting (XSS) vulnerability in the /WeGIA/html/geral/configurar_senhas.php endpoint. The application does not sanitize user-controlled data before rendering it inside the employee selection dropdown. The application retrieves employee names from the database and injects them directly into HTML <option> elements without proper escaping. This issue is fixed in version 3.5.5.
📍 영향받는 시스템
WeGIA 3.5.4 및 그 이하 모든 버전
⚔️ 공격 벡터
데이터베이스에 악성 스크립트가 포함된 직원 이름을 저장하여, 해당 이름을 불러오는 페이지를 방문하는 사용자를 공격
🛡️ 대응 방법
WeGIA를 최신 버전인 3.5.5 이상으로 업데이트하십시오.
🔧 검증 코드
명령어 결과에 <option> 태그 내부에 <script> 태그가 포함되어 출력된다면 취약한 상태입니다.
curl -s http://<target_ip>/WeGIA/html/geral/configurar_senhas.php | grep -E '<option.*<script.*</option>'