Veertu Anka Build registry archive files directory traversal vulnerability
A directory traversal vulnerability in the archive functionality of Veertu Anka Build 1.42.0 allows an unauthenticated attacker to download arbitrary directories from the system by manipulating the 'service' parameter. This can lead to disclosure of sensitive information.
A directory traversal vulnerability exists in the archive functionality of Veertu Anka Build 1.42.0. A specially crafted HTTP request can lead to a disclosure of sensitive information.
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 report has not been written yet. The Original tab links to the source.
How it worked
Root cause
The application appends user-supplied input to a directory path without validating for directory traversal sequences, allowing access to arbitrary directories.
Impact
An unauthenticated attacker could download arbitrary directories from the system, potentially disclosing sensitive information.
What the attacker needed
Unauthenticated network access to the service
The fix
The vulnerability was fixed in version 1.43.0 of the Anka Build Cloud.
How it was found
- Send an HTTP GET request to the controller URI `/api/v1/registry/log/archive` or the Registry URI `/log/archive`.
- Include a `service` parameter with directory traversal sequences to specify the target directory.
- The server compresses the requested directory and returns it in the response.
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 report has not been written yet. The Original tab links to the source.
This bug lets someone trick the server into giving them files from outside the intended folder. By sending a special request, an attacker can read any directory on the machine, which might contain private data.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.