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

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

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

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

工具目录

分类

查看所有分类
Loading categories
CVE-2024-34102 — Adobe Commerce XXE 漏洞利用 | Kitploit
工具/GitHubGitHub/eqstlab/cve-2024-34102
漏洞分析漏洞利用Web应用程序漏洞利用Web安全学习与教育实验室与实践
GitHubeqstlab/cve-2024-34102

CVE-2024-34102

Adobe Commerce XXE 漏洞利用

查看仓库
41年前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2024-34102

★ 感谢 @th3gokul、Sanjaith3hacker 和 Chocapikk 提供的原始代码库。★

描述

CVE-2024-34102:Adobe Commerce XXE 漏洞 描述:Adobe Commerce 2.4.7、2.4.6-p5、2.4.5-p7、2.4.4-p8 及更早版本受到 XML 外部实体引用('XXE')限制不当(Improper Restriction of XML External Entity Reference)漏洞的影响,该漏洞可能导致任意代码执行。攻击者可通过发送引用外部实体的特制 XML 文档来利用此漏洞。利用此问题不需要用户交互。

使用方法

Git 克隆

root@kitploit:~
git clone https://github.com/EQSTSeminar/CVE-2024-34102.git
cd CVE-2024-34102

安装依赖包

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

命令

root@kitploit:~
python CVE-2024-34102.py -u <URL_TO_EXPLOIT> -f <FILE_TO_READ>

示例

root@kitploit:~
python CVE-2024-34102.py https://magento.test -f /etc/hosts

输出

image

基于 Docker 的漏洞环境

感谢 markshust 的 Magento Docker 配置,搭建易受攻击的开发环境并不困难。 https://github.com/markshust/docker-magento

root@kitploit:~
# Create your project directory then go into it:
mkdir /opt/magento
cd $_

# Install some stuff (needed for the script)
sudo apt update
sudo apt install -y bc curl

# Create Composer's directory (to avoid a weird error)
mkdir /var/www/.composer/

# Run this automated one-liner from the directory you want to install your project.
curl -s https://raw.githubusercontent.com/markshust/docker-magento/release/next/lib/onelinesetup | bash -s -- magento.test 2.4.7 community
# Submit credentials when needed.

# Edit hosts file
echo "127.0.0.1 magento.test" >> /etc/hosts

image

PHPSTORM

你可以使用 PHPSTORM 调试你的 Magento。

1. 通过以下命令启用 xdebug:

root@kitploit:~
bin/xdebug enable

2. 然后按照如下方式设置你的 PHPSTORM:

image

……然后你就可以调试你的 Magento 了。

攻击场景

创建回调 URL(mocky api)-> 盲 XXE 攻击(CVE-2024-34102)-> 将文件内容发送到攻击者的实例(SSRFUtility)-> 读取攻击者的实例(SSRFUtility)

免责声明

本仓库并非针对 CVE-2024-34102 的 XXE 利用工具。本项目的目的是帮助人们了解此漏洞,并可能用于测试他们自己的应用程序。

EQST 洞察

我们每月发布一次 CVE 和恶意软件分析。如果您感兴趣,请通过以下链接查看我们的出版物。 https://www.skshieldus.com/eng/business/insight.do

下载工具