ADVISORIES

GitHub Advisory Database

GHSA-gqv6-pwcg-87r8

CoreWCF: XML Signature Wrapping in WS-Security endorsing/supporting signature verification allows replay of captured signed messages

Details

Impact

The attacker, with one captured signed SOAP envelope from a victim and no other privileges, can invoke arbitrary operations on the service as the victim principal for the lifetime of the captured signing key. There is no rate limit on replays. The DetectReplays setting on transport-security bindings does not mitigate the issue because the attack does not reuse the original timestamp — the fresh timestamp in the wsse:Security header is what the replay-detection logic inspects.

Patches

Fixed in CoreWCF v1.8.1 and v1.9.1

Workarounds

Ensure communication is protected by SSL/TLS to prevent capturing of signed SOAP envelope.

Affected packages

EcosystemPackageAffected versions
NuGetCoreWCF.Primitives
All versions before 1.8.1 (fixed in 1.8.1)
NuGetCoreWCF.Primitives
From 1.9.0 before 1.9.1 (fixed in 1.9.1)

References