CVE-2021-40690

Published on: 09/19/2021 12:00:00 AM UTC

Last Modified on: 10/05/2022 02:06:00 AM UTC

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Certain versions of Cxf from Apache contain the following vulnerability:

All versions of Apache Santuario - XML Security for Java prior to 2.2.3 and 2.1.7 are vulnerable to an issue where the "secureValidation" property is not passed correctly when creating a KeyInfo from a KeyInfoReference element. This allows an attacker to abuse an XPath Transform to extract any local .xml files in a RetrievalMethod element.

  • CVE-2021-40690 has been assigned by URL Logo [email protected] to track the vulnerability - currently rated as HIGH severity.
  • Affected Vendor/Software: URL Logo Apache Software Foundation - Apache Santuario version < 2.2.3,2.1.7

CVSS3 Score: 7.5 - HIGH

Attack
Vector
Attack
Complexity
Privileges
Required
User
Interaction
NETWORK LOW NONE NONE
Scope Confidentiality
Impact
Integrity
Impact
Availability
Impact
UNCHANGED HIGH NONE NONE

CVSS2 Score: 5 - MEDIUM

Access
Vector
Access
Complexity
Authentication
NETWORK LOW NONE
Confidentiality
Impact
Integrity
Impact
Availability
Impact
PARTIAL NONE NONE

CVE References

Description Tags Link
Pony Mail! lists.apache.org
text/html
URL Logo MLIST [tomee-commits] 20210923 [jira] [Updated] (TOMEE-3798) TomEE (8.0.8) is affected by CVE-2021-40690 vulnerability
Debian -- Security Information -- DSA-5010-1 libxml-security-java www.debian.org
Depreciated Link
text/html
URL Logo DEBIAN DSA-5010
Oracle Critical Patch Update Advisory - April 2022 www.oracle.com
text/html
URL Logo MISC www.oracle.com/security-alerts/cpuapr2022.html
Pony Mail! lists.apache.org
text/html
URL Logo MLIST [tomee-commits] 20211028 [jira] [Updated] (TOMEE-3798) TomEE (8.0.8) is affected by CVE-2021-40690 vulnerability
[SECURITY] [DLA 2767-1] libxml-security-java security update lists.debian.org
text/html
URL Logo MLIST [debian-lts-announce] 20210927 [SECURITY] [DLA 2767-1] libxml-security-java security update
Pony Mail! lists.apache.org
text/html
URL Logo MLIST [tomee-commits] 20210922 [tomee] 02/02: Update xmlsec to 2.2.3 to mitigate CVE-2021-40690
Pony Mail! lists.apache.org
text/html
URL Logo MISC lists.apache.org/thread.html/r8848751b6a5dd78cc9e99d627e74fecfaffdfa1bb615dce827aad633%40%3Cdev.santuario.apache.org%3E
Pony Mail! lists.apache.org
text/html
URL Logo MLIST [poi-user] 20210923 Re: CVE-2021-40690 on xmlsec jar
Pony Mail! lists.apache.org
text/html
URL Logo MLIST [tomee-commits] 20210923 [jira] [Resolved] (TOMEE-3798) TomEE (8.0.8) is affected by CVE-2021-40690 vulnerability
Pony Mail! lists.apache.org
text/html
URL Logo MLIST [tomee-commits] 20210923 [jira] [Created] (TOMEE-3798) TomEE (8.0.8) is affected by CVE-2021-40690 vulnerability
Pony Mail! lists.apache.org
text/html
URL Logo MLIST [cxf-issues] 20211027 [jira] [Created] (CXF-8613) High Security issues reported with Apache Santuario library bundled in CXF 3.4.4
Pony Mail! lists.apache.org
text/html
URL Logo MLIST [tomee-commits] 20210923 [jira] [Assigned] (TOMEE-3798) TomEE (8.0.8) is affected by CVE-2021-40690 vulnerability
Oracle Critical Patch Update Advisory - July 2022 www.oracle.com
text/html
URL Logo MISC www.oracle.com/security-alerts/cpujul2022.html

