Security Resilience

CVE-2023-28647

Auth Bypass in Nextcloud ≤ 4.7.0

Published
30 March 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 4.4
Click a component to see what it means
Raw vectorCVSS:3.1/AV:P/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L
EPSS Score 0.0028 21th percentile
Risk Priority 33 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-28647 is a medium-severity Improper Preservation of Permissions (CWE-281) vulnerability in Nextcloud. Its CVSS base score is 4.4 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique NTDS (T1003.003); ranked at the 21th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

Nextcloud iOS is an ios application used to interface with the nextcloud home cloud ecosystem. In versions prior to 4.7.0 when an attacker has physical access to an unlocked device, they may enable the integration into the iOS Files app…

more

and bypass the Nextcloud pin/password protection and gain access to a users files. It is recommended that the Nextcloud iOS app is upgraded to 4.7.0. There are no known workarounds for this vulnerability.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1003.003 NTDS Credential Access
Adversaries may attempt to access or create a copy of the Active Directory domain database in order to steal credential information, as well as obtain other information about domain members such as devices, users, and access rights.
T1213 Data from Information Repositories Collection
Adversaries may leverage information repositories to mine valuable information.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-28646Same product: Nextcloud Nextcloud
CVE-2023-49790Same product: Nextcloud Nextcloud
CVE-2024-22402Same vendor: Nextcloud
CVE-2024-22401Same vendor: Nextcloud
CVE-2024-22404Same vendor: Nextcloud
CVE-2023-25817Same vendor: Nextcloud
CVE-2024-37882Same vendor: Nextcloud
CVE-2023-28999Same product: Nextcloud Nextcloud
CVE-2026-45283Same vendor: Nextcloud
CVE-2025-47790Same vendor: Nextcloud

Affected Assets

nextcloud
nextcloud
≤ 4.7.0

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 · 2 OS baselines
Validate
Prove the fix (OWASP ASVS)

—

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-287

Detects unauthorized successful logons resulting from improper authentication implementations.

addresses: CWE-287

Documented procedures ensure personnel are trained on authentication mechanisms, tangibly lowering the risk of improper authentication being exploited.

addresses: CWE-287

Security awareness training instructs users on secure authentication practices and avoiding credential compromise.

addresses: CWE-287

Training on authentication mechanisms and best practices decreases the occurrence of improper authentication.

addresses: CWE-287

Non-repudiation requires strong authentication mechanisms to irrefutably attribute performed actions to specific individuals or processes.

addresses: CWE-287

Session content review can reveal authentication bypasses or failures in session establishment.

addresses: CWE-287

Review of authentication-related audit records can detect improper authentication mechanisms or bypasses.

addresses: CWE-287

Assessments check authentication mechanisms for correct implementation and effectiveness, reducing successful authentication bypass attempts.

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.AA-05 mostly match
blocks

Enforcing least-privilege permission policies and reviews directly prevents incorrect permission propagation on copy/restore/share operations.

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

Mandating segregated approval and oversight for non-human identities reduces the chance that weak or orphaned credentials can be exploited for unauthorized authentication.

prevents

Training raises developer awareness of secure permission handling during file operations, which keeps some instances of CWE-281 from being written, but the weakness is a specific implementation defect and the training is general awareness rather than targeted secure-coding practice, so it moves a minority of instances.

prevents

A.8.28 mandates secure coding practices (developer qualification, peer review, testing, analysis of common programming errors) that would catch some instances of permission-preservation defects, but the clause establishes a practice rather than a mechanism, and CWE-281 is a specific implementation defect requiring careful API selection and attention to permission semantics that the clause does not mandate directly.

prevents

A.8.30 carries its effect through the secure design, coding and testing practices (8.25–8.29) its contract requires of the supplier, so it reduces ordinary software implementation weaknesses like CWE-281 the same way those practices do, at `partial` — the clause's declared ceiling on this verb.

blocks

A.8.5 mandates secure authentication techniques, multi-factor authentication, and log-on procedures that directly prevent unauthorized access, fully blocking exploitation of improper authentication weaknesses.

finds

A.8.8's reach is disclosure-based (vulnerability scanning, vendor advisories, CVE-driven detection), and CWE-281 is primarily a first-party implementation defect in how products handle permissions during copy/restore/share operations; the disclosed share (the CVE examples cited) is a minority of latent instances, so A.8.8 finds that minority and not the bulk.

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.

Windows Server 2019 (1 rule)
  • V-205743 Windows Server 2019 organization created Active Directory Organizational Unit (OU) objects must have proper access control permissions. blocks CWE-281

References