Apache Cxf vulnerabilities, page 3

80 vulnerabilities

Known vulnerabilities in Apache Cxf, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.

RoutineCVE-2024-41172apache software foundation · apache cxf +2 moreApache CXF: Unrestricted memory consumption in CXF HTTP clientsIn versions of Apache CXF before 3.6.4 and 4.0.5 (3.5.x and lower versions are not impacted), a CXF HTTP client conduit may prevent HTTPClient instances from being garbage collected and it is possible that memory consumption will continue to increase, eventually causing the application to run out of memoryCVSS7.5HighEPSS1.20%PrioritiseCVE-2024-32007apache software foundation · apache cxf +2 moreApache CXF Denial of Service vulnerability in JOSEAn improper input validation of the p2c parameter in the Apache CXF JOSE code before 4.0.5, 3.6.4 and 3.5.9 allows an attacker to perform a denial of service attack by specifying a large value for this parameter in a token.CVSS7.5HighEPSS1.32%PrioritiseCVE-2024-29736apache software foundation · apache cxf +2 moreApache CXF: SSRF vulnerability via WADL stylesheet parameterA SSRF vulnerability in WADL service description in versions of Apache CXF before 4.0.5, 3.6.4 and 3.5.9 allows an attacker to perform SSRF style attacks on REST webservices. The attack only applies if a custom stylesheet parameter is configured.CVSS9.1CriticalEPSS1.07%PrioritiseCVE-2024-28752apache software foundation · apache cxf +47 moreApache CXF SSRF Vulnerability using the Aegis databindingA SSRF vulnerability using the Aegis DataBinding in versions of Apache CXF before 4.0.4, 3.6.3 and 3.5.8 allows an attacker to perform SSRF style attacks on webservices that take at least one parameter of any type. Users of other data bindings (including the default databinding) are not impacted.CVSS9.3CriticalEPSS3.15%PrioritiseCVE-2022-46364apache software foundation · apache cxf +6 moreApache CXF SSRF VulnerabilityA SSRF vulnerability in parsing the href attribute of XOP:Include in MTOM requests in versions of Apache CXF before 3.5.5 and 3.4.10 allows an attacker to perform SSRF style attacks on webservices that take at least one parameter of any type.CVSS9.8CriticalEPSS2.46%PrioritiseCVE-2022-46363apache software foundation · apache cxf +2 moreApache CXF directory listing / code exfiltrationA vulnerability in Apache CXF before versions 3.5.5 and 3.4.10 allows an attacker to perform a remote directory listing or code exfiltration. The vulnerability only applies when the CXFServlet is configured with both the static-resources-list and redirect-query-check attributes. These attributes are not supposed to be used together, and so the vulnerability can only arise if the CXF service is misconfigured.CVSS7.5HighEPSS1.29%PrioritiseCVE-2021-40690apache software foundation · apache santuario +22 moreBypass of the secureValidation propertyAll 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.CVSS7.5HighEPSS7.44%PrioritiseCVE-2021-30468apache software foundation · apache cxf +7 moreApache CXF Denial of service vulnerability in parsing JSON via JsonMapObjectReaderWriterA vulnerability in the JsonMapObjectReaderWriter of Apache CXF allows an attacker to submit malformed JSON to a web service, which results in the thread getting stuck in an infinite loop, consuming CPU indefinitely. This issue affects Apache CXF versions prior to 3.4.4; Apache CXF versions prior to 3.3.11.CVSS7.5HighEPSS6.46%PrioritiseCVE-2021-22696apache software foundation · apache cxf +8 moreOAuth 2 authorization service vulnerable to DDos attacksCXF supports (via JwtRequestCodeFilter) passing OAuth 2 parameters via a JWT token as opposed to query parameters (see: The OAuth 2.0 Authorization Framework: JWT Secured Authorization Request (JAR)). Instead of sending a JWT token as a "request" parameter, the spec also supports specifying a URI from which to retrieve a JWT token from via the "request_uri" parameter. CXF was not validating the "request_uri" parameter (apart from ensuring it uses "https) and was making a REST request to the parameter in the request to retrieve a token. This means that CXF was vulnerable to DDos attacks on the authorization server, as specified in section 10.4.1 of the spec. This issue affects Apache CXF versions prior to 3.4.3; Apache CXF versions prior to 3.3.10.CVSS7.5HighEPSS6.59%RoutineCVE-2020-13954apache software foundation · apache cxf +8 moreApache CXF Reflected XSS in the services listing page via the styleSheetPathBy default, Apache CXF creates a /services page containing a listing of the available endpoint names and addresses. This webpage is vulnerable to a reflected Cross-Site Scripting (XSS) attack via the styleSheetPath, which allows a malicious actor to inject javascript into the web page. This vulnerability affects all versions of Apache CXF prior to 3.4.1 and 3.3.8. Please note that this is a separate issue to CVE-2019-17573.CVSS6.1MediumEPSS40.87%RoutineCVE-2020-1954apache · apache cxf +10 moreapache apache cxfApache CXF has the ability to integrate with JMX by registering an InstrumentationManager extension with the CXF bus. If the ‘createMBServerConnectorFactory‘ property of the default InstrumentationManagerImpl is not disabled, then it is vulnerable to a man-in-the-middle (MITM) style attack. An attacker on the same host can connect to the registry and rebind the entry to another server, thus acting as a proxy to the original. They are then able to gain access to all of the information that is sent and received over JMX.CVSS5.3MediumEPSS6.15%RoutineCVE-2011-2487red hat · jbossws +12 morered hat jbosswsThe implementations of PKCS#1 v1.5 key transport mechanism for XMLEncryption in JBossWS and Apache WSS4J before 1.6.5 is susceptible to a Bleichenbacher attack.CVSS5.9MediumEPSS1.76%RoutineCVE-2019-17573apache · cxf +8 moreapache cxfBy default, Apache CXF creates a /services page containing a listing of the available endpoint names and addresses. This webpage is vulnerable to a reflected Cross-Site Scripting (XSS) attack, which allows a malicious actor to inject javascript into the web page. Please note that the attack exploits a feature which is not typically not present in modern browsers, who remove dot segments before sending the request. However, Mobile applications may be vulnerable.CVSS6.1MediumEPSS7.05%PrioritiseCVE-2019-12423apache · cxf +9 moreapache cxfApache CXF ships with a OpenId Connect JWK Keys service, which allows a client to obtain the public keys in JWK format, which can then be used to verify the signature of tokens issued by the service. Typically, the service obtains the public key from a local keystore (JKS/PKCS12) by specifing the path of the keystore and the alias of the keystore entry. This case is not vulnerable. However it is also possible to obtain the keys from a JWK keystore file, by setting the configuration parameter "rs.security.keystore.type" to "jwk". For this case all keys are returned in this file "as is", including all private key and secret key credentials. This is an obvious security risk if the user has configured the signature keystore file with private or secret key credentials. From CXF 3.3.5 and 3.2.12, it is mandatory to specify an alias corresponding to the id of the key in the JWK file, and only this key is returned. In addition, any private key information is omitted by default. "oct" keys, which contain secret keys, are not returned at all.CVSS7.5HighEPSS6.06%PrioritiseCVE-2019-12419apache · apache cxf +6 moreapache apache cxfApache CXF before 3.3.4 and 3.2.11 provides all of the components that are required to build a fully fledged OpenId Connect service. There is a vulnerability in the access token services, where it does not validate that the authenticated principal is equal to that of the supplied clientId parameter in the request. If a malicious client was able to somehow steal an authorization code issued to another client, then they could exploit this vulnerability to obtain an access token for the other client.CVSS9.8CriticalEPSS13.84%RoutineCVE-2019-12406apache · cxf +5 moreapache cxfApache CXF before 3.3.4 and 3.2.11 does not restrict the number of message attachments present in a given message. This leaves open the possibility of a denial of service type attack, where a malicious user crafts a message containing a very large number of message attachments. From the 3.3.4 and 3.2.11 releases, a default limit of 50 message attachments is enforced. This is configurable via the message property "attachment-max-count".CVSS6.5MediumEPSS6.26%PrioritiseCVE-2018-8039apache software foundation · apache cxf +4 moreapache software foundation apache cxfIt is possible to configure Apache CXF to use the com.sun.net.ssl implementation via 'System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");'. When this system property is set, CXF uses some reflection to try to make the HostnameVerifier work with the old com.sun.net.ssl.HostnameVerifier interface. However, the default HostnameVerifier implementation in CXF does not implement the method in this interface, and an exception is thrown. However, in Apache CXF prior to 3.2.5 and 3.1.16 the exception is caught in the reflection code and not properly propagated. What this means is that if you are using the com.sun.net.ssl stack with CXF, an error with TLS hostname verification will not be thrown, leaving a CXF client subject to man-in-the-middle attacks.CVSS8.1HighEPSS8.21%RoutineCVE-2017-12624apache software foundation · apache cxf +2 moreapache software foundation apache cxfApache CXF supports sending and receiving attachments via either the JAX-WS or JAX-RS specifications. It is possible to craft a message attachment header that could lead to a Denial of Service (DoS) attack on a CXF web service provider. Both JAX-WS and JAX-RS services are vulnerable to this attack. From Apache CXF 3.2.1 and 3.1.14, message attachment headers that are greater than 300 characters will be rejected by default. This value is configurable via the property "attachment-max-header-size".CVSS5.5MediumEPSS3.70%PrioritiseCVE-2017-3156apache software foundation · apache cxf +2 moreapache software foundation apache cxfThe OAuth2 Hawk and JOSE MAC Validation code in Apache CXF prior to 3.0.13 and 3.1.x prior to 3.1.10 is not using a constant time MAC signature comparison algorithm which may be exploited by sophisticated timing attacks.CVSS7.5HighEPSS6.31%PrioritiseCVE-2016-8739apache software foundation · apache cxf +2 moreapache software foundation apache cxfThe JAX-RS module in Apache CXF prior to 3.0.12 and 3.1.x prior to 3.1.9 provides a number of Atom JAX-RS MessageBodyReaders. These readers use Apache Abdera Parser which expands XML entities by default which represents a major XXE risk.CVSS7.8HighEPSS7.32%