PoC Monitor
← All CVEs
CVE-2025-25198published 12 Feb 2025 17:46 UTCData: JSON · API

Mailcow mailcow-dockerized

mailcow: dockerized vulnerable to password reset poisoning

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.

First public PoC 243 daysafter publication · 14 Oct 2025
Public PoCs32 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS8.8high · scored by NVD · CWE-601
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

mailcow mailcow-dockerized
  • < 2025-01a

Fixed in 2025-01a

Mitigation

Upgrade mailcow-dockerized to 2025-01a or later.

References

Timeline

Days relative to CVE publication
t=0+30+60+90+120+150+180+210+240CVE published12 Feb 2025 · t = 0First public PoC14 Oct 2025 · t+243d

First public PoC 243 days after publication; not in CISA KEV. First PoC: Groppoxx/CVE-2025-25198-PoC (created 14 Oct 2025, found by us: backfilled).

PoC repositories

Found on GitHub.

2 PoCs

PoCs 2
RepositoryCreatedStarsAssessment
Groppoxx/CVE-2025-25198-PoC 14 Oct 2025 +243 d 19 PoC
enzocipher/CVE-2025-25198 14 Oct 2025 +243 d 0 PoC
Flags · score 25
  • description pushes a download/binary

Below the suspicion threshold (50); does not change the assessment.

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.
SourceTitlePublishedFound by us
Exploit-DBmailcow 2025-01a - Host Header Password Reset Poisoning3 Mar 202614 Nov 2026

PoC characteristics

What to hunt for in your logs · from 2 PoC repos

POST /reset-password

Key headers
Accept: {var} Accept-Language: {var} Origin: {var} Referer: {var}/ Upgrade-Insecure-Requests: 1
Body markers
username= pw_reset_request= csrf_token= in application/x-www-form-urlencoded
Ports
443
PoC User-Agent
Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0
Seen in
1 repo: Groppoxx/CVE-2025-25198-PoC
Evidence
Groppoxx/CVE-2025-25198-PoC/cve_2025_25198.py:368 Groppoxx/CVE-2025-25198-PoC/cve_2025_25198.py:407

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /reset-password
(?i)^/reset-password(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /reset-password
alert http any any -> $HOME_NET [443] (msg:"GG PoC-Monitor CVE-2025-25198 mailcow mailcow-dockerized exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/reset-password"; http.header_names; content:"Accept"; nocase; http.header_names; content:"Accept-Language"; nocase; http.header_names; content:"Origin"; nocase; http.header_names; content:"Referer"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; http.request_body; content:"username="; http.request_body; content:"pw_reset_request="; http.request_body; content:"csrf_token="; reference:url,poc.griffinguard.io/cve/CVE-2025-25198; classtype:web-application-attack; sid:9687071; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /reset-password
title: mailcow mailcow-dockerized exploit attempt (CVE-2025-25198)
id: gg-pocmon-cve-2025-25198-9687071
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-25198. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-25198
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/reset-password'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.25198