🇰🇷 한글 설명
WordPress용 Bricksforge 플러그인 3.1.8.9 이하 버전에서 인증되지 않은 사용자가 임의의 파일을 업로드할 수 있는 취약점이 발견되었습니다. 공격자는 'temporaryFileUploads' 파라미터의 URL 필드 검증 미흡을 악용하여 GIF/PHP 폴리글랏 파일을 업로드하고 서버에서 임의의 PHP 코드를 실행할 수 있습니다.
💡 쉬운 설명
해커가 로그인하지 않고도 웹사이트에 악성 파일을 몰래 올리고 실행할 수 있는 매우 위험한 보안 구멍입니다. 이를 통해 해커는 웹사이트의 제어권을 완전히 빼앗을 수 있습니다.
🇺🇸 원문 (English)
The Bricksforge plugin for WordPress is vulnerable to unauthenticated arbitrary file upload in versions up to, and including, 3.1.8.9. This is due to insufficient validation of the attacker-controlled URL field in the 'temporaryFileUploads' parameter during form submission. An unauthenticated attacker can first obtain a valid nonce via the bricksforge_regenerate_nonce AJAX endpoint, then upload a GIF/PHP polyglot file to the temporary upload directory where MIME type validation is correctly performed. Subsequently, the attacker can submit a form with a crafted 'temporaryFileUploads' parameter where the server-side file path points to the validated GIF file, but the attacker-controlled url field ends with a .php extension. This makes it possible for unauthenticated attackers to upload and execute arbitrary PHP code on the server.
📍 영향받는 시스템
WordPress Bricksforge plugin versions up to and including 3.1.8.9
⚔️ 공격 벡터
인증되지 않은 공격자가 AJAX 엔드포인트를 통해 논스를 획득한 후, 조작된 파라미터를 사용하여 PHP 코드가 포함된 파일을 업로드 및 실행
🛡️ 대응 방법
Bricksforge 플러그인을 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
명령어 결과에 bricksforge가 나타나고 버전이 3.1.8.9 이하인지 확인하십시오.
wp plugin list --allow-root | grep -E 'bricksforge'