POC详情: 5268b8af68110bc1c1a67efd49d14960640028f6

来源
关联漏洞
标题: Pymatgen 安全漏洞 (CVE-2024-23346)
描述:pymatgen是一个用于材料分析的开源 Python 库。 Pymatgen 2024.2.20之前版本存在安全漏洞,该漏洞源于不安全地利用eval()函数来处理输入,从而在解析不受信任的输入时能够执行任意代码。
描述
This is a exploit for the known Remote Code Execution (RCE) vulnerability in the `pymatgen` (CVE-2024-23346) Python library by uploading a malicious `CIF` file to the hosted `CIF Analyzer` website on the target running on the Chemistry machine from Hack the Box.
介绍
# CVE-2024-23346-exploit
This is a exploit for the known Remote Code Execution (RCE) vulnerability in the `pymatgen` (CVE-2024-23346) Python library by uploading a malicious `CIF` file to the hosted `CIF Analyzer` website on the Chemistry machine from Hack the Box. 

Usage: CVE-2024-23346-exploit.py -t targetIP -P targetPORT -u loggedusername -p loggedpassword -l tun0ip/lhost

Example:

python3 CVE-2024-23346-exploit.py -t 10.10.11.38 -P 5000 -u ramon -p ramon -l 10.10.15.000


<img width="1010" height="294" alt="image" src="https://github.com/user-attachments/assets/460b93d2-5cda-4722-b7fe-f29bc28188e1" />


文件快照

[4.0K] /data/pocs/5268b8af68110bc1c1a67efd49d14960640028f6 ├── [5.2K] CVE-2024-23346-exploit.py └── [ 617] README.md 0 directories, 2 files
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。