CVE-2024–4956: UNAUTHENTICATED PATH TRAVERSAL IN NEXUS REPOSITORY MANAGER 3
Nexus Repository Manager 3 before 3.68.1 is vulnerable to an unauthenticated path traversal, allowing an attacker to read arbitrary local files. The blog demonstrates reading the system password file without any authentication.
Published on codewithvamp.medium.com
The Nexus Repository Manager, a crucial tool for managing, storing, and distributing development artifacts, has recently been found to have a significant security flaw. This vulnerability, known as a path traversal issue, affects version 3 of the Nexus Repository Manager, specifically releases prior to 3.68.1.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the server fails to normalise or restrict the requested path before resolving it against the filesystem, so encoded traversal sequences escape the intended directory.
What the attacker needed
Network access to the Nexus instance; no authentication required
The fix
The vulnerability was fixed in Nexus Repository Manager 3.68.1; users should upgrade to that version or later.
How it was found
- Find Nexus Repository instances using a search engine query for the product's page content.
- Open a target instance in a browser while intercepting requests.
- Send the request to a repeater tool and modify the URL to include traversal sequences.
- Observe the response, which returns the contents of a local system file.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A path traversal bug lets someone trick a web server into reading files outside the folder it is supposed to serve. Here, by putting special dot-dot sequences in the URL, an unauthenticated visitor can make the server return a sensitive system file such as the password file.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.