CyberRota Analysis
AI-GeneratedThe vulnerability in the WSS4J streaming code allows a signature reference to incorrectly maintain an "inside signed content" flag, leading to the potential bypass of signature verification for SOAP Body elements. This flaw can result in XML Signature Wrapping attacks, compromising the integrity of the message while leaving signature verification intact. Organizations utilizing affected versions of WSS4J should prioritize upgrading to versions 4.0.2, 3.0.6, or 2.4.4 to mitigate this risk.
Original NVD Description
In the WSS4J streaming (StAX) code, a signature reference using the WS-Security STR-Transform leaves an internal "inside signed content" flag permanently set. The WS-SecurityPolicy enforcer uses that flag to decide whether an element needs checking, so it stops evaluating SignedParts and SignedElements for the rest of the message. A policy requiring the SOAP Body to be signed is then satisfied even when the Body carries no signature, removing the protection against XML Signature Wrapping. Signature verification itself is unaffected. The DOM code is not affected. Users are recommended to upgrade to versions 4.0.2 or 3.0.6 or 2.4.4 which fix this issue.
Related CVEs
Other vulnerabilities affecting the same vendor(s)