SecurityContext

CVE-2024-34707: Nautobot - Stored XSS

  • Cve: CVE-2024-34707
  • Name: Nautobot - Stored XSS
  • Description: Nautobot is a Network Source of Truth and Network Automation Platform. A Nautobot user with admin privileges can modify the `BANNER_TOP`, `BANNER_BOTTOM`, and `BANNER_LOGIN` configuration settings via the `/admin/constance/config/` endpoint. Normally these settings are used to provide custom banner text at the top and bottom of all Nautobot web pages (or specifically on the login page in the case of `BANNER_LOGIN`) but it was reported that an admin user can make use of these settings to inject arbitrary HTML, potentially exposing Nautobot users to security issues such as cross-site scripting (stored XSS). The vulnerability is fixed in Nautobot 1.6.22 and 2.2.4.
  • Impact: Attackers can execute malicious scripts in user browsers, potentially leading to session hijacking, data theft, or other malicious activities.
  • Remediation: Update to Nautobot 1.6.22 or 2.2.4.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: admin_privileges
  • Requirements: Attacker needs admin privileges
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 4.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00606
  • Epss percentile: 0.49954
  • Assignee: [email protected]
  • Published at: 2024-05-14T15:39:30Z
  • Age in days: 924
  • Modified at: 2026-06-17T07:33:54Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-34707
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://github.com/nautobot/nautobot/pull/5697nvd2024-05-14
https://github.com/nautobot/nautobot/pull/5698nvd2024-05-14

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/nautobot/nautobot/commit/4f0a66bd6307bfe0e0acb899233e0d4ad516f51cPatch
https://github.com/nautobot/nautobot/commit/f640aedc69c848d3d1be57f0300fc40033ff6423Patch
https://github.com/nautobot/nautobot/pull/5697Exploit, Patch
https://github.com/nautobot/nautobot/pull/5698Exploit, Patch
https://github.com/nautobot/nautobot/security/advisories/GHSA-r2hr-4v48-fjv3Patch, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
networktocode:nautobot>= 2.0.0, < 2.2.4; < 1.6.22nonvd/v1/products/networktocode/nautobot

Projects

RepositoryLink kindsIndexedUrl
nautobot/nautobotcommit, fix, package, pull, security_advisoryyes/v1/repositories/nautobot/nautobot

Index

  • Repositories: 3
  • Repositories high signal: 3
  • Checked, none or zero: packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2024-05-14
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts