🇰🇷 한글 설명
LibreNMS의 /maps/nodeimage 엔드포인트에서 반사형 XSS 취약점이 발견되었습니다. Image Name 파라미터가 적절한 인코딩이나 검증 없이 응답에 반영되어, 공격자가 악성 자바스크립트를 실행할 수 있습니다. 이 문제는 버전 25.11.0에서 패치되었습니다.
💡 쉬운 설명
공격자가 특수하게 조작된 링크를 사용자에게 보내면, 사용자가 링크를 클릭했을 때 브라우저에서 악성 코드가 실행될 수 있는 보안 약점입니다. 이를 통해 사용자의 세션 정보를 탈취하거나 원치 않는 동작을 수행할 수 있습니다.
🇺🇸 원문 (English)
LibreNMS is an auto-discovering PHP/MySQL/SNMP based network monitoring tool. Prior to version 25.11.0, a reflected cross-site scripting (XSS) vulnerability was identified in the LibreNMS application at the /maps/nodeimage endpoint. The Image Name parameter is reflected in the HTTP response without proper output encoding or sanitization, allowing an attacker to craft a URL that, when visited by a victim, causes arbitrary JavaScript execution in the victim’s browser. This issue has been patched in version 25.11.0.
📍 영향받는 시스템
LibreNMS 25.11.0 미만 버전
⚔️ 공격 벡터
조작된 URL을 통해 /maps/nodeimage 엔드포인트의 Image Name 파라미터에 악성 스크립트 주입
🛡️ 대응 방법
LibreNMS를 최신 버전인 25.11.0 이상으로 업데이트하십시오.
🔧 검증 코드
명령어 결과에 25.11.0 미만의 버전 번호가 출력되면 취약한 상태입니다.
curl -s http://<target_ip>/api/system/version | grep -E '"version"' | grep -v '25.11.0'