Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-31204— mailcow Cross-site Scripting Vulnerability via Exception Handler

Quick assessment

Affected
mailcow mailcow-dockerized
Exploitation
High exploitation probability; assess promptly
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

mailcow是一个邮件服务器套件。 mailcow-dockerized 2024-04之前版本存在安全漏洞,该漏洞源于存在跨站脚本(XSS)漏洞。

CVSS 6.1 · Medium EPSS 8.25% · P95
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-31204

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
mailcow Cross-site Scripting Vulnerability via Exception Handler
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
mailcow 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
mailcow是一个邮件服务器套件。 mailcow-dockerized 2024-04之前版本存在安全漏洞,该漏洞源于存在跨站脚本(XSS)漏洞。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
mailcow mailcow-dockerized < 2024-04 -

II. Public POCs for CVE-2024-31204

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-31204

请登录查看更多情报信息。

Vendor Advisories for CVE-2024-31204 (1)

Security Blog Posts for CVE-2024-31204 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2024-31204

No comments yet


Leave a comment