{"id":582,"date":"2026-12-02T09:03:54","date_gmt":"2026-12-02T01:03:54","guid":{"rendered":"https:\/\/www.qgg4588.cn\/index.php\/2026\/12\/02\/qgg-kb-20261201-001\/"},"modified":"2026-12-02T09:03:54","modified_gmt":"2026-12-02T01:03:54","slug":"qgg-kb-20261201-001","status":"publish","type":"post","link":"https:\/\/www.qgg4588.cn\/index.php\/2026\/12\/02\/qgg-kb-20261201-001\/","title":{"rendered":"Broken Access Control\uff5c\u7ffc\u652f\u4ed8\u7f3a\u9677\u6a21\u5f0f\u5e93\uff0831 \u6a21\u5f0f + \u4e5d\u901a\u9053 + \u4e09\u6bb5\u65ad\u94fe\u6839\u56e0\uff09\u2014 \u4ece\u771f\u5b9e PoC \u62bd\u51fa\u7684\u53ef\u8fc1\u79fb\u6253\u6cd5"},"content":{"rendered":"<p>.qgg-lead{font-size:17px;line-height:1.9;color:#333}<br \/>\n.qgg-meta{margin:14px 0 18px}<br \/>\n.qgg-badge{display:inline-block;padding:2px 10px;margin:0 6px 6px 0;border-radius:12px;<br \/>\nbackground:#eef3ff;color:#2f56d6;font-size:13px;font-weight:600}<br \/>\n.qgg-toc{background:#f7f9fc;border:1px solid #e6ecf5;border-radius:10px;padding:14px 20px;margin:22px 0 28px}<br \/>\n.qgg-toc-title{font-weight:700;color:#1f2d3d;margin-bottom:8px}<br \/>\n.qgg-toc ol{margin:0;padding-left:20px}<br \/>\n.qgg-toc li{margin:4px 0}<br \/>\n.qgg-toc a{color:#2f56d6;text-decoration:none}<br \/>\n.qgg-list li{margin:7px 0;line-height:1.85;color:#2c3e50}<br \/>\n.qgg-code{background:#0f172a;color:#e2e8f0;padding:16px 18px;border-radius:10px;overflow-x:auto;<br \/>\nfont-size:13px;line-height:1.65;position:relative}<br \/>\n.qgg-code[data-lang]:not([data-lang=&#8221;&#8221;])::before{content:attr(data-lang);position:absolute;<br \/>\ntop:0;right:0;background:#1e293b;color:#94a3b8;font-size:11px;padding:2px 10px;border-radius:0 10px 0 8px}<br \/>\n.qgg-inline-code{background:#eef2f7;color:#c7254e;padding:2px 6px;border-radius:4px;font-size:90%}<br \/>\n.qgg-table-wrap{overflow-x:auto;margin:18px 0}<br \/>\n.qgg-table{width:100%;border-collapse:collapse;font-size:14px}<br \/>\n.qgg-table th{background:#f2f6ff;color:#1f2d3d;text-align:left;padding:10px 12px;border:1px solid #e3eaf5}<br \/>\n.qgg-table td{padding:9px 12px;border:1px solid #e8eef7}<br \/>\n.qgg-table tr:nth-child(even) td{background:#fafcff}<br \/>\n.qgg-callout{background:#eef7ff;border-left:4px solid #3b82f6;border-radius:0 8px 8px 0;<br \/>\npadding:14px 18px;margin:18px 0}<br \/>\n.qgg-callout-warn{background:#fff7ed;border-left-color:#f59e0b}<br \/>\n.qgg-callout-t{display:block;font-weight:700;color:#1e40af;margin-bottom:6px}<br \/>\n.qgg-quote{border-left:4px solid #cbd5e1;color:#475569;margin:16px 0;padding:8px 16px}<br \/>\nh2{margin-top:38px;padding-bottom:8px;border-bottom:2px solid #eef2f7;font-size:22px}<br \/>\nh3{margin-top:26px;font-size:18px}<br \/>\nfigure{margin:20px 0;text-align:center}<br \/>\nfigure img{border-radius:10px;max-width:100%;height:auto}<br \/>\nfigcaption{font-size:12px;color:#94a3b8;margin-top:8px}<br \/>\n.qgg-footer{font-size:12px;color:#9aa5b1;margin-top:26px}<\/p>\n<h2 id=\"\u6839\u56e0-\u628a-\u4f20\u8f93\u5b89\u5168-\u5f53\u6210\u4e86-\u8bbf\u95ee\u63a7\u5236\">\u6839\u56e0\uff1a\u628a&#8221;\u4f20\u8f93\u5b89\u5168&#8221;\u5f53\u6210\u4e86&#8221;\u8bbf\u95ee\u63a7\u5236&#8221;<\/h2>\n<p>\u4e09\u6bb5\u65ad\u94fe\uff0c\u7f3a\u4e00\u4e0d\u6210\u6d1e\uff1a<\/p>\n<ul class=\"qgg-list\">\n<li><strong>R1 \u8ba4\u8bc1\u5c42\uff1a\u8eab\u4efd\u53ef&#8221;\u81ea\u8bc1&#8221;<\/strong> \u2014\u2014 <code class=\"qgg-inline-code\">ticket<\/code> \u76f4\u63a5\u6536\u624b\u673a\u53f7\u73b0\u7b7e\u4f1a\u8bdd\uff1bC006 \u7684 <code class=\"qgg-inline-code\">openId<\/code> \u5ba2\u6237\u7aef\u81ea\u9020\u3001<code class=\"qgg-inline-code\">aesKeySign<\/code> \u7528\u653b\u51fb\u8005\u79c1\u94a5\u7b7e\u81ea\u5df1\u7684 aesKey\uff08\u81ea\u8bc1\uff09\uff1b<code class=\"qgg-inline-code\">\/standard<\/code> \u7684 <code class=\"qgg-inline-code\">loginName<\/code>\/<code class=\"qgg-inline-code\">userType<\/code>\/<code class=\"qgg-inline-code\">sessionCipherText<\/code> \u5168\u5ba2\u6237\u7aef\u586b\uff1b<code class=\"qgg-inline-code\">\/open<\/code> \u7684 <code class=\"qgg-inline-code\">ext.token<\/code> \u786c\u7f16\u7801 <code class=\"qgg-inline-code\">123456<\/code>\u3002\u6240\u8c13&#8221;\u767b\u5f55\u6001&#8221;\u53ea\u8bc1\u660e&#8221;\u67d0\u4e2a\u5ba2\u6237\u7aef\u5728\u8bf4\u8bdd&#8221;\uff0c\u4e0d\u8bc1\u660e&#8221;\u4ed6\u662f\u8c01&#8221;\u3002<\/li>\n<li><strong>R2 \u6388\u6743\u5c42\uff1a\u5165\u53c2 ID \u5c31\u662f\u6388\u6743\u4f9d\u636e<\/strong> \u2014\u2014 \u4e1a\u52a1\u670d\u52a1\u6536\u5230 <code class=\"qgg-inline-code\">merchantCode<\/code>\/<code class=\"qgg-inline-code\">cardNo<\/code>\/<code class=\"qgg-inline-code\">userId<\/code> \u540e\u4e0d\u56de\u67e5\u4f1a\u8bdd\u5f52\u5c5e\uff0c\u76f4\u63a5\u6309\u8be5 ID \u53d6\u6570\uff1b<code class=\"qgg-inline-code\">sessionKey<\/code>\/<code class=\"qgg-inline-code\">operatorNo<\/code> \u53ea\u53c2\u4e0e\u9a8c\u7b7e\u4e0d\u53c2\u4e0e\u9a8c\u6743\u3002<\/li>\n<li>**R3<\/li>\n<\/ul>\n<div class=\"qgg-meta\"><span class=\"qgg-badge\">Broken Access Control<\/span> <span class=\"qgg-badge\">\u8bc4\u5206 37.0<\/span> <span class=\"qgg-badge\">\u72b6\u6001 candidate<\/span> <span class=\"qgg-badge\">QGG-KB-20261201-001<\/span><\/div>\n<nav class=\"qgg-toc\">\n<div class=\"qgg-toc-title\">\u672c\u6587\u76ee\u5f55<\/div>\n<ol>\n<li><a href=\"#sec1\">\u6838\u5fc3\u601d\u8def<\/a><\/li>\n<li><a href=\"#sec2\">\u6210\u7acb\u6761\u4ef6<\/a><\/li>\n<li><a href=\"#sec3\">\u9a8c\u8bc1\u65b9\u6cd5\u4e0e\u6b65\u9aa4<\/a><\/li>\n<li><a href=\"#sec4\">\u8bef\u62a5\u6392\u9664<\/a><\/li>\n<li><a href=\"#sec5\">\u5f71\u54cd\u4e0e\u4fee\u590d<\/a><\/li>\n<li><a href=\"#sec6\">\u539f\u59cb\u6765\u6e90<\/a><\/li>\n<\/ol>\n<\/nav>\n<h2 id=\"sec1\">\u4e00\u3001\u6838\u5fc3\u601d\u8def<\/h2>\n<ul class=\"qgg-list\">\n<li>\u3010\u65b9\u6cd5\u6a21\u677f\u00b7\u975e\u6765\u6e90\u539f\u6587\u3011\u5165\u53e3\u53d1\u73b0\uff1a\u4ece JS\/\u8def\u7531\/\u6d41\u91cf\/\u5386\u53f2\u8def\u5f84\u4ea4\u53c9\u786e\u8ba4\u8be5\u6f0f\u6d1e\u7c7b\u522b\u7684\u8f93\u5165\u9762\uff0c\u5355\u4e00\u6837\u672c\u4e0d\u4e0b\u7ed3\u8bba<\/li>\n<li>\u6765\u6e90\u94fe\u63a5: local:\/\/D:\/vuln-hunt-skill-20261201.zip<\/li>\n<li>\u5206\u7c7b\u547d\u4e2d\u8bcd: {&#8216;OAuth \/ OIDC \/ SAML&#8217;: [&#8216;openid&#8217;], &#8216;IDOR \/ BOLA&#8217;: [&#8216;idor&#8217;, &#8216;\u8d8a\u6743&#8217;], &#8216;XXE&#8217;: [&#8216;xxe&#8217;], &#8216;Cloud Security \/ IAM \/ Storage&#8217;: [&#8216;oss&#8217;]}<\/li>\n<\/ul>\n<div class=\"qgg-callout\"><span class=\"qgg-callout-t\">\u843d\u5230 QGG \u600e\u4e48\u7528<\/span><\/p>\n<p>\u53ef\u76f4\u63a5\u843d\u5230 QGG \u7684\u300cOAuth \/ OIDC \/ SAML\u300d\u6d4b\u8bd5\u6e05\u5355\uff1a\u5165\u53e3\u53d1\u73b0\uff1a\u4ece JS\/\u8def\u7531\/\u6d41\u91cf\/\u5386\u53f2\u8def\u5f84\u4ea4\u53c9\u786e\u8ba4\u8be5\u6f0f\u6d1e\u7c7b\u522b\u7684\u8f93\u5165\u9762\uff0c\u5355\u4e00\u6837\u672c\u4e0d\u4e0b\u7ed3\u8bba\uff1b\u53ef\u751f\u6210\u90e8\u5206\u81ea\u52a8\u5316\u89c4\u5219\u5019\u9009\uff08\u6709\u8bf7\u6c42\u7ea7\u8bc1\u636e\uff09<\/p>\n<\/div>\n<h2 id=\"sec2\">\u4e8c\u3001\u6210\u7acb\u6761\u4ef6<\/h2>\n<ul class=\"qgg-list\">\n<li>\u6765\u6e90\u672a\u660e\u786e\u5199\u51fa\u6210\u7acb\u6761\u4ef6\uff08\u7f3a\u5931\uff0c\u9700\u5728\u9a8c\u8bc1\u9636\u6bb5\u8865\u9f50\uff09<\/li>\n<\/ul>\n<h2 id=\"sec3\">\u4e09\u3001\u9a8c\u8bc1\u65b9\u6cd5\u4e0e\u6b65\u9aa4<\/h2>\n<ul class=\"qgg-list\">\n<li>\u3010\u65b9\u6cd5\u6a21\u677f\u00b7\u975e\u6765\u6e90\u539f\u6587\u3011\u5165\u53e3\u53d1\u73b0\uff1a\u4ece JS\/\u8def\u7531\/\u6d41\u91cf\/\u5386\u53f2\u8def\u5f84\u4ea4\u53c9\u786e\u8ba4\u8be5\u6f0f\u6d1e\u7c7b\u522b\u7684\u8f93\u5165\u9762\uff0c\u5355\u4e00\u6837\u672c\u4e0d\u4e0b\u7ed3\u8bba<\/li>\n<li>\u3010\u65b9\u6cd5\u6a21\u677f\u00b7\u975e\u6765\u6e90\u539f\u6587\u3011\u524d\u7f6e\u6761\u4ef6\uff1a\u8bb0\u5f55\u8ba4\u8bc1\u72b6\u6001\u3001\u89d2\u8272\u3001\u6570\u636e\u6240\u6709\u6743\u3001\u7ec4\u4ef6\u4e0e\u7248\u672c<\/li>\n<li>\u3010\u65b9\u6cd5\u6a21\u677f\u00b7\u975e\u6765\u6e90\u539f\u6587\u3011\u6d4b\u8bd5\u53d8\u91cf\uff1a\u53c2\u6570\u4f4d\u7f6e\u3001\u5bf9\u8c61\u6807\u8bc6\u3001\u65b9\u6cd5\u3001\u8bf7\u6c42\u5934\u3001\u6570\u636e\u683c\u5f0f\u3001\u72b6\u6001\u5207\u6362<\/li>\n<li>\u3010\u65b9\u6cd5\u6a21\u677f\u00b7\u975e\u6765\u6e90\u539f\u6587\u3011\u6210\u529f\u8bc1\u636e\uff1a\u771f\u5b9e\u6570\u636e\u8bfb\u53d6\/\u547d\u4ee4\u6267\u884c\u56de\u663e\/\u72b6\u6001\u771f\u5b9e\u53d8\u66f4\uff08\u53ef\u590d\u73b0\uff0c\u5e26\u539f\u59cb\u62a5\u6587\uff09<\/li>\n<li>\u3010\u65b9\u6cd5\u6a21\u677f\u00b7\u975e\u6765\u6e90\u539f\u6587\u3011\u8bef\u62a5\u8fc7\u6ee4\uff1a\u767b\u5f55\u8df3\u8f6c\u3001\u7edf\u4e00\u9519\u8bef\u9875\u3001WAF \u963b\u65ad\u9875\u3001\u7f13\u5b58\u5185\u5bb9\u3001\u901a\u7528 200\u3001\u975e\u786e\u5b9a\u6027\u5b57\u6bb5<\/li>\n<li>\u3010\u65b9\u6cd5\u6a21\u677f\u00b7\u975e\u6765\u6e90\u539f\u6587\u3011\u5f71\u54cd\u786e\u8ba4\uff1a\u53ea\u8bfb\u8bc1\u660e\u4f18\u5148\uff1b\u5199\u64cd\u4f5c\u4ec5\u5728\u81ea\u5efa canary \u5bf9\u8c61\u4e0a\u505a\u4e00\u6b21\u6700\u5c0f\u9a8c\u8bc1<\/li>\n<\/ul>\n<pre class=\"qgg-code\"><code>1. **\u52a0\u5bc6\u4e0d\u7b49\u4e8e\u6388\u6743**\uff1a\u62ff\u5230\u5bc6\u6587\/\u5bc6\u94a5\/\u7b7e\u540d \u2260 \u6d1e\uff1b\u5fc5\u987b&quot;\u7528\u8be5\u51ed\u636e\u5b9e\u9645\u53d6\u5230\u4ed6\u4eba\u6570\u636e&quot;\u6216&quot;\u670d\u52a1\u5668\u63a5\u53d7\u4f2a\u7b7e\u540d\u5e76\u6267\u884c&quot;\u624d\u5347\u683c\u3002<\/code><\/pre>\n<pre class=\"qgg-code\"><code>2. **DPAPI\/`IV \u5168 0`\/`SM4-ECB`** \u5c5e\u53ef\u9884\u6d4b\u52a0\u5bc6\uff0c\u662f\u52a0\u56fa\u9879\u800c\u975e\u4e3b\u56e0\uff0c\u4e0d\u5355\u72ec\u6210 finding\u3002<\/code><\/pre>\n<pre class=\"qgg-code\"><code>3. **`9914P001 sessionKey\u4e0d\u80fd\u4e3a\u7a7a`** \u53ea\u80fd\u8bc1\u660e&quot;\u8def\u7531\u5b58\u5728\u3001\u8d70\u540c\u4e00\u7f51\u5173&quot;\uff0c\u4e0d\u80fd\u8bc1\u660e\u8d8a\u6743\u3002<\/code><\/pre>\n<pre class=\"qgg-code\"><code>4. **\u6ce8\u518c\u72b6\u6001 oracle \/ \u8d26\u53f7\u679a\u4e3e**\uff1a\u53ea\u8fd4\u56de\u5b58\u5728\u6027\u5e03\u5c14 \u2192 QGG \u5224 BLOCK\uff1b\u5347\u683c\u987b\u62ff\u5230\u63a9\u7801\u59d3\u540d\/\u7ed1\u5b9a\u5361\u6570\/\u8d26\u6237\u5c5e\u6027\u7b49\u5b9e\u503c\uff0c\u6216\u5bf9\u672c\u4eba\u53f7\u4ea7\u751f\u771f\u5b9e\u72b6\u6001\u53d8\u66f4\u3002<\/code><\/pre>\n<pre class=\"qgg-code\"><code>5. \u6bcf\u6761\u7ed3\u8bba\u987b\u7ed9**\u4e09\u6001\u5bf9\u7167**\uff08\u771f\u503c\/\u5047\u503c\/\u7a7a\u503c\uff09\u6216**\u540c\u6279\u9634\u6027\u5bf9\u7167**\uff08\u5df2\u77e5\u4e0d\u5b58\u5728\u63a5\u53e3 404\uff09\uff0c\u5426\u5219\u65e0\u6cd5\u6392\u9664&quot;\u515c\u5e95\u9875&quot;\u4e0e&quot;\u6869\u63a5\u53e3&quot;\u3002<\/code><\/pre>\n<h2 id=\"sec4\">\u56db\u3001\u8bef\u62a5\u6392\u9664<\/h2>\n<ul class=\"qgg-list\">\n<li>\u767b\u5f55\u9875\/\u7edf\u4e00\u9519\u8bef\u9875\/WAF \u963b\u65ad\u9875\/\u7f13\u5b58\u9875\/\u901a\u7528 200 \u7a7a\u58f3<\/li>\n<li>\u975e\u786e\u5b9a\u6027\u5b57\u6bb5\uff08traceId\/timestamp\/\u968f\u673a token\uff09\u5fc5\u987b\u5148\u5f52\u4e00\u5316<\/li>\n<\/ul>\n<div class=\"qgg-callout qgg-callout-warn\"><span class=\"qgg-callout-t\">\u53cd\u5411\u8bc1\u636e<\/span><\/p>\n<ul class=\"qgg-list\">\n<li>\u3010\u672a\u8bb0\u5f55\u3011\u6765\u6e90\u672a\u8ba8\u8bba\u8bef\u62a5\u6216\u53cd\u5411\u7ed3\u679c<\/li>\n<\/ul>\n<\/div>\n<h2 id=\"sec5\">\u4e94\u3001\u5f71\u54cd\u4e0e\u4fee\u590d<\/h2>\n<p><strong>\u5f71\u54cd\uff1a<\/strong><\/p>\n<p>\u5206\u7c7b\uff1aOAuth \/ OIDC \/ SAML\uff1b\u6765\u6e90\u4e25\u91cd\u6027\uff1a\u672a\u63d0\u4f9b\u3002\u5b9e\u9645\u5f71\u54cd\u9700\u4ee5\u672c\u5730\/\u6388\u6743\u9776\u573a\u590d\u73b0\u7ed3\u679c\u4e3a\u51c6\uff0c\u8bc4\u5206\u4e0e\u6765\u6e90\u81ea\u8ff0\u4e0d\u6784\u6210\u5f71\u54cd\u7ed3\u8bba\u3002<\/p>\n<p><strong>\u4fee\u590d\uff1a<\/strong><\/p>\n<p>\u6309\u8be5\u7c7b\u6f0f\u6d1e\u7684\u901a\u7528\u6839\u56e0\u4fee\u590d\uff08\u670d\u52a1\u7aef\u6821\u9a8c\/\u767d\u540d\u5355\/\u6700\u5c0f\u6743\u9650\uff09\uff0c\u5e76\u8865\u5145\u56de\u5f52\u6d4b\u8bd5\u3002<\/p>\n<p><strong>\u5173\u8054\uff1a<\/strong>CWE-639<\/p>\n<h2 id=\"sec6\">\u516d\u3001\u539f\u59cb\u6765\u6e90<\/h2>\n<p><a href=\"\/vuln-hunt-skill-20261201.zip\" target=\"_blank\" rel=\"noopener\">local:\/\/D:\/vuln-hunt-skill-20261201.zip<\/a><\/p>\n<hr \/>\n<p class=\"qgg-footer\">\u672c\u6587\u7531 QGG \u6e17\u900f\u5927\u5e08\u81ea\u52a8\u5b66\u4e60\u6574\u7406\uff1a\u5185\u5bb9\u53d6\u81ea\u516c\u5f00\u62a5\u544a\uff0c\u672a\u5728\u672a\u6388\u6743\u76ee\u6807\u4e0a\u505a\u4efb\u4f55\u9a8c\u8bc1\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p># \u6839\u56e0\uff1a\u628a&#8221;\u4f20\u8f93\u5b89\u5168&#8221;\u5f53\u6210\u4e86&#8221;\u8bbf\u95ee\u63a7\u5236&#8221;<\/p>\n<p>\u4e09\u6bb5\u65ad\u94fe\uff0c\u7f3a\u4e00\u4e0d\u6210\u6d1e\uff1a<\/p>\n<p>&#8211; **R1 \u8ba4\u8bc1\u5c42\uff1a\u8eab\u4efd\u53ef&#8221;\u81ea\u8bc1&#8221;** \u2014\u2014 `ticket` \u76f4\u63a5\u6536\u624b\u673a\u53f7\u73b0\u7b7e\u4f1a\u8bdd\uff1bC006 \u7684 `openId` \u5ba2\u6237\u7aef\u81ea\u9020\u3001`aesKeySign` \u7528\u653b\u51fb\u8005\u79c1\u94a5\u7b7e\u81ea\u5df1\u7684 aesKey\uff08\u81ea\u8bc1\uff09\uff1b`\/standard` \u7684 `loginName`\/`userType`\/`sessi<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[54,35,10,9],"class_list":["post-582","post","type-post","status-publish","format-standard","hentry","category-ai-","tag-broken-access-control","tag-cwe-639","tag-qgg","tag-9"],"_links":{"self":[{"href":"https:\/\/www.qgg4588.cn\/index.php\/wp-json\/wp\/v2\/posts\/582","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qgg4588.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qgg4588.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qgg4588.cn\/index.php\/wp-json\/wp\/v2\/comments?post=582"}],"version-history":[{"count":0,"href":"https:\/\/www.qgg4588.cn\/index.php\/wp-json\/wp\/v2\/posts\/582\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qgg4588.cn\/index.php\/wp-json\/wp\/v2\/media?parent=582"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qgg4588.cn\/index.php\/wp-json\/wp\/v2\/categories?post=582"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qgg4588.cn\/index.php\/wp-json\/wp\/v2\/tags?post=582"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}