Injection in Apache Archiva
Date: 2022-02
Affected: maven/org.apache.archiva:archiva
Attack vector: other
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2020-9495
CWE: CWE-74
CVSS: 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N)

Apache Archiva login service before 2.2.5 is vulnerable to LDAP injection. A attacker is able to retrieve user attribute data from the connected LDAP server by providing special values to the login form. With certain characters it is possible to modify the LDAP filter used to query the LDAP users. By measuring the response time for the login request, arbitrary attribute data can be retrieved from LDAP user objects.


Mitigations:

Architectural layers (MAESTRO):