🇰🇷 한글 설명
Edumall WordPress 테마의 'edumall_lazy_load_template' AJAX 액션에서 'template' 파라미터를 통한 로컬 파일 포함(LFI) 취약점입니다. 인증 없이 공격자가 임의의 PHP 파일을 포함하고 실행할 수 있으며, PHP 파일 업로드가 가능한 환경에서 원격 코드 실행(RCE)으로 이어질 수 있습니다.
💡 쉬운 설명
WordPress의 Edumall 테마에 치명적인 보안 구멍이 있어서, 누구나 서버의 파일을 마음대로 실행할 수 있습니다. 웹사이트 해킹과 데이터 도용이 가능합니다.
🇺🇸 원문 (English)
The Edumall theme for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 4.2.4 via the 'template' parameter of the 'edumall_lazy_load_template' AJAX action. This makes it possible for unauthenticated attackers to include and execute arbitrary PHP 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 PHP files can be uploaded and included.
📍 영향받는 시스템
Edumall WordPress theme 버전 4.2.4 이하 모든 버전
⚔️ 공격 벡터
template 파라미터에 경로 조작(../ 등)을 통해 임의 PHP 파일을 edumall_lazy_load_template AJAX 핸들러로 로드하여 실행
🛡️ 대응 방법
Edumall 테마를 최신 버전(4.2.5 이상)으로 즉시 업데이트하고, 임시방편으로 template 파라미터 입력값 검증 및 경로 조작 문자 필터링 적용
🔧 검증 코드
출력된 버전 번호가 4.2.4 이하면 취약하며, 4.2.5 이상이면 패치된 상태입니다.
grep 'Version:' wp-content/themes/edumall/style.css 2>/dev/null