Repository navigation
apacheds-core-1.5.7.jar: 3 vulnerabilities (highest severity is: 10.0) [master] (reachable) #32
Description
📂 Vulnerable Library - apacheds-core-1.5.7.jar
Server's core contains the JNDI provider, interceptors, schema, and
database subsystems. The core is the heart of the server without protocols
enabled.
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/apache/directory/server/apacheds-core/1.5.7/apacheds-core-1.5.7.jar
Findings
| Finding | Severity | 🎯 CVSS | Exploit Maturity | EPSS | Library | Type | Fixed in | Remediation Available | Reachability |
|---|---|---|---|---|---|---|---|---|---|
| CVE-2024-52046 | 🟣 Critical | 10.0 | Not Defined | 37.7% | mina-core-2.0.0-RC1.jar | Transitive | N/A | ❌ | |
| CVE-967109-690347 | 🟣 Critical | 9.8 | N/A | N/A | dom4j-1.6.1.jar | Transitive | N/A | ❌ | |
| CVE-2018-1000632 | 🔴 High | 8.7 | Not Defined | 1.0% | dom4j-1.6.1.jar | Transitive | N/A | ❌ |
Details
🟣CVE-2024-52046
Vulnerable Library - mina-core-2.0.0-RC1.jar
Apache MINA is a network application framework which helps users develop high performance and highly scalable network applications easily. It provides an abstract event-driven asynchronous API over various transports such as TCP/IP and UDP/IP via Java NIO.
Library home page: http://mina.apache.org/
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/apache/mina/mina-core/2.0.0-RC1/mina-core-2.0.0-RC1.jar
Dependency Hierarchy:
- apacheds-core-1.5.7.jar (Root Library)
- apacheds-i18n-1.5.7.jar
- shared-asn1-codec-0.9.19.jar
- ❌ mina-core-2.0.0-RC1.jar (Vulnerable Library)
- shared-asn1-codec-0.9.19.jar
- apacheds-i18n-1.5.7.jar
Vulnerability Details
The ObjectSerializationDecoder in Apache MINA uses Java’s native deserialization protocol to process
incoming serialized data but lacks the necessary security checks and defenses. This vulnerability allows
attackers to exploit the deserialization process by sending specially crafted malicious serialized data,
potentially leading to remote code execution (RCE) attacks.
This issue affects MINA core versions 2.0.X, 2.1.X and 2.2.X, and will be fixed by the releases 2.0.27, 2.1.10 and 2.2.4.
It's also important to note that an application using MINA core library will only be affected if the IoBuffer#getObject() method is called, and this specific method is potentially called when adding a ProtocolCodecFilter instance using the ObjectSerializationCodecFactory class in the filter chain. If your application is specifically using those classes, you have to upgrade to the latest version of MINA core library.
Upgrading will not be enough: you also need to explicitly allow the classes the decoder will accept in the ObjectSerializationDecoder instance, using one of the three new methods:
/**
* Accept class names where the supplied ClassNameMatcher matches for
- deserialization, unless they are otherwise rejected.
- @PARAM classNameMatcher the matcher to use
/
public void accept(ClassNameMatcher classNameMatcher)
/* - Accept class names that match the supplied pattern for
- deserialization, unless they are otherwise rejected.
- @PARAM pattern standard Java regexp
/
public void accept(Pattern pattern)
/* - Accept the wildcard specified classes for deserialization,
- unless they are otherwise rejected.
- @PARAM patterns Wildcard file name patterns as defined by
-
{@link org.apache.commons.io.FilenameUtils#wildcardMatch(String, String) FilenameUtils.wildcardMatch}
*/
public void accept(String... patterns)
By default, the decoder will reject all classes that will be present in the incoming data.
Note: The FtpServer, SSHd and Vysper sub-project are not affected by this issue.
Mend Note: The description of this vulnerability differs from MITRE.
Publish Date: Dec 25, 2024 10:06 AM
URL: CVE-2024-52046
Threat Assessment
Exploit Maturity:Not Defined
EPSS:37.7%
Score: 10.0
Suggested Fix
Type: Upgrade version
Origin: GHSA-76h9-2vwh-w278
Release Date: Dec 25, 2024 10:06 AM
Fix Resolution : org.apache.mina:mina-core:2.2.4,org.apache.mina:mina-core:2.1.10,org.apache.mina:mina-core:2.0.27
🟣CVE-967109-690347
Vulnerable Library - dom4j-1.6.1.jar
dom4j: the flexible XML framework for Java
Library home page: http://dom4j.org
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar
Dependency Hierarchy:
- apacheds-core-1.5.7.jar (Root Library)
- apacheds-i18n-1.5.7.jar
- shared-dsml-parser-0.9.19.jar
- ❌ dom4j-1.6.1.jar (Vulnerable Library)
- shared-dsml-parser-0.9.19.jar
- apacheds-i18n-1.5.7.jar
Vulnerability Details
Created automatically by the test suite
Publish Date: Jun 07, 2010 05:12 PM
URL: CVE-967109-690347
Threat Assessment
Exploit Maturity:N/A
EPSS:N/A
Score: 9.8
Suggested Fix
Type: Upgrade version
Origin:
Release Date:
Fix Resolution :
🔴CVE-2018-1000632
Vulnerable Library - dom4j-1.6.1.jar
dom4j: the flexible XML framework for Java
Library home page: http://dom4j.org
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar
Dependency Hierarchy:
- apacheds-core-1.5.7.jar (Root Library)
- apacheds-i18n-1.5.7.jar
- shared-dsml-parser-0.9.19.jar
- ❌ dom4j-1.6.1.jar (Vulnerable Library)
- shared-dsml-parser-0.9.19.jar
- apacheds-i18n-1.5.7.jar
Reachability Analysis
This vulnerability is potentially reachable:
- org.owasp.benchmark.helpers.HibernateUtil (Application)
- org.hibernate.cfg.Configuration (Extension)
- org.hibernate.util.XMLHelper (Extension)
- org.dom4j.io.XMLWriter (Extension)
-> ❌ org.dom4j.Namespace (Vulnerable Component)
Vulnerability Details
dom4j version prior to version 2.1.1 contains a CWE-91: XML Injection vulnerability in Class: Element. Methods: addElement, addAttribute that can result in an attacker tampering with XML documents through XML injection. This attack appear to be exploitable via an attacker specifying attributes or elements in the XML document. This vulnerability appears to have been fixed in 2.1.1 or later.
Publish Date: Aug 20, 2018 07:00 PM
URL: CVE-2018-1000632
Threat Assessment
Exploit Maturity:Not Defined
EPSS:1.0%
Score: 8.7
Suggested Fix
Type: Upgrade version
Origin: GHSA-6pcc-3rfx-4gpm
Release Date: Aug 20, 2018 07:00 PM
Fix Resolution : org.dom4j:dom4j:2.0.3,org.dom4j:dom4j:2.1.1
Activity
[-]apacheds-core-1.5.7.jar: 4 vulnerabilities (highest severity is: 10.0) [master] (reachable)[/-][+]apacheds-core-1.5.7.jar: 3 vulnerabilities (highest severity is: 10.0) [master] (reachable)[/+]