CVE-2023-46128 Exposure of hashed user passwords via REST API in Nautobot

Medium 6.5 Published Updated

Authenticated users can access hashed user passwords via specific REST API endpoints, exposing sensitive credential data.

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-46128?

CVE-2023-46128 is a medium-severity vulnerability in nautobot, published on 24 Oct 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Nautobot is a Network Automation Platform built as a web application atop the Django Python framework with a PostgreSQL or MySQL database. In Nautobot 2.0.x, certain REST API endpoints, in combination with the `?depth=<N>` query parameter, can expose hashed user passwords as stored in the database to any authenticated user with access to these endpoints. The passwords are not exposed in plaintext. This vulnerability has been patched in version 2.0.3.

Weakness: CWE-312, CWE-200

Which versions are affected by CVE-2023-46128?

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

PackageAffectedFixed in
nautobot PyPIFrom 2.0.02.0.3
nautobot PyPIFrom 2.0.02.0.3
nautobot PyPIFrom 2.0.02.0.3

Products include Networktocode Nautobot.

How do I fix CVE-2023-46128?

Upgrade nautobot to 2.0.3 or later.

Is CVE-2023-46128 being exploited?

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

Sources

Also known as GHSA-r2hw-74xv-4gqp, PYSEC-2023-220.

Is CVE-2023-46128 in your software?

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

Check your SBOMs for free