🔍 CVE-2026-40506

6.5
CVSS Score
MEDIUM
2026-08-17
2026-09-09 20:40
✅ 완료

🇰🇷 한글 설명

OpenEMR 8.2.0 미만 버전의 standard_tables_manage.php 인터페이스에서 경로 탐색 취약점이 발견되었습니다. 공격자가 db 파라미터에 경로 탐색 시퀀스를 삽입하고 dicom_frame.php의 오픈 리다이렉트 취약점과 결합하면, 인증된 슈퍼유저 세션 내에서 임의의 디렉토리를 재귀적으로 삭제할 수 있습니다.

💡 쉬운 설명

해커가 특수하게 조작된 링크를 통해 관리자의 권한을 이용해 서버의 중요한 폴더를 통째로 삭제할 수 있는 위험한 결함입니다. 이 공격이 성공하면 웹 서버의 데이터가 사라져 서비스가 중단될 수 있습니다.

🇺🇸 원문 (English)

OpenEMR before 8.2.0 contains a path traversal vulnerability in the standard_tables_manage.php interface where the db GET parameter is passed without validation to temp_dir_cleanup(), which joins the value to the PHP temporary directory path and recursively deletes the resulting directory. Attackers can supply a traversal sequence in the db parameter to resolve outside the intended temporary directory, and by chaining this with an open redirect in dicom_frame.php, an unauthenticated attacker can deliver a crafted URL that triggers arbitrary recursive directory deletion within an authenticated Superuser's session.

📍 영향받는 시스템

OpenEMR version < 8.2.0

⚔️ 공격 벡터

인증된 슈퍼유저 세션을 이용한 경로 탐색 및 오픈 리다이렉트 결합 공격

🛡️ 대응 방법

OpenEMR을 8.2.0 이상의 최신 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 결과에서 OpenEMR의 버전을 확인하여 8.2.0 미만인지 확인하십시오.

Shell / Script
php -r 'echo "OpenEMR Version Check";' && grep -r "OpenEMR" /var/www/html/ 2>/dev/null | grep -E 'version'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H

💻 영향받는 소프트웨어

PHP