Security Resilience

CVE-2023-28834

Nextcloud Server 23.0.0 – 23.0.14

Public PoC
Published
03 April 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 3.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N
EPSS Score 0.0081 58th percentile
Risk Priority 34 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-28834 is a low-severity Improper Removal of Sensitive Information Before Storage or Transfer (CWE-212) vulnerability in Nextcloud Server. Its CVSS base score is 3.5 (Low).

Operationally, exploitation aligns with the MITRE ATT&CK technique Account Discovery (T1087); ranked in the top 42% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

EU & UK References

Vulnerability Data

Nextcloud Server is an open source personal cloud server. Nextcloud Server 24.0.0 until 24.0.6 and 25.0.0 until 25.0.4, as well as Nextcloud Enterprise Server 23.0.0 until 23.0.11, 24.0.0 until 24.0.6, and 25.0.0 until 25.0.4, have an information disclosure vulnerability. A…

more

user was able to get the full data directory path of the Nextcloud server from an API endpoint. By itself this information is not problematic as it can also be guessed for most common setups, but it could speed up other unknown attacks in the future if the information is known. Nextcloud Server 24.0.6 and 25.0.4 and Nextcloud Enterprise Server 23.0.11, 24.0.6, and 25.0.4 contain patches for this issue. There are no known workarounds.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1087 Account Discovery Discovery
Adversaries may attempt to get a listing of valid accounts, usernames, or email addresses on a system or within a compromised environment.
T1589 Gather Victim Identity Information Reconnaissance
Adversaries may gather information about the victim's identity that can be used during targeting.
T1589.001 Credentials Reconnaissance
Adversaries may gather credentials that can be used during targeting.
T1589.002 Email Addresses Reconnaissance
Adversaries may gather email addresses that can be used during targeting.
T1590.004 Network Topology Reconnaissance
Adversaries may gather information about the victim's network topology that can be used during targeting.
T1591.001 Determine Physical Locations Reconnaissance
Adversaries may gather the victim's physical location(s) that can be used during targeting.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-66510Same product: Nextcloud Nextcloud Server
CVE-2023-48305Same product: Nextcloud Nextcloud Server
CVE-2023-45151Same product: Nextcloud Nextcloud Server
CVE-2024-52525Same product: Nextcloud Nextcloud Server
CVE-2024-52520Same product: Nextcloud Nextcloud Server
CVE-2023-48302Same product: Nextcloud Nextcloud Server
CVE-2023-48301Same product: Nextcloud Nextcloud Server
CVE-2025-66512Same product: Nextcloud Nextcloud Server
CVE-2025-47791Same product: Nextcloud Nextcloud Server
CVE-2023-25162Same product: Nextcloud Nextcloud Server

Affected Assets

nextcloud
nextcloud server
23.0.0 — 23.0.14 · 24.0.0 — 24.0.10 · 24.0.0 — 24.0.10

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)
  • 5 hardening rules · 3 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V14.2.8
  • V14.3.3

Likely Mitigating Controls

Our mappings. Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-212

Eradication of spilled information from contaminated systems mitigates the effects of improper removal of sensitive data before storage or transfer.

addresses: CWE-212

The control requires verified removal of sensitive data before media is made available at a reduced classification level, directly addressing improper removal prior to storage or transfer.

addresses: CWE-212

Explicit procedures to delete inaccurate or outdated PII directly mitigate improper removal of sensitive information before storage or transfer.

addresses: CWE-212

Retention policies enforce removal or sanitization of sensitive data before storage or transfer per regulatory requirements.

addresses: CWE-212

The explicit requirement to delete inaccurate/outdated PII implements proper removal of sensitive information before further storage or transfer.

addresses: CWE-212

The control implements proper removal of sensitive information before storage or transfer of datasets.

addresses: CWE-212

The generate-on-demand-and-delete requirement enforces removal of sensitive information before storage or transfer, preventing improper retention.

addresses: CWE-212

Requires explicit removal of sensitive information prior to component transfer or disposal, reducing exposure from retained data.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.DS-10 mostly match
blocks

Directly addresses removal of confidential data from process memory and similar in-use contexts before exposure.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

blocks

Information-transfer rules can require sanitization of sensitive content before sharing.

A.8.11 Data masking partial match
removes

A.8.11 mandates data masking techniques including anonymization and deletion, which can remove sensitive information from resources before sharing and thus address some instances of CWE-212; however, its primary focus is access-time masking for queries and displays rather than scrubbing resources (documents, packets, headers, metadata) before transfer, so manifestations like EXIF data in images or internal IPs in headers fall outside its reach.

blocks

A.8.12's DLP tools detect and block transmission of sensitive content through monitored channels (email, file transfers, uploads to untrusted services), which stops exploitation of CWE-212 along those paths, but the weakness remains in the product and many disclosure vectors (API responses, channels DLP does not inspect, metadata patterns DLP does not parse) are outside the control's reach.

prevents

Secure-coding standards can mandate removal of secrets and PII from code and logs.

finds

A.8.29's combined programme of static analysis, dynamic testing, and penetration testing can discover instances of CWE-212 where sensitive data is improperly left in a resource before transfer, but the weakness is often a subtle design or implementation flaw in data handling logic that is difficult to surface through standard security testing unless specific test cases for data scrubbing are defined, making discovery a minority share of latent instances.

prevents

A.8.30 carries its effect through the secure-development practices (8.25-8.29) its contract requires of the supplier, so a faithfully implemented clause reduces regular software CWEs like CWE-212 (a code-level failure to scrub sensitive data before sharing) the way those practices do, but the mechanism is human practice and is fallible, capping the effect at the clause's declared ceiling of `partial`.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.

Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.

Oracle Linux 8 (2 rules, 1 more partial)
  • V-248579 OL 8 must restrict access to the kernel message buffer. blocks CWE-212
  • V-248580 OL 8 must prevent kernel profiling by unprivileged users. blocks CWE-212
  • V-248551 A sticky bit must be set on all OL 8 public directories to prevent unauthorized and unintended information transferred via shared system resources. blocks CWE-212
Oracle Linux 9 (1 partial rule)
  • V-271745 OL 9 must restrict access to the kernel message buffer. blocks CWE-212
RHEL 8 (1 partial rule)
  • V-230269 RHEL 8 must restrict access to the kernel message buffer. blocks CWE-212

References