Skip to content

v2.0.0

Compare
Choose a tag to compare
@bawolff bawolff released this 05 Oct 16:53
· 160 commits to master since this release

Disable HMAC by default

Due to the potential of a key confusion vulnerability in support of HMAC-SHA1,
the HMAC-SHA1 "signing" algorithm has been disabled by default.

Previously, in certain situations it was possible to bypass signing checks
by maliciously changing the algorithm to HMAC-SHA1 and using the
public key as the HMAC secret.

If you need to validate an HMAC signature, you now must first call
SignedXml.enableHMAC().

All users are encouraged to upgrade.