漏洞描述
Mailcow-dockerized before 2022-09a uses a vulnerable version of Swagger UI (before 4.11.1) that is affected by a DOM-based Cross-Site Scripting (XSS) vulnerability. When a user accesses the Swagger documentation with a crafted configUrl or url parameter containing JavaScript payloads, arbitrary code execution can occur in the user's browser. This allows attackers to steal cookies, session data, or execute actions on behalf of the victim by enticing them to open a malicious Swagger UI link.
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。
参考链接
github.comhttps://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-99r2-q6fj-6w47↗github.comhttps://github.com/swagger-api/swagger-ui/issues/8322↗nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2022-39258↗github.comhttps://github.com/mailcow/mailcow-dockerized/pull/4766↗github.comhttps://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-vjgf-cp5p-wm45↗