CVE-2025-52374 Details
Description
Use of hardcoded cryptographic key in Encryption.cs in hMailServer 5.8.6 and 5.6.9-beta allows attacker to decrypt passwords to other servers from hMailAdmin.exe.config file to access other hMailServer admin consoles with configured connections.
A vulnerability exists in hMailServer versions 5.8.6 and 5.6.9-beta due to the use of a hardcoded cryptographic key in the file Encryption.cs. This flaw allows an attacker to decrypt passwords stored in the hMailAdmin.exe.config file, which contains credentials for accessing other hMailServer admin consoles. The vulnerability arises because the encryption key and initialization vector (IV) are derived from a hardcoded password and salt, enabling the decryption of passwords for server connections configured in the admin GUI.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 22, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/hmailserver/hmailserver | [email protected] | Product |
| https://github.com/mojibake-dev/hMailEnum | [email protected] | ExploitThird Party Advisory |
| https://github.com/mojibake-dev/mojibake-CVE/blob/main/hMailServer/CVE-2025-52374.md | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-321 | Use of Hard-coded Cryptographic Key | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| hmailserver hmailserver | 5.6.9 beta 5.8.6 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 7, 2025 | Initial Analysis | [email protected] |
| Jul 22, 2025 | CVE Modified | CISA-ADP |
| Jul 21, 2025 | New CVE Received | [email protected] |