Exploit database

Vulnerability

CVE-2025-25198

mailcow: dockerized vulnerable to password reset poisoning

Vulnerability details

Score
7.1
Severity
high

CVSS 3.1 · GitHub_M

Vector string

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

Description

mailcow: dockerized is an open source groupware/email suite based on docker. Prior to version 2025-01a, a vulnerability in mailcow's password reset functionality allows an attacker to manipulate the `Host HTTP` header to generate a password reset link pointing to an attacker-controlled domain. This can lead to account takeover if a user clicks the poisoned link. Version 2025-01a contains a patch. As a workaround, deactivate the password reset functionality by clearing `Notification email sender` and `Notification email subject` under System -> Configuration -> Options -> Password Settings.

CVE Program

Exploit source choices

2 sources
groppoxx/cve-2025-25198-poc
GH-273f55e52a9c5cede85877151c3161bcGitHubUnofficial GitHub source

PoC for CVE-2025-25198: automated Host header poisoning test for Mailcow - HTTPS listener, automatic cookie/CSRF handling, captures first reset link.

2025-10-144 files · 17 stars