KeySight N6841A RF Sensor UserFirmwareRequestHandler Directory Traversal Information Disclosure Vulnerability
The UserFirmwareRequestHandler class fails to validate a user-supplied path before using it in file operations, allowing an unauthenticated remote attacker to disclose sensitive files. The attacker can read files with SYSTEM privileges.
This vulnerability allows remote attackers to disclose sensitive information on affected installations of KeySight N6841A RF Sensor. 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 UserFirmwareRequestHandler class does not validate or sanitise a user-supplied path before using it in file operations.
Impact
An unauthenticated remote attacker could disclose sensitive files on the device with SYSTEM privileges.
What the attacker needed
None
The fix
The vulnerability was fixed by the vendor via an update.
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 is a directory traversal bug. A part of the device's web interface takes a file path from the user and uses it to open a file without checking that the path stays inside the intended folder. An attacker can send a path that points to a sensitive system file and read it, even without logging in.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.