POC详情: 9ff7cbe0fdb3afdddb5a5f49796e470d7d1f7179

来源
关联漏洞
标题: Microsoft Exchange Server 代码问题漏洞 (CVE-2022-41082)
描述:Microsoft Exchange Server是美国微软(Microsoft)公司的一套电子邮件服务程序。它提供邮件存取、储存、转发,语音邮件,邮件过滤筛选等功能。 Microsoft Exchange Server存在安全漏洞。攻击者利用该漏洞远程执行代码。
介绍
# CVE-2022-41082-POC
PoC for the CVE-2022-41082 NotProxyShell OWASSRF Vulnerability Effecting Microsoft Exchange Servers

This is Post-Auth RCE for ProxyNotShell OWASSRF, valid cardentials are needed for command execution.

# Added the Powershell PoC script for TabShell Vulnerability (CVE-2022-41076)
The TabShell vulnerability its a form of Privilege Escalation which allows breaking out of the restricted Powershell Sandbox after you have successfully gained access through OWASSRF.

# Affected versions
Exchange 2013,16,19 till 08.11.2022 patch
This exploit bypasses Microsoft Hotfix from October 2022

# Setup
```
pip install -r requirements.txt
```

# Running
```
usage: python poc.py [-H Target] [-u username] [-p "password"] [-c cmd_file]
python poc.py -H https://192.168.0.1 -u user2 -p "123QWEasd!@#" -c cmd_file'
```
文件快照

[4.0K] /data/pocs/9ff7cbe0fdb3afdddb5a5f49796e470d7d1f7179 ├── [ 12] cmd ├── [5.2K] poc.py ├── [4.0K] pypsrp │   ├── [ 14K] client.py │   ├── [ 61K] complex_objects.py │   ├── [3.8K] encryption.py │   ├── [3.9K] exceptions.py │   ├── [ 44K] host.py │   ├── [1.1K] index.html │   ├── [ 958] __init__.py │   ├── [ 37K] messages-bk.py │   ├── [ 38K] messages.py │   ├── [ 11K] negotiate.py │   ├── [ 64K] powershell.py │   ├── [4.0K] pwsh_scripts │   │   ├── [5.2K] copy.ps1 │   │   ├── [1.9K] fetch.ps1 │   │   ├── [ 517] index.html │   │   ├── [ 139] __init__.py │   │   └── [4.0K] __pycache__ │   │   ├── [ 432] index.html │   │   └── [ 150] __init__.cpython-36.pyc │   ├── [ 0] py.typed │   ├── [ 33K] serializer.py │   ├── [ 16K] shell.py │   ├── [3.5K] _utils.py │   └── [ 45K] wsman.py ├── [ 828] README.md ├── [ 155] requirements.txt └── [1.8K] TabShell.ps1 3 directories, 27 files
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。