CVE-2023-48305 Nextcloud Server user_ldap app logs user passwords in the log file on level debug
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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).
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| nextcloud server | >= 25.0.0, < 25.0.11; >= 26.0.0, < 26.0.6; >= 27.0.0, < 27.1.0 | 25.0.11, 26.0.6, 27.1.0 | Fixed |
| Nextcloud security-advisories | = >= 25.0.0, < 25.0.11; = >= 26.0.0, < 26.0.6; = >= 27.0.0, < 27.1.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Nextcloud security-advisories | = >= 25.0.0, < 25.0.11 | No fix listed |
| Nextcloud security-advisories | = >= 26.0.0, < 26.0.6 | No fix listed |
| Nextcloud security-advisories | = >= 27.0.0, < 27.1.0 | No fix listed |
| nextcloud server | >= 25.0.0, < 25.0.11 | 25.0.11 |
| nextcloud server | >= 26.0.0, < 26.0.6 | 26.0.6 |
| nextcloud server | >= 27.0.0, < 27.1.0 | 27.1.0 |
References
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-35p6-4992-w5fr vendor-advisory
- https://github.com/nextcloud/server/issues/38461 exploit issue-tracking
- https://github.com/nextcloud/server/pull/40013 issue-tracking patch
- https://hackerone.com/reports/2101165 exploit third-party-advisory