Threats
Vulnerabilities
Background
Countermeasures
Implementations
Message Protection Design Patterns (for WSE 3.0):
Considerations:
Sample Messages
EXTRACT 1 - XML Signature and Message Body from a message that is signed and encrypted - but XML signature is in plain text
- + <Signature xmlns="http://www.w3.org/2000/09/xmldsig#"> - + <SignedInfo> <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" /> <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /> - + <Reference URI="#Id-190c8f3c-cd45-4183-8de7-95bc398a63d6"> - + <Transforms> <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> </Transforms> <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> - + <DigestValue>lpZoxBZ12gWO7kTaiKMD/q5N8m4=</DigestValue> </Reference> - + <Reference URI="#Id-73ccf67b-6a8d-4c5e-ba8d-197d392a9f40">... </SignedInfo> - + <SignatureValue>lCGSfL8dvKeMmwR/cdU95Xemsfagr8EKZQPmr4m/4P3SmjOG1njT000fyn2U2GngUJTC2ZW0/YLAmtOzPx9kTecaceJp8RLPNs4rzlJzJ7dypD2x8gx8wDWUrZ5lp03BZu+T6IWYh0GC6BQFzDH5Y01hYzkXETK8oorRP15VOeY=</SignatureValue> - + <KeyInfo> - + <wsse:SecurityTokenReference> <wsse:Reference URI="#SecurityToken-b84fefe6-3024-49b7-ba08-12ffded701b0" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" /> </wsse:SecurityTokenReference> </KeyInfo> </Signature> </wsse:Security> </soap:Header> - + <soap:Body wsu:Id="Id-d97e5c2b-4ac4-4316-83f8-ce0bd0d233a1"> - + <xenc:EncryptedData Id="Enc-71ae2fc0-c780-4d25-90eb-8b5522d54c6d" Type="http://www.w3.org/2001/04/xmlenc#Content" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"> <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes256-cbc" /> - + <xenc:CipherData> - + <xenc:CipherValue>qtXLf/qqoIYTP/IZHCbUVwFdlFCusWEvJrldKLEgunO0GPn6tStX6KVRks3BCj8r7MilAm7gTi9qVzuquaWP1JSkn16BA=</xenc:CipherValue> </xenc:CipherData> </xenc:EncryptedData> </soap:Body> </soap:Envelope>
EXTRACT 2 - XML Signature and Message Body from a message that is signed and encrypted with an encrypted XML signature
<wsse:Security soap:mustUnderstand="1"> - + <wsu:Timestamp wsu:Id="Timestamp-cdc0377d-9151-437d-a9cd-9f3ab87fd973"> - + <wsu:Created>2005-12-28T18:47:48Z</wsu:Created> - + <wsu:Expires>2005-12-28T18:52:48Z</wsu:Expires> </wsu:Timestamp> - + <xenc:ReferenceList xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"> <xenc:DataReference URI="#Enc-e5bb6890-2550-4620-8b16-23ec8c226da9" /> <xenc:DataReference URI="#Enc-60e36641-079c-4533-a9a7-f17d69b6247a" /> </xenc:ReferenceList> - + <xenc:EncryptedData Id="Enc-e5bb6890-2550-4620-8b16-23ec8c226da9" Type="http://www.w3.org/2001/04/xmlenc#Element" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"> <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes256-cbc" /> - + <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> - + <wsse:SecurityTokenReference> <wsse:Reference URI="#SecurityToken-e559e109-26c6-42c3-b835-c3752e45ed5e" ValueType="http://schemas.xmlsoap.org/ws/2005/02/sc/sct" /> </wsse:SecurityTokenReference> </KeyInfo> - + <xenc:CipherData> - + <xenc:CipherValue>Q0q4UfT2H0gCMPNhmyN5M2RDcLE2t6+1mmREaV84F95kOHpaEebtVC7mzo3xL5ZJMkwmIFkX1mdzwjggDQdggAN1pRoQv6TC6WJJOs7euLGM0g+eLY+E5ZICuobgeigDnIcdPNAzmhvEscJpr0i7vP+6k=</xenc:CipherValue> </xenc:CipherData> </xenc:EncryptedData> </wsse:Security>
update me on web services security new vulnerabilities