Vulnerability · Published Nov 21, 2023 · Assigned by GitHub_M
CVE-2023-48305Nextcloud Server user_ldap app logs user passwords in the log file on level debug
Medium 4.2
In plain English
A medium-severity security flaw in security-advisories from nextcloud. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities).
Official description
Nextcloud Server provides data storage for Nextcloud, an open source cloud platform. Starting in version 25.0.0 and prior to versions 25.0.11, 26.0.6, and 27.1.0 of Nextcloud Server and Nextcloud Enterprise Server, when the log level was set to debug, the user_ldap app logged user passwords in plaintext into the log file. If the log file was then leaked or shared in any way the users' passwords would be leaked. Nextcloud Server and Nextcloud Enterprise Server versions 25.0.11, 26.0.6, and 27.1.0 contain a patch for this issue. As a workaround, change config setting `loglevel` to `1` or higher (should always be higher than 1 in production environments).
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| nextcloud | security-advisories | >= 25.0.0, < 25.0.11>= 26.0.0, < 26.0.6>= 27.0.0, < 27.1.0 |
Weakness: CWE-312 · Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
References
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-35p6-4992-w5fr x_refsource_CONFIRM
- https://github.com/nextcloud/server/issues/38461 x_refsource_MISC
- https://github.com/nextcloud/server/pull/40013 x_refsource_MISC
- https://hackerone.com/reports/2101165 x_refsource_MISC