Vulnerability · Published Dec 22, 2023 · Assigned by GitHub_M
CVE-2023-51649Nautobot missing object-level permissions enforcement when running Job Buttons
Low 3.5
In plain English
A low-severity incorrect authorization in nautobot from nautobot. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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. When submitting a Job to run via a Job Button, only the model-level `extras.run_job` permission is checked (i.e., does the user have permission to run Jobs in general). Object-level permissions (i.e., does the user have permission to run this specific Job?) are not enforced by the URL/view used in this case. A user with permissions to run even a single Job can actually run all configured JobButton Jobs. Fix will be available in Nautobot 1.6.8 and 2.1.0
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | nautobot | 1.6.8 | GHSA-vf5m-xrhm-v999 |
| PyPI | nautobot | 2.1.0 | GHSA-vf5m-xrhm-v999 |
| PyPI | nautobot | 1.6.8, 2.1.0 | PYSEC-2023-287 |
Affected products (as reported)
Weakness: CWE-863 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:L
References
- https://github.com/nautobot/nautobot/security/advisories/GHSA-vf5m-xrhm-v999 x_refsource_CONFIRM
- https://github.com/nautobot/nautobot/issues/4988 x_refsource_MISC
- https://github.com/nautobot/nautobot/pull/4993 x_refsource_MISC
- https://github.com/nautobot/nautobot/pull/4995 x_refsource_MISC