CVE-2023-45151 OAuth2 client_secret stored in plain text in the Nextcloud database

Medium 6.5 Published Updated

Nextcloud stored OAuth2 client secrets in plaintext, allowing attackers with server access to potentially elevate privileges.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-45151?

CVE-2023-45151 is a medium-severity vulnerability in Nextcloud Nextcloud Server, published on 16 Oct 2023. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Nextcloud server is an open source home cloud platform. Affected versions of Nextcloud stored OAuth2 tokens in plaintext which allows an attacker who has gained access to the server to potentially elevate their privilege. This issue has been addressed and users are recommended to upgrade their Nextcloud Server to version 25.0.8, 26.0.3 or 27.0.1. There are no known workarounds for this vulnerability.

Weakness: CWE-312

Which versions are affected by CVE-2023-45151?

It affects 1 product.

Products include Nextcloud Nextcloud Server.

How do I fix CVE-2023-45151?

No fix has been published for CVE-2023-45151 yet. Limit exposure of the affected software until one is available.

Is CVE-2023-45151 being exploited?

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

All Nextcloud Nextcloud Server vulnerabilities

Sources

Also known as GHSA-hhgv-jcg9-p4m9.

Is CVE-2023-45151 in your software?

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

Check your SBOMs for free