Vulnerabilities · 2024 · Networktocode
CVE-2024-36112
Networktocode Nautobot vulnerability
Nautobot is a Network Source of Truth and Network Automation Platform. A user with permissions to view Dynamic Group records (`extras.view_dynamicgroup` permission) can use the Dynamic Group detail UI view (`/extras/dynamic-groups/<uuid>/`) and/or the members REST API view (`/api/extras/dynamic-groups/<uuid>/members/`) to list the objects that are members of a given Dynamic Group. In versions of Nautobot between 1.3.0 (where the Dynamic Groups feature was added) and 1.6.22 inclusive, and 2.0.0 through 2.2.4 inclusive, Nautobot fails to restrict these listings based on the member object permissions - for example a Dynamic Group of Device objects will list all Devices that it contains, regardless of the user's `dcim.view_device` permissions or lack thereof. This issue has been fixed in Nautobot versions 1.6.23 and 2.2.5. Users are advised to upgrade. This vulnerability can be partially mitigated by removing `extras.view_dynamicgroup` permission from users however a full fix will require upgrading.
Affected products
Nautobot. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Networktocode Nautobot runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/nautobot/nautobot/pull/5757 · Patch
- github.com/nautobot/nautobot/pull/5762 · Patch
- github.com/nautobot/nautobot/security/advisories/GHSA-qmjf-wc2h-6x3q · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2024-36112
- github.com/nautobot/nautobot/commit/3a63aa1327f943b2ac8452757ea2e4d403387ad6
- github.com/nautobot/nautobot/commit/4d1ff2abe2775b0a6fb16e6d1d503a78226a6f8e
- github.com/pypa/advisory-database/tree/main/vulns/nautobot/PYSEC-2024-166.yaml
- github.com/advisories/GHSA-qmjf-wc2h-6x3q
- nvd.nist.gov/vuln/detail/CVE-2024-36112
- cve.org/CVERecord?id=CVE-2024-36112
More vulnerabilities in Networktocode products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.