Headline
CVE-2023-33785: Stored Cross Site Scripting Vulnerability in "Create Rack Roles" function in Netbox 3.5.1 · Issue #8 · anhdq201/netbox
A stored cross-site scripting (XSS) vulnerability in the Create Rack Roles (/dcim/rack-roles/) function of Netbox v3.5.1 allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the Name field.
Version: 3.5.1****Description
An authenticated malicious user can take advantage of a Stored XSS vulnerability in “Create Rack Roles” function in the “Organization” feature.
Proof of Concept******Step 1: Go to /dcim/rack-roles/, click “Add” and insert payload “<img src=1 onerror=’alert(document.cookie)'/>” in “Name” field.**********Step 2:** Go to /dcim/racks/, click “Add” and select "Role"**********Step 3: Script excuted********Impact**
If an attacker can control a script that is executed in the victim’s browser, then they can typically fully compromise that user.