You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Ian Young (Jira)" <ji...@apache.org> on 2019/11/06 17:54:00 UTC

[jira] [Created] (SANTUARIO-515) XMLSignature does not enforce structure of the ds:Signature element

Ian Young created SANTUARIO-515:
-----------------------------------

             Summary: XMLSignature does not enforce structure of the ds:Signature element
                 Key: SANTUARIO-515
                 URL: https://issues.apache.org/jira/browse/SANTUARIO-515
             Project: Santuario
          Issue Type: Bug
          Components: Java
    Affects Versions: Java 2.1.4
            Reporter: Ian Young
            Assignee: Colm O hEigeartaigh


Related to SANTUARIO-514, the org.apache.xml.security.signature.XMLSignature's parsing constructor does not enforce the structure of the Signature element.

Specifically, any elements after the SignedInfo, SignatureValue and KeyInfo elements are _assumed_ to be {{ds:Object}} elements, without checking the element name. Elements other than ds:Object should be rejected.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)