🇰🇷 한글 설명
OpenEMR 8.0.0.2 미만 버전에서 jQuery SearchHighlight 플러그인의 DOM 기반 저장형 XSS 취약점이 발견되었습니다. 진료 기록 작성 권한이 있는 인증된 사용자가 악성 자바스크립트를 삽입할 수 있으며, 다른 의료진이 사용자 정의 보고서 페이지에서 검색 기능을 사용할 때 해당 스크립트가 실행됩니다.
💡 쉬운 설명
의료 기록을 작성할 수 있는 사람이 몰래 악성 코드를 숨겨둘 수 있는 보안 약점입니다. 다른 의사가 보고서에서 검색 기능을 사용하는 순간, 숨겨진 코드가 실행되어 개인정보가 유출될 수 있습니다.
🇺🇸 원문 (English)
OpenEMR is a free and open source electronic health records and medical practice management application. Prior to 8.0.0.2, DOM-based stored XSS in the jQuery SearchHighlight plugin (`library/js/SearchHighlight.js`) allows an authenticated user with encounter form write access to inject arbitrary JavaScript that executes in another clinician's browser session when they use the search/find feature on the Custom Report page. The plugin reverses server-side HTML entity encoding by reading decoded text from DOM text nodes, concatenating it into a raw HTML string, and passing it to jQuery's `$()` constructor for HTML parsing. Version 8.0.0.2 fixes the issue.
📍 영향받는 시스템
OpenEMR 8.0.0.2 미만 모든 버전
⚔️ 공격 벡터
인증된 사용자가 진료 기록(Encounter form)에 악성 스크립트를 삽입하여 저장한 후, 다른 사용자가 검색 기능을 사용할 때 실행됨
🛡️ 대응 방법
OpenEMR을 최신 보안 패치가 적용된 버전 8.0.0.2 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 8.0.0.2보다 낮으면 취약한 상태이며, 8.0.0.2 이상이면 안전합니다.
curl -s http://<target_ip>/openemr/version.php | grep -E '8\.[0-9]\.[0-9]+'
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
💻 영향받는 소프트웨어
IBM WebSphere Application Server