Related QID Numbers

  • 178811 Debian Security Update for libxml-security-java (DLA 2767-1)
  • 178899 Debian Security Update for libxml-security-java (DSA 5010-1)
  • 198870 Ubuntu Security Notification for Apache Extensible Markup Language (XML) Security for Java Vulnerability (USN-5525-1)
  • 239965 Red Hat Update for JBoss Enterprise Application Platform 7.3.10 on RHEL 7 (RHSA-2021:5150)
  • 239966 Red Hat Update for JBoss Enterprise Application Platform 7.3.10 on RHEL 8 (RHSA-2021:5151)
  • 239967 Red Hat Update for JBoss Enterprise Application Platform 7.3.10 on RHEL 6 (RHSA-2021:5149)
  • 376547 Oracle PeopleSoft Enterprise PeopleTools Product Multiple Vulnerabilities (CPUAPR2022)
  • 730577 Atlassian Jira Server and Data Center Extensible Markup Language (XML) Security Vulnerability (JRASERVER-73580)
  • 730639 Atlassian Jira Server and Data Center Abuse XPath Transform Vulnerability (JRASERVER-74420)
  • 87496 Oracle WebLogic Server Multiple Vulnerabilities (CPUJUL2022)
  • 980105 Java (maven) Security Update for org.apache.santuario:xmlsec (GHSA-j8wc-gxx9-82hx)

Exploit/POC from Github

PoC for exploiting CVE-2021-40690 : All versions of Apache Santuario - XML Security for Java prior to 2.2.3 and 2.1.7…

Known Affected Configurations (CPE V2.3)

