🇰🇷 한글 설명
WordPress용 AMP for WP 플러그인 1.1.12 이하 버전에서 임의 파일 쓰기 취약점이 발견되었습니다. ampforwp_save_local_font() 함수의 안전하지 않은 ZIP 압축 해제 및 불충분한 정리 작업으로 인해, 권한을 가진 공격자가 웹 접근이 가능한 위치에 임의의 파일을 생성할 수 있습니다. 이는 PHP 실행이 가능한 환경에서 원격 코드 실행(RCE)으로 이어질 수 있습니다.
💡 쉬운 설명
플러그인이 압축 파일을 풀 때 보안 검사를 제대로 하지 않아, 해커가 서버에 몰래 악성 파일을 저장할 수 있는 문제입니다. 이를 통해 해커가 웹사이트의 제어권을 완전히 뺏을 수도 있습니다.
🇺🇸 원문 (English)
The AMP for WP – Accelerated Mobile Pages plugin for WordPress is vulnerable to Arbitrary File Write in versions up to and including 1.1.12. This is due to unsafe ZIP file extraction in the ampforwp_save_local_font() function combined with inadequate cleanup that fails to remove nested directories and files. This makes it possible for authenticated attackers, with Author-level access and above, and permissions granted by an Administrator, to write arbitrary files to the server in a web-accessible location, potentially leading to remote code execution on hosts that execute PHP files in the uploads directory.
📍 영향받는 시스템
AMP for WP – Accelerated Mobile Pages plugin for WordPress (버전 1.1.12 이하)
⚔️ 공격 벡터
작성자(Author) 이상의 권한을 가진 인증된 공격자가 조작된 ZIP 파일을 업로드하여 서버에 임의 파일 쓰기
🛡️ 대응 방법
플러그인을 최신 버전으로 즉시 업데이트하거나, 업로드 디렉토리 내 PHP 실행 권한을 제한하십시오.
🔧 검증 코드
명령어 결과에 해당 플러그인이 나타나면 설치된 것이며, 설치된 버전이 1.1.12 이하인지 확인이 필요합니다.
wp plugin list --status=active | grep -i 'ampforwp'