ATEN Unizon writeFileToHttpServletResponse Directory Traversal Information Disclosure Vulnerability
The writeFileToHttpServletResponse method fails to validate a user-supplied path before using it in file operations, allowing an unauthenticated remote attacker to read arbitrary files. This can disclose sensitive information in the context of the SYSTEM account.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to disclose sensitive information on affected installations of ATEN Unizon. Authentication is not required to exploit this vulnerability.
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
Likely, the writeFileToHttpServletResponse method does not validate or sanitise the user-supplied path before using it to access files.
Impact
An unauthenticated remote attacker could disclose sensitive information in the context of SYSTEM.
What the attacker needed
None
The fix
ATEN has issued an update to correct this vulnerability.
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.
A program takes a file path from the user and uses it to read a file without checking that the path stays inside the intended folder. An attacker can supply a path that points outside that folder, such as to a system file, and read its contents. This is called directory traversal.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.