Lucene search

K
githubGitHub Advisory DatabaseGHSA-QMJF-WC2H-6X3Q
HistoryMay 29, 2024 - 6:40 p.m.

Nautobot dynamic-group-members doesn't enforce permission restrictions on member objects

2024-05-2918:40:56
CWE-280
GitHub Advisory Database
github.com
12
nautobot
dynamic group
permission restriction
vulnerability
upgrade
patches
mitigation
dynamicgroup view
device view
rest api
ui view
github
software

6.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

LOW

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N

6.5 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.6%

Impact

What kind of vulnerability is it? Who is impacted?

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.

Patches

Has the problem been patched? What versions should users upgrade to?

Fixed in Nautobot 1.6.23 and 2.2.5.

Workarounds

Is there a way for users to fix or remediate the vulnerability without upgrading?

This vulnerability can be partially mitigated by removing extras.view_dynamicgroup permission from users; a full fix will require upgrading.

References

Are there any links users can visit to find out more?

Affected configurations

Vulners
Node
nautobotnautobot-plugin-device-onboardingRange<2.2.5
OR
nautobotnautobot-plugin-device-onboardingRange<1.6.23
CPENameOperatorVersion
nautobotlt2.2.5
nautobotlt1.6.23

6.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

LOW

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N

6.5 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.6%

Related for GHSA-QMJF-WC2H-6X3Q