🇰🇷 한글 설명
WP Maps 플러그인의 fc_load_template 함수에서 로컬 파일 포함(LFI) 취약점이 발견되었습니다. 구독자 권한 이상의 인증된 공격자가 임의의 .html 파일을 포함하고 PHP 코드를 실행할 수 있으며, .html 파일 업로드가 가능한 경우 접근 제어 우회 및 코드 실행이 가능합니다.
💡 쉬운 설명
WordPress의 WP Maps 플러그인에서 로그인한 사용자가 특정 파일을 끌어와서 악의적인 코드를 실행할 수 있는 문제입니다. 공격자는 이를 통해 서버에 대한 통제권을 얻을 수 있습니다.
🇺🇸 원문 (English)
The WP Maps – Store Locator,Google Maps,OpenStreetMap,Mapbox,Listing,Directory & Filters plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 4.8.6 via the fc_load_template function. This makes it possible for authenticated attackers, with Subscriber-level access and above, to include and execute arbitrary .html files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where .html file types can be uploaded and included.
📍 영향받는 시스템
WP Maps – Store Locator 플러그인 버전 4.8.6 이하 모든 버전
⚔️ 공격 벡터
인증된 공격자가 fc_load_template 함수의 취약점을 통해 임의의 .html 파일을 포함하여 PHP 코드 실행
🛡️ 대응 방법
WP Maps 플러그인을 4.8.7 이상의 최신 버전으로 업데이트하거나 플러그인을 즉시 비활성화
🔧 검증 코드
출력된 버전 번호가 4.8.6 이하면 취약한 상태이며, 4.8.7 이상이면 패치된 상태입니다. 플러그인이 없으면 결과가 출력되지 않습니다.
grep 'Version:' /var/www/html/wp-content/plugins/wp-maps/wp-maps.php 2>/dev/null | grep -oE '[0-9]+\.[0-9]+\.[0-9]+'