Type Vendor Product Version Update Edition Language
ApplicationApacheCxf3.4.4AllAllAll
ApplicationApacheTomeeAllAllAllAll
ApplicationApacheXml Security For JavaAllAllAllAll
Operating
System
DebianDebian Linux10.0AllAllAll
Operating
System
DebianDebian Linux11.0AllAllAll
Operating
System
DebianDebian Linux9.0AllAllAll
ApplicationOracleAgile Plm9.3.6AllAllAll
ApplicationOracleCommerce Guided Search11.3.2AllAllAll
ApplicationOracleCommerce Platform11.3.2AllAllAll
ApplicationOracleCommunications Diameter Intelligence HubAllAllAllAll
ApplicationOracleCommunications Diameter Intelligence HubAllAllAllAll
ApplicationOracleCommunications Messaging Server8.1AllAllAll
ApplicationOracleFlexcube Private Banking12.1.0AllAllAll
ApplicationOracleOutside In Technology8.5.5AllAllAll
ApplicationOraclePeoplesoft Enterprise Peopletools8.58AllAllAll
ApplicationOraclePeoplesoft Enterprise Peopletools8.59AllAllAll
ApplicationOracleRetail Bulk Data Integration16.0.3AllAllAll
ApplicationOracleRetail Financial Integration14.1.3.2AllAllAll
ApplicationOracleRetail Financial Integration15.0.3.1AllAllAll
ApplicationOracleRetail Financial Integration16.0.3AllAllAll
ApplicationOracleRetail Financial Integration19.0.1AllAllAll
ApplicationOracleRetail Integration Bus14.1.3.2AllAllAll
ApplicationOracleRetail Integration Bus15.0.3.1AllAllAll
ApplicationOracleRetail Integration Bus16.0.3AllAllAll
ApplicationOracleRetail Integration Bus19.0.1AllAllAll
ApplicationOracleRetail Merchandising System16.0.3AllAllAll
ApplicationOracleRetail Merchandising System19.0.1AllAllAll
ApplicationOracleRetail Service Backbone14.1.3.2AllAllAll
ApplicationOracleRetail Service Backbone15.0.3.1AllAllAll
ApplicationOracleRetail Service Backbone16.0.3AllAllAll
ApplicationOracleRetail Service Backbone19.0.1AllAllAll
ApplicationOracleWeblogic Server12.2.1.4.0AllAllAll
ApplicationOracleWeblogic Server14.1.1.0.0AllAllAll
  • cpe:2.3:a:apache:cxf:3.4.4:*:*:*:*:*:*:*:
  • cpe:2.3:a:apache:tomee:*:*:*:*:*:*:*:*:
  • cpe:2.3:a:apache:xml_security_for_java:*:*:*:*:*:*:*:*:
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*:
  • cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*:
  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*:
  • cpe:2.3:a:oracle:agile_plm:9.3.6:*:*:*:*:*:*:*:
  • cpe:2.3:a:oracle:commerce_guided_search:11.3.2:*:*:*:*:*:*:*:
  • cpe:2.3:a:oracle:commerce_platform:11.3.2:*:*:*:*:*:*:*:
  • cpe:2.3:a:oracle:communications_diameter_intelligence_hub:*:*:*:*:*:*:*:*:
  • cpe:2.3:a:oracle:communications_diameter_intelligence_hub:*:*:*:*:*:*:*:*:
  • cpe:2.3:a:oracle:communications_messaging_server:8.1:*:*:*:*:*:*:*:
  • cpe:2.3:a:oracle:flexcube_private_banking:12.1.0:*:*:*:*:*:*:*:
  • cpe:2.3:a:oracle:outside_in_technology:8.5.5:*:*:*:*:*:*:*:
  • cpe:2.3:a:oracle:peoplesoft_enterprise_peopletools:8.58:*:*:*:*:*:*:*:
  • cpe:2.3:a:oracle:peoplesoft_enterprise_peopletools:8.59:*:*:*:*:*:*:*:
  • cpe:2.3:a:oracle:retail_bulk_data_integration:16.0.3:*:*:*:*:*:*:*:
  • cpe:2.3:a:oracle:retail_financial_integration:14.1.3.2:*:*:*:*:*:*:*:
  • cpe:2.3:a:oracle:retail_financial_integration:15.0.3.1:*:*:*:*:*:*:*:
  • cpe:2.3:a:oracle:retail_financial_integration:16.0.3:*:*:*:*:*:*:*:
  • cpe:2.3:a:oracle:retail_financial_integration:19.0.1:*:*:*:*:*:*:*:
  • cpe:2.3:a:oracle:retail_integration_bus:14.1.3.2:*:*:*:*:*:*:*:
  • cpe:2.3:a:oracle:retail_integration_bus:15.0.3.1:*:*:*:*:*:*:*:
  • cpe:2.3:a:oracle:retail_integration_bus:16.0.3:*:*:*:*:*:*:*:
  • cpe:2.3:a:oracle:retail_integration_bus:19.0.1:*:*:*:*:*:*:*:
  • cpe:2.3:a:oracle:retail_merchandising_system:16.0.3:*:*:*:*:*:*:*:
  • cpe:2.3:a:oracle:retail_merchandising_system:19.0.1:*:*:*:*:*:*:*:
  • cpe:2.3:a:oracle:retail_service_backbone:14.1.3.2:*:*:*:*:*:*:*:
  • cpe:2.3:a:oracle:retail_service_backbone:15.0.3.1:*:*:*:*:*:*:*:
  • cpe:2.3:a:oracle:retail_service_backbone:16.0.3:*:*:*:*:*:*:*:
  • cpe:2.3:a:oracle:retail_service_backbone:19.0.1:*:*:*:*:*:*:*:
  • cpe:2.3:a:oracle:weblogic_server:12.2.1.4.0:*:*:*:*:*:*:*:
  • cpe:2.3:a:oracle:weblogic_server:14.1.1.0.0:*:*:*:*:*:*:*:

Discovery Credit

An Trinh, Calif.

Social Mentions

Source Title Posted (UTC)
Twitter Icon @oss_security CVE-2021-40690: Apache Santuario: Bypass of the secureValidation property: Posted by Colm O hEigeartaigh on Sep 17D… twitter.com/i/web/status/1… 2021-09-17 13:14:02
Twitter Icon @CVEreport CVE-2021-40690 : All versions of #Apache Santuario - XML Security for Java prior to 2.2.3 and 2.1.7 are vulnerable… twitter.com/i/web/status/1… 2021-09-19 17:27:43
Twitter Icon @0_exploit CVE-2021-40690 dlvr.it/S7tQ8W 2021-09-19 22:53:01
© CVE.report 2023 Twitter Nitter Twitter Viewer |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report