🇰🇷 한글 설명
WordPress용 AR 플러그인의 set_ar_featured_image() 함수에서 권한 확인이 누락되어 인증되지 않은 공격자가 이중 확장자 공격으로 PHP 파일을 업로드할 수 있습니다. 파일이 즉시 삭제되고 특정 서버에서만 작동하기 때문에 실제 악용 가능성은 낮습니다.
💡 쉬운 설명
WordPress의 AR 플러그인에서 악의적인 사용자가 파일 업로드 검증을 우회하여 PHP 파일을 업로드할 수 있습니다. 다만 파일이 자동으로 삭제되고 일부 서버에서만 작동하므로 실제 피해 위험도는 낮습니다.
🇺🇸 원문 (English)
The AR for WordPress plugin for WordPress is vulnerable to unauthorized double extension file upload due to a missing capability check on the set_ar_featured_image() function in all versions up to, and including, 7.3. This makes it possible for unauthenticated attackers to upload php files leveraging a double extension attack. It's important to note the file is deleted immediately and double extension attacks only work on select servers making this unlikely to be successfully exploited.
📍 영향받는 시스템
AR for WordPress 플러그인 버전 7.3 이하 모든 버전
⚔️ 공격 벡터
비인증 공격자가 이중 확장자(.php.jpg 등) 파일 업로드 기능을 악용하여 PHP 파일 업로드 시도
🛡️ 대응 방법
플러그인을 7.4 이상 버전으로 업데이트하거나 set_ar_featured_image() 함수에 권한 확인 로직 추가
🔧 검증 코드
AR 플러그인 설치 여부와 설치 경로 확인. 설치되어 있으면 플러그인 디렉토리의 readme.txt에서 버전 정보로 7.3 이하 여부 확인 필요.
find /var/www/html/wp-content/plugins -type d -iname 'ar-*' 2>/dev/null || echo 'Plugin not found'