{
  "id": "CVE-2025-25198",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-25198",
  "published_at": "2025-02-12T17:46:06.491Z",
  "title": "mailcow: dockerized vulnerable to password reset poisoning",
  "vendor": "mailcow",
  "product": "mailcow-dockerized",
  "cvss": {
    "score": 8.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2025-10-14T03:14:09Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 243.4,
    "repo": "Groppoxx/CVE-2025-25198-PoC",
    "source": "github"
  },
  "poc_repo_count": 2,
  "exploit_count": 1,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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 -\u003e Configuration -\u003e Options -\u003e Password Settings.",
  "cwe": "CWE-601",
  "cpes": [
    "cpe:2.3:a:mailcow:mailcow\\:_dockerized:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.1,
    "nvd": 8.8
  },
  "repos": [
    {
      "repo": "Groppoxx/CVE-2025-25198-PoC",
      "url": "https://github.com/Groppoxx/CVE-2025-25198-PoC",
      "created_at": "2025-10-14T03:14:09Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 19,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-04-19T19:00:57Z"
    },
    {
      "repo": "enzocipher/CVE-2025-25198",
      "url": "https://github.com/enzocipher/CVE-2025-25198",
      "created_at": "2025-10-14T05:07:26Z",
      "first_seen_at": "2026-11-18T16:05:56.708Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 25,
      "suspicious": false,
      "suspicion_reasons": [
        "description pushes a download/binary"
      ],
      "status": "analyzed",
      "owner_created_at": "2020-03-24T19:31:14Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "mailcow",
        "product": "mailcow-dockerized",
        "ranges": [
          "\u003c 2025-01a"
        ],
        "fixed_in": [
          "2025-01a"
        ]
      }
    ],
    "upgrade": [
      "Upgrade mailcow-dockerized to 2025-01a or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-3mvx-qw4r-fcqf"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/52485",
      "source": "exploitdb",
      "title": "mailcow 2025-01a - Host Header Password Reset Poisoning",
      "published_at": "2026-03-03T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/reset-password",
      "headers": [
        {
          "name": "Accept",
          "value": "{var}"
        },
        {
          "name": "Accept-Language",
          "value": "{var}"
        },
        {
          "name": "Origin",
          "value": "{var}"
        },
        {
          "name": "Referer",
          "value": "{var}/"
        },
        {
          "name": "Upgrade-Insecure-Requests",
          "value": "1"
        }
      ],
      "body_markers": [
        "username=",
        "pw_reset_request=",
        "csrf_token="
      ],
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        443
      ],
      "user_agents": [
        "Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0"
      ],
      "protocol": "https",
      "repos": [
        "Groppoxx/CVE-2025-25198-PoC"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "Groppoxx/CVE-2025-25198-PoC/cve_2025_25198.py:368",
        "Groppoxx/CVE-2025-25198-PoC/cve_2025_25198.py:407"
      ]
    }
  ],
  "rules": []
}
