Advisory Details

July 19th, 2023

KeySight N6841A RF Sensor addFirmwarePackage Directory Traversal Local Privilege Escalation Vulnerability

ZDI-23-976
ZDI-CAN-19096

CVE ID CVE-2023-34394
CVSS SCORE 7.8, AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS KeySight
AFFECTED PRODUCTS N6841A RF Sensor
VULNERABILITY DETAILS

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 specific flaw exists within the addFirmwarePackage function. The issue results from the lack of proper validation of a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of SYSTEM.

ADDITIONAL DETAILS KeySight has issued an update to correct this vulnerability. More details can be found at:
https://www.cisa.gov/news-events/ics-advisories/icsa-23-199-02
DISCLOSURE TIMELINE
  • 2022-11-03 - Vulnerability reported to vendor
  • 2023-07-19 - Coordinated public release of advisory
CREDIT Steven Seeley (mr_me) of Source Incite
BACK TO ADVISORIES