Headline
CVE-2023-33791: Stored Cross Site Scripting Vulnerability in "Create Provider Accounts" function in Netbox 3.5.1 · Issue #4 · anhdq201/netbox
A stored cross-site scripting (XSS) vulnerability in the Create Provider Accounts (/circuits/provider-accounts/) 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 Provider Accounts” function in the “Circuits” feature.
Proof of Concept******Step 1: Go to /circuits/provider-accounts/, click “Add” and insert payload “<img src=1 onerror=’alert(document.cookie)'/>” in “Account ID” field.**********Step 2:** Go to /circuits/circuits/, click “Add” and select "Provider account"**********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.