🔍 CVE-2025-12528

8.1
CVSS Score
HIGH
2025-11-18
2026-10-18 20:10
✅ 완료

🇰🇷 한글 설명

Pie Forms for WP 플러그인의 format_classic 함수에서 파일 확장자 검증이 불완전하여 인증되지 않은 공격자가 PHP 등 위험한 확장자를 가진 파일을 업로드할 수 있습니다. validate_classic 메서드가 오류 메시지만 설정할 뿐 업로드를 실제로 차단하지 않아 원격 코드 실행이 가능합니다.

💡 쉬운 설명

워드프레스 Pie Forms 플러그인에서 파일을 업로드할 때 PHP 파일 같은 위험한 파일도 받아들여지는 보안 결함이 있습니다. 누구나 이 버그를 이용해 웹사이트에 악성 코드를 실행할 수 있습니다.

🇺🇸 원문 (English)

The Pie Forms for WP plugin for WordPress is vulnerable to Arbitrary File Upload in all versions up to, and including, 1.6 via the format_classic function. This is due to insufficient file type validation where the validate_classic method validates file extensions and sets error messages but does not prevent the file upload process from continuing. This makes it possible for unauthenticated attackers to upload files with dangerous extensions such as PHP, which makes remote code execution possible. In order to exploit this vulnerability, the attacker needs to guess the directory in which the file is placed (which is a somewhat predictable hash). In addition to that, the file name is generated using a secure hash method, limiting the exploitability of this vulnerability.

📍 영향받는 시스템

WordPress Pie Forms plugin versions up to and including 1.6

⚔️ 공격 벡터

Unauthenticated attacker uploads malicious PHP file via format_classic function by guessing predictable hash-based directory path

🛡️ 대응 방법

Update Pie Forms plugin to version 1.7 or later with proper file type validation implemented

🔧 검증 코드

출력된 버전이 1.6 이하면 취약함, 1.7 이상이면 패치됨, 플러그인 미설치면 아무것도 출력되지 않음

Shell / Script
grep -i 'Version:' wp-content/plugins/pie-forms/pie-forms.php 2>/dev/null | head -1

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

PHP