CVE-20XX-?
agent?

CVE-2024-31204

6.1 MEDIUM 8% exploit odds Fix listed XSS Server

What it is

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.

At a glance

Exploitability
Can be exploited from the same network segment with a low-privilege account, but needs a user to act. High risk of data exposure, data tampering.
Exploit odds
8.2% chance of exploitation in the next 30 days (EPSS).
Fix
A patch, advisory or fixed version is referenced. Upgrade or apply it.

Timeline

  1. PublishedDisclosed publicly on CVE.org and NVD
  2. Last updatedMost recent change to the record

Why it ranks here

Details

Published
Last modified
Exploit probability
8.2% · EPSS, next 30 days
Weakness
CWE-79 · Cross-site scripting
Record status
Analyzed

Affected

Attack profile CVSS 3.1 · 6.1

Attack vector
Adjacent network
Complexity
High
Privileges needed
Low
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
Raw vector

CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N

Is it in your code?

Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.

Read https://cve-list.com/agent/cve/CVE-2024-31204.md and follow it. Check whether this project is affected by CVE-2024-31204. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.

· More options · Status badge

Meme: I wake up, CVE-2024-31204
Download Square Reddit

Fix and advisories

References

NVD record · CVE.org record