CVE-2023-51649 Nautobot missing object-level permissions enforcement when running Job Buttons

Low 3.5 Published Updated

Users with permission to run any job can execute all configured JobButton jobs due to missing object-level permission checks in Nautobot.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-51649?

CVE-2023-51649 is a low-severity missing authorization vulnerability in nautobot, published on 22 Dec 2023. Any signed-in user can exploit it over the network, with no action from the victim.

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

Weakness: CWE-863

Which versions are affected by CVE-2023-51649?

5 open source packages ship an affected version, including nautobot. It affects 1 product.

PackageAffectedFixed in
nautobot PyPIFrom 1.5.141.6.8, 2.1.0
nautobot PyPIFrom 1.5.141.6.8
nautobot PyPIFrom 1.5.141.6.8
nautobot PyPIFrom 2.0.02.1.0
nautobot PyPIFrom 2.0.02.1.0

Products include Networktocode Nautobot.

How do I fix CVE-2023-51649?

Upgrade nautobot to a fixed version for your release line: 1.6.8 or 2.1.0.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2023-51649 being exploited?

There is no known exploitation of CVE-2023-51649 in the wild and no public exploit code.

Sources

Also known as GHSA-vf5m-xrhm-v999, PYSEC-2023-287.

Is CVE-2023-51649 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free