🇰🇷 한글 설명
WordPress의 CM Map Locations 플러그인 2.1.8 버전 이하에서 발생하는 제한적 임의 파일 업로드 취약점입니다. 파일 유형 검증이 불충분하여 인증된 공격자가 실행 가능한 파일을 업로드함으로써 원격 코드 실행(RCE)을 수행할 수 있습니다.
💡 쉬운 설명
웹사이트의 지도 플러그인에 보안 구멍이 있어, 일반 회원 권한을 가진 사람이 악성 파일을 몰래 올릴 수 있습니다. 이 파일을 통해 해커가 웹사이트를 마음대로 조종할 수 있게 됩니다.
🇺🇸 원문 (English)
The CM Map Locations – Visualize and share your locations in a few clicks plugin for WordPress is vulnerable to Limited Arbitrary File Upload in all versions up to, and including, 2.1.8 via the uploadMedia function. This is due to insufficient file type validation in the upload handler, which performs incomplete extension filtering without MIME-type checks or upload capability verification before passing attacker-supplied files to move_uploaded_file(). This makes it possible for authenticated attackers, with subscriber-level access and above, to upload files that may be executable, which makes remote code execution possible. The required nonce is exposed to any logged-in Subscriber via the CMLOC_Editor_Images JavaScript object on the front-end location editor page.
📍 영향받는 시스템
WordPress CM Map Locations plugin (version 2.1.8 and below)
⚔️ 공격 벡터
인증된 사용자가 노출된 nonce를 이용해 검증되지 않은 확장자의 파일을 uploadMedia 함수로 업로드
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하거나, 파일 업로드 권한 및 MIME-type 검증 로직을 강화하십시오.
🔧 검증 코드
명령어 결과에 cm-map-locations가 나타나면 설치된 것이며, 설치된 버전이 2.1.8 이하인지 확인해야 합니다.
wp plugin list --status=active | grep -E 'cm-map-locations'