logoalt Hacker News

arpinumtoday at 9:31 PM1 replyview on HN

In a JWT this is simple, the signature checks the entire sig and data sections. In XML signatures it checks whatever it says it checks, a list of URIs, which may also be transformed.

So it is possible to have an XML signature that points to an element that does not include some important piece of data.


Replies

bawolfftoday at 9:36 PM

Or maybe it does include the important info at sign time, but the attacker adds additional info that confuses the program parsing the document.