Skip to content

benjaminpsinclair/Netbox-CVE-2023-37625

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Netbox-CVE-2023-37625

Description

A stored cross-site scripting (XSS) vulnerability in Netbox < 3.4.7 allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the Custom Link templates.

Technical Details

A stored Cross-Site Scripting vulnerability was discovered in the custom link function of the web application. This vulnerability is a result of insufficient sanitisation of the Link URL field.

To reproduce this vulnerability, the following steps may be performed:

  1. Navigate to Custom Links under the Other tab.
  2. Create a custom link with the following Link URL value, and assign the link to a model. In this example 'manufacturer' has been selected.:
{{'test1"</a><script>alert(1)</script>'}}
XSScustomlink
  1. Add a new model, in this example add a 'manufacturer' model.
addmanufacturer
  1. Open the newly created model as any authenticated user, and observer that the alert box has executed.
payload

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors