Skip to content

Signature Verification Bypass via Unsigned CMS Message

High
loetifuss published GHSA-2c7x-4vwq-c58v Jul 15, 2026

Package

maven de.tk.opensource:secon-tool (Maven)

Affected versions

< 1.2.2

Patched versions

>= 1.2.2

Description

Impact

A signature‑verification bypass (CWE‑347) accepts unsigned CMS messages as genuine.

Who is impacted?
– Any client that uses secon‑tool ≤ v1.2.1 to process inbound messages signed and encrypted using the GKV SECON security interface (Anlage 16)
– Deployments that gate submission at the transport layer (enrolled-sender certificate) are less exposed; the library-level defect remains, but the unauthenticated-outsider path is closed at the transport gate.

Consequence
– An attacker who knows the recipient’s public encryption certificate can inject arbitrary, unauthenticated payloads. The recipient treats the payload as if it were signed by a trusted sender.

Patches

Fixed versions: >= 1.2.2

What the fix does
DefaultSubscriber now validates that the SignerInfo collection is non‑empty and throws an exception when it is not. This restores the mandatory “at least one signer” requirement stipulated by Anlage 16 §3.1.

Workarounds

  1. Transport-level sender authentication – where the submission channel (e.g. an enrollment-gated GKV transport) gates delivery behind a sender certificate, an unauthenticated outsider cannot reach the verification path.

  2. Pre‑validation – Reject any inbound CMS SignedData whose signerInfos set is empty before invoking secon‑tool.

References

GKV - Anlage 16 -SECON Security Schnittstelle

Machine Spirits Advisory MS-SECON-d8f902 https://machinespirits.com/advisory/d8f902/

Severity

High

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

CVE ID

CVE-2026-62358

Weaknesses

Improper Verification of Cryptographic Signature

The product does not verify, or incorrectly verifies, the cryptographic signature for data. Learn more on MITRE.

Credits