KeySight N6841A RF Sensor removeLicenseFile Directory Traversal Local Privilege Escalation Vulnerability
The removeLicenseFile class in KeySight N6841A RF Sensor fails to validate a user-supplied path before using it in file operations. A local attacker with low-privileged code execution could exploit this to escalate privileges and run arbitrary code as SYSTEM.
This vulnerability allows local attackers to escalate privileges on affected installations of KeySight N6841A RF Sensor. An attacker must first obtain the ability to execute low-privileged code on the target system in order 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 removeLicenseFile class accepts a user-supplied path without validating or restricting it before performing file operations.
Impact
A local attacker who can already execute low-privileged code could escalate to SYSTEM and execute arbitrary code.
What the attacker needed
Local low-privileged code execution
The fix
The vendor issued an update to correct the 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.
This is a directory traversal bug: a program takes a file path from the user but does not check it, so an attacker can point it at files outside the intended folder. Because the program runs with high privileges, a local attacker who already has a low-level foothold can use this to run code as the SYSTEM account, which is the highest level on Windows.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.