Skip to content

nautobot has reflected Cross-site Scripting potential in all object list views

High severity GitHub Reviewed Published Apr 30, 2024 in nautobot/nautobot • Updated May 1, 2024

Package

pip nautobot (pip)

Affected versions

>= 1.5.0, < 1.6.20
>= 2.0.0, < 2.2.3

Patched versions

1.6.20
2.2.3

Description

Impact

It was discovered that due to improper handling and escaping of user-provided query parameters, a maliciously crafted Nautobot URL could potentially be used to execute a Reflected Cross-Site Scripting (Reflected XSS) attack against users. All filterable object-list views in Nautobot are vulnerable, including:

  • /dcim/location-types/
  • /dcim/locations/
  • /dcim/racks/
  • /dcim/rack-groups/
  • /dcim/rack-reservations/
  • /dcim/rack-elevations/
  • /tenancy/tenants/
  • /tenancy/tenant-groups/
  • /extras/tags/
  • /extras/statuses/
  • /extras/roles/
  • /extras/dynamic-groups/
  • /dcim/devices/
  • /dcim/platforms/
  • /dcim/virtual-chassis/
  • /dcim/device-redundancy-groups/
  • /dcim/interface-redundancy-groups/
  • /dcim/device-types/
  • /dcim/manufacturers/
  • /dcim/cables/
  • /dcim/console-connections/
  • /dcim/power-connections/
  • /dcim/interface-connections/
  • /dcim/interfaces/
  • /dcim/front-ports/
  • /dcim/rear-ports/
  • /dcim/console-ports/
  • /dcim/console-server-ports/
  • /dcim/power-ports/
  • /dcim/power-outlets/
  • /dcim/device-bays/
  • /dcim/inventory-items/
  • /ipam/ip-addresses/
  • /ipam/prefixes
  • /ipam/rirs/
  • /ipam/namespaces/
  • /ipam/vrfs/
  • /ipam/route-targets/
  • /ipam/vlans/
  • /ipam/vlan-groups/
  • /ipam/services/
  • /virtualization/virtual-machines/
  • /virtualization/interfaces/
  • /virtualization/clusters/
  • /virtualization/cluster-types/
  • /virtualization/cluster-groups/
  • /circuits/circuits/
  • /circuits/circuit-types/
  • /circuits/providers/
  • /circuits/provider-networks/
  • /dcim/power-feeds/
  • /dcim/power-panels/
  • /extras/secrets/
  • /extras/secrets-groups/
  • /extras/jobs/
  • /extras/jobs/scheduled-jobs/approval-queue/
  • /extras/jobs/scheduled-jobs/
  • /extras/job-results/
  • /extras/job-hooks/
  • /extras/job-buttons/
  • /extras/object-changes/
  • /extras/git-repositories/
  • /extras/graphql-queries/
  • /extras/relationships/
  • /extras/notes/
  • /extras/config-contexts/
  • /extras/config-context-schemas/
  • /extras/export-templates/
  • /extras/external-integrations/
  • /extras/webhooks/
  • /extras/computed-fields/
  • /extras/custom-fields/
  • /extras/custom-links/

as well as any similar object-list views provided by any Nautobot App.

Patches

Fixed in Nautobot 1.6.20 and 2.2.3.

Workarounds

No workaround has been identified

References

  • #5646
  • #5647

Credit to Michael Panorios for reporting this issue.

References

@glennmatthews glennmatthews published to nautobot/nautobot Apr 30, 2024
Published to the GitHub Advisory Database May 1, 2024
Reviewed May 1, 2024
Published by the National Vulnerability Database May 1, 2024
Last updated May 1, 2024

Severity

High

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
High
Availability
Low

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:L

EPSS score

0.045%
(16th percentile)

Weaknesses

CVE ID

CVE-2024-32979

GHSA ID

GHSA-jxgr-gcj5-cqqg

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.