Skip to content

CVE-2023-50263 Nautobot allows unauthenticated db-file-storage views

MediumCVSS 5.3 EPSS 0.75%
Published
Updated
Exploit status
No public exploit known

Description

Nautobot is a Network Source of Truth and Network Automation Platform built as a web application atop the Django Python framework with a PostgreSQL or MySQL database. In Nautobot 1.x and 2.0.x prior to 1.6.7 and 2.0.6, the URLs /files/get/?name=... and /files/download/?name=... are used to provide admin access to files that have been uploaded as part of a run request for a Job that has FileVar inputs. Under normal operation these files are ephemeral and are deleted once the Job in question runs.

In the default implementation used in Nautobot, as provided by django-db-file-storage, these URLs do not by default require any user authentication to access; they should instead be restricted to only users who have permissions to view Nautobot's FileProxy model instances.

Note that no URL mechanism is provided for listing or traversal of the available file name values, so in practice an unauthenticated user would have to guess names to discover arbitrary files for download, but if a user knows the file name/path value, they can access it without authenticating, so we are considering this a vulnerability.

Fixes are included in Nautobot 1.6.7 and Nautobot 2.0.6. No known workarounds are available other than applying the patches included in those versions.

Affected products

ProductAffected versionsFixed in
pypi nautobot(PyPI) >= 1.1.0, < 1.6.7 1.6.7
pypi nautobot(PyPI) = 1.1.0 No fix listed
pypi nautobot(PyPI) = 1.1.1 No fix listed
pypi nautobot(PyPI) = 1.1.2 No fix listed
pypi nautobot(PyPI) = 1.1.3 No fix listed
pypi nautobot(PyPI) = 1.1.4 No fix listed
pypi nautobot(PyPI) = 1.1.5 No fix listed
pypi nautobot(PyPI) = 1.1.6 No fix listed
pypi nautobot(PyPI) = 1.2.0 No fix listed
pypi nautobot(PyPI) = 1.2.1 No fix listed
pypi nautobot(PyPI) = 1.2.10 No fix listed
pypi nautobot(PyPI) = 1.2.11 No fix listed
pypi nautobot(PyPI) = 1.2.2 No fix listed
pypi nautobot(PyPI) = 1.2.3 No fix listed
pypi nautobot(PyPI) = 1.2.4 No fix listed
pypi nautobot(PyPI) = 1.2.5 No fix listed
pypi nautobot(PyPI) = 1.2.6 No fix listed
pypi nautobot(PyPI) = 1.2.7 No fix listed
pypi nautobot(PyPI) = 1.2.8 No fix listed
pypi nautobot(PyPI) = 1.2.9 No fix listed
pypi nautobot(PyPI) = 1.3.0 No fix listed
pypi nautobot(PyPI) = 1.3.1 No fix listed
pypi nautobot(PyPI) = 1.3.10 No fix listed
pypi nautobot(PyPI) = 1.3.2 No fix listed
pypi nautobot(PyPI) = 1.3.3 No fix listed
Show 112 more
ProductAffected versionsFixed in
pypi nautobot(PyPI) = 1.3.4 No fix listed
pypi nautobot(PyPI) = 1.3.5 No fix listed
pypi nautobot(PyPI) = 1.3.6 No fix listed
pypi nautobot(PyPI) = 1.3.7 No fix listed
pypi nautobot(PyPI) = 1.3.8 No fix listed
pypi nautobot(PyPI) = 1.3.9 No fix listed
pypi nautobot(PyPI) = 1.4.0 No fix listed
pypi nautobot(PyPI) = 1.4.1 No fix listed
pypi nautobot(PyPI) = 1.4.10 No fix listed
pypi nautobot(PyPI) = 1.4.2 No fix listed
pypi nautobot(PyPI) = 1.4.3 No fix listed
pypi nautobot(PyPI) = 1.4.4 No fix listed
pypi nautobot(PyPI) = 1.4.5 No fix listed
pypi nautobot(PyPI) = 1.4.7 No fix listed
pypi nautobot(PyPI) = 1.4.8 No fix listed
pypi nautobot(PyPI) = 1.4.9 No fix listed
pypi nautobot(PyPI) = 1.5.0 No fix listed
pypi nautobot(PyPI) = 1.5.1 No fix listed
pypi nautobot(PyPI) = 1.5.10 No fix listed
pypi nautobot(PyPI) = 1.5.11 No fix listed
pypi nautobot(PyPI) = 1.5.12 No fix listed
pypi nautobot(PyPI) = 1.5.13 No fix listed
pypi nautobot(PyPI) = 1.5.14 No fix listed
pypi nautobot(PyPI) = 1.5.15 No fix listed
pypi nautobot(PyPI) = 1.5.16 No fix listed
pypi nautobot(PyPI) = 1.5.17 No fix listed
pypi nautobot(PyPI) = 1.5.18 No fix listed
pypi nautobot(PyPI) = 1.5.19 No fix listed
pypi nautobot(PyPI) = 1.5.2 No fix listed
pypi nautobot(PyPI) = 1.5.20 No fix listed
pypi nautobot(PyPI) = 1.5.21 No fix listed
pypi nautobot(PyPI) = 1.5.22 No fix listed
pypi nautobot(PyPI) = 1.5.23 No fix listed
pypi nautobot(PyPI) = 1.5.24 No fix listed
pypi nautobot(PyPI) = 1.5.3 No fix listed
pypi nautobot(PyPI) = 1.5.4 No fix listed
pypi nautobot(PyPI) = 1.5.5 No fix listed
pypi nautobot(PyPI) = 1.5.6 No fix listed
pypi nautobot(PyPI) = 1.5.7 No fix listed
pypi nautobot(PyPI) = 1.5.8 No fix listed
pypi nautobot(PyPI) = 1.5.9 No fix listed
pypi nautobot(PyPI) = 1.6.0 No fix listed
pypi nautobot(PyPI) = 1.6.1 No fix listed
pypi nautobot(PyPI) = 1.6.2 No fix listed
pypi nautobot(PyPI) = 1.6.3 No fix listed
pypi nautobot(PyPI) = 1.6.4 No fix listed
pypi nautobot(PyPI) = 1.6.5 No fix listed
pypi nautobot(PyPI) = 1.6.6 No fix listed
pypi nautobot(PyPI) >= 2.0.0, < 2.0.6 2.0.6
pypi nautobot(PyPI) = 2.0.0 No fix listed
pypi nautobot(PyPI) = 2.0.1 No fix listed
pypi nautobot(PyPI) = 2.0.2 No fix listed
pypi nautobot(PyPI) = 2.0.3 No fix listed
pypi nautobot(PyPI) = 2.0.4 No fix listed
pypi nautobot(PyPI) = 2.0.5 No fix listed
pypi nautobot(PyPI) = v1.6.6 No fix listed
pypi nautobot(PyPI) = v1.6.5 No fix listed
pypi nautobot(PyPI) = v1.6.4 No fix listed
pypi nautobot(PyPI) = v1.6.3 No fix listed
pypi nautobot(PyPI) = v2.0.0-rc.4 No fix listed
pypi nautobot(PyPI) = v2.0.0-rc.3 No fix listed
pypi nautobot(PyPI) = v1.6.0-rc.1 No fix listed
pypi nautobot(PyPI) = v1.4.2 No fix listed
pypi nautobot(PyPI) = v1.4.1 No fix listed
pypi nautobot(PyPI) = v1.4.0 No fix listed
pypi nautobot(PyPI) = v1.3.10 No fix listed
pypi nautobot(PyPI) = v1.3 No fix listed
pypi nautobot(PyPI) = v1.3.9 No fix listed
pypi nautobot(PyPI) = v1.3.8 No fix listed
pypi nautobot(PyPI) = v1.3.7 No fix listed
pypi nautobot(PyPI) = v1.3.6 No fix listed
pypi nautobot(PyPI) = v1.3.5 No fix listed
pypi nautobot(PyPI) = v1.3.4 No fix listed
pypi nautobot(PyPI) = v1.3.3 No fix listed
pypi nautobot(PyPI) = v1.3.2 No fix listed
pypi nautobot(PyPI) = v1.3.1 No fix listed
pypi nautobot(PyPI) = v1.3.0 No fix listed
pypi nautobot(PyPI) = v1.2.11 No fix listed
pypi nautobot(PyPI) = v1.2 No fix listed
pypi nautobot(PyPI) = v1.2.10 No fix listed
pypi nautobot(PyPI) = v1.2.9 No fix listed
pypi nautobot(PyPI) = v1.2.8 No fix listed
pypi nautobot(PyPI) = v1.2.7 No fix listed
pypi nautobot(PyPI) = v1.2.6 No fix listed
pypi nautobot(PyPI) = v1.2.5 No fix listed
pypi nautobot(PyPI) = v1.2.4 No fix listed
pypi nautobot(PyPI) = v1.2.3 No fix listed
pypi nautobot(PyPI) = v1.2.2 No fix listed
pypi nautobot(PyPI) = v1.2.1 No fix listed
pypi nautobot(PyPI) = v1.2.0 No fix listed
pypi nautobot(PyPI) = v1.2.0b1 No fix listed
pypi nautobot(PyPI) = v1.1.4 No fix listed
pypi nautobot(PyPI) = v1.1.3 No fix listed
pypi nautobot(PyPI) = v1.1.2 No fix listed
pypi nautobot(PyPI) = v1.1.1 No fix listed
pypi nautobot(PyPI) = v1.1.0 No fix listed
pypi nautobot(PyPI) = v1.1.0b2 No fix listed
pypi nautobot(PyPI) = v1.1.0b1 No fix listed
pypi nautobot(PyPI) = v1.0.3 No fix listed
pypi nautobot(PyPI) = v1.0.2 No fix listed
pypi nautobot(PyPI) = v1.0.1 No fix listed
pypi nautobot(PyPI) = v1.0.0 No fix listed
pypi nautobot(PyPI) = v1.0.0b4 No fix listed
pypi nautobot(PyPI) = v1.0.0b3 No fix listed
pypi nautobot(PyPI) = v1.0.0b2 No fix listed
pypi nautobot(PyPI) = v1.0.0b1 No fix listed
pypi nautobot(PyPI) = v1.0.0a2 No fix listed
pypi nautobot(PyPI) = v1.0.0a1 No fix listed
nautobot = >= 1.1.0, < 1.6.7 No fix listed
nautobot = >= 2.0.0, < 2.0.6 No fix listed
networktocode nautobot >= 1.1.0, < 1.6.7 1.6.7
networktocode nautobot >= 2.0.0, < 2.0.6 2.0.6

References