You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Sean Mullan (Jira)" <ji...@apache.org> on 2023/07/26 14:23:00 UTC
[jira] [Commented] (SANTUARIO-603) Configuration to disable XSL transformations in XML signature verifications
[ https://issues.apache.org/jira/browse/SANTUARIO-603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17747548#comment-17747548 ]
Sean Mullan commented on SANTUARIO-603:
---------------------------------------
This is already fixed. Version 2.3.0 enabled the secure validation mode by default, which disables the processing of XSLT transforms.
> Configuration to disable XSL transformations in XML signature verifications
> ---------------------------------------------------------------------------
>
> Key: SANTUARIO-603
> URL: https://issues.apache.org/jira/browse/SANTUARIO-603
> Project: Santuario
> Issue Type: Improvement
> Components: Java
> Reporter: Liam Miller-Cushon
> Assignee: Colm O hEigeartaigh
> Priority: Major
>
> W3C's 'XML Signature Best Practices' discusses some risks of XSL transformations in XML signature verifications, and suggests that implementations "may provide interfaces to allow the application to optionally disable support for it". ([https://www.w3.org/TR/xmldsig-bestpractices/#xslt-denial])
> This functionality has caused security issues in the past, see for example this is a related CVE: [https://nvd.nist.gov/vuln/detail/CVE-2022-34169]
> Would you consider adding support to optionally disable XSL transformations in XML signature verifications? That would allow applications that don't use the feature to 'defend in depth' against mis-uses of the feature.
> One potential approach would be to add a system property (for example `org.apache.xml.internal.security.transforms.implementations.TransformXSLT.enableXSLTInXMLSignatures`) that disables the functionality.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)