CVE-2024-31204
mediumPriorität · verfolgen · 3EPSS 0.082 · 95. PerzentilEUUSEPSS · bewertet 2026-10-27
mailcow: dockerized is an open source groupware/email suite based on docker. A security vulnerability has been identified in mailcow affecting versions prior to 2024-04. This vulnerability resides in the exception handling mechanism, specifically when not operating in DEV_MODE. The system saves exception details into a session array without proper sanitization or encoding. These details are later rendered into HTML and executed in a JavaScript block within the user's browser, without adequate escaping of HTML entities. This flaw allows for Cross-Site Scripting (XSS) attacks, where attackers can inject malicious scripts into the admin panel by triggering exceptions with controlled input. The exploitation method involves using any function that might throw an exception with user-controllable argument. This issue can lead to session hijacking and unauthorized administrative actions, posing a significant security risk. Version 2024-04 contains a fix for the issue.
cvss
Technischer Schweregrad, 0–10. Eine Zeile je Quelle.
Basiswert 0–10 · höher = schwerwiegender · Vektor überfahren zum Auflösen
SSVC
Eine Handlungsentscheidung — aus Ausnutzung und Auswirkung.
schwächen
Die CWE-Schwächeklassen, zu denen dies gehört.
betroffene Produkte (3)
Betroffene Produkte und Versionsbereiche.
auch bekannt als (2)
Weitere Namen und Kennungen dieser Entität.
quellen
Welche Quellen diesen Datensatz belegen und wann.
Referenzen (8)
Externe Belege — Patches, Meldungen, Analysen.
- https://cxsecurity.com/cveshow/CVE-2024-31204/cnnvd
- https://github.com/mailcow/mailcow-dockerized/releases/tag/2024-04Patchcnnvd
- https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-fp6h-63w4-5hcmcnnvd
- https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-fp6h-63w4-5hcmenisa_euvd
- https://www.sonarsource.com/blog/remote-code-execution-in-mailcow-always-sanitize-error-messagesenisa_euvd
- https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-fp6h-63w4-5hcmVendor Advisorynvd
- https://www.sonarsource.com/blog/remote-code-execution-in-mailcow-always-sanitize-error-messagesExploitThird Party Advisorynvd
- https://www.vicarius.io/vsociety/posts/mailcow-with-xss-and-path-traversal-cve-2024-31204-and-cve-2024-30270ExploitThird Party Advisorynvd
Angreifer nutzen Schwachstellen wie diese gegen im Internet exponierte Dienste aus. Sehen Sie mit einem kostenlosen Passiv-Scan, was exponiert ist.
Kostenloser Scan