POC详情: bae24e09f665e02376257f39443bd2e83fdc1a55

来源
关联漏洞
标题: EspoCRM 代码问题漏洞 (CVE-2023-5965)
描述:EspoCRM是一套开源的基于Web的客户关系管理系统(CRM)。该系统提供销售自动化、社区和客户支持等功能。 EspoCRM 7.2.5 版本存在代码问题漏洞,该漏洞源于存在任意 PHP 代码执行。
描述
PoC for Espo CRM 7.2.4 CVE-2023-5965 & CVE-2023-5966
介绍
# PoC for Espo CRM 7.2.4 CVE-2023-5965 & CVE-2023-5965

## CVE-2023-5965

[Advisory](https://vulmon.com/vulnerabilitydetails?qid=CVE-2023-5965&scoretype=cvssv3)

``An authenticated privileged attacker could upload a specially crafted zip to the EspoCRM server in version 7.2.5, via the update form, which could lead to arbitrary PHP code execution.``

- To upload the file go to Administration => Upgrades
  ![image](https://github.com/josemlwdf/CVE-2023-5965/assets/60181010/ebe1293b-d749-4a12-b1f4-41de2b222b5e)

## CVE-2023-5966

[Advisory](https://vulmon.com/vulnerabilitydetails?qid=CVE-2023-5966&scoretype=cvssv3)

``An authenticated privileged attacker could upload a specially crafted zip to the EspoCRM server in version 7.2.5, via the extension deployment form, which could lead to arbitrary PHP code execution.``
- To upload the file go to Administration => Extensions
  ![image](https://github.com/josemlwdf/CVE-2023-5965/assets/60181010/56087c0c-3c47-46c7-bda5-9004c85a2c3b)
  ![image](https://github.com/josemlwdf/CVE-2023-5965/assets/60181010/a3c6668d-a812-4ba3-83a1-acf8737bc3d6)

## PoC

- The zip files on this repo upload a web shell to /webshell.php

``Ex:``
 
     https://localhost/espocrm/webshell.php?cmd=id
文件快照

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