CVE-2024-41958

MEDIUM

mailcow < 2024-07 - Authenticated Two-Factor Authentication Bypass

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2024-41958. PoCs published by OrangeJuiceHU.

AI-analyzed exploit summary This repository contains a functional proof-of-concept exploit for CVE-2024-41958, which bypasses two-factor authentication (TFA) in Mailcow admin panels. The exploit leverages session fixation by authenticating with a non-TFA user and then switching to a TFA-enabled user's credentials while retaining the session.

Description

mailcow: dockerized is an open source groupware/email suite based on docker. A vulnerability has been discovered in the two-factor authentication (2FA) mechanism. This flaw allows an authenticated attacker to bypass the 2FA protection, enabling unauthorized access to other accounts that are otherwise secured with 2FA. To exploit this vulnerability, the attacker must first have access to an account within the system and possess the credentials of the target account that has 2FA enabled. By leveraging these credentials, the attacker can circumvent the 2FA process and gain access to the protected account. This issue has been addressed in the `2024-07` release. All users are advised to upgrade. There are no known workarounds for this vulnerability.

Exploits (1)

nomisec WORKING POC 4 stars
by OrangeJuiceHU · poc
https://github.com/OrangeJuiceHU/CVE-2024-41958-PoC

This repository contains a functional proof-of-concept exploit for CVE-2024-41958, which bypasses two-factor authentication (TFA) in Mailcow admin panels. The exploit leverages session fixation by authenticating with a non-TFA user and then switching to a TFA-enabled user's credentials while retaining the session.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: Mailcow (versions < 2024-07)
Auth required
Prerequisites: Credentials for a non-TFA user · Credentials for a TFA-enabled user · Access to the Mailcow admin panel
devstral-2 · analyzed Feb 18, 2026 Full analysis →

Scores

CVSS v3 6.6
EPSS 0.0103
EPSS Percentile 59.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-697
Status published
Products (1)
mailcow/mailcow\ < 2024-07
Published Aug 05, 2024
Tracked Since Feb 18, 2026