Security Resilience

CVE-2025-34171

Access Control in Icewhale Casaos ≤ 0.4.15

Public PoCAccess Control
Published
02 January 2026
Modified
07 October 2026
Patch / advisory
CVSS Score v4 6.9
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0068 54th percentile
Risk Priority 42 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-2025-34171 is a medium-severity Exposure of Sensitive System Information to an Unauthorized Control Sphere (CWE-497) vulnerability in Icewhale Casaos. Its CVSS base score is 6.9 (Medium).

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

The strongest mitigations our analysis identified map to AC-24 (Access Control Decisions) and AC-25 (Reference Monitor) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

CasaOS versions up to and including 0.4.15 expose multiple unauthenticated endpoints that allow remote attackers to retrieve sensitive configuration files and system debug information. The /v1/users/image endpoint can be abused with a user-controlled path parameter to access files under /var/lib/casaos/1/,…

more

which reveals installed applications and configuration details. Additionally, /v1/sys/debug discloses host operating system, kernel, hardware, and storage information. The endpoints also return distinct error messages, enabling file existence enumeration of arbitrary paths on the underlying host filesystem. This information disclosure can be used for reconnaissance and to facilitate targeted follow-up attacks against services deployed on the host.

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.
T1518 Software Discovery Discovery
Adversaries may attempt to get a listing of software and software versions that are installed on a system or in a cloud environment.
T1528 Steal Application Access Token Credential Access
Adversaries can steal application access tokens as a means of acquiring credentials to access remote systems and resources.
T1592 Gather Victim Host Information Reconnaissance
Adversaries may gather information about the victim's hosts that can be used during targeting.
T1592.002 Software Reconnaissance
Adversaries may gather information about the victim's host software that can be used during targeting.
T1592.004 Client Configurations Reconnaissance
Adversaries may gather information about the victim's client configurations 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-2024-1809Shared CWE-497, CWE-862
CVE-2023-49979Shared CWE-862
CVE-2023-22858Shared CWE-862
CVE-2025-58753Shared CWE-862
CVE-2023-38510Shared CWE-862
CVE-2024-1771Shared CWE-862
CVE-2025-1657Shared CWE-862
CVE-2025-23776Shared CWE-862
CVE-2025-58460Shared CWE-862
CVE-2024-5940Shared CWE-862

Affected Assets

icewhale
casaos
≤ 0.4.15

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 · 4 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V14.1.2

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Enforces approved authorizations for logical access, directly stopping unauthorized actors from reaching sensitive system information.

AC-24 mandates that access control decisions are applied to each request, preventing bypass of authorization logic.

AC-25 requires a tamperproof, always-invoked reference monitor that ensures authorization checks cannot be omitted.

Enforces information flow policies that block sensitive system data from crossing into unauthorized control spheres.

Limits privileges so that only the minimum necessary access is granted, reducing the chance of exposing system-level details.

Controls communications at external and key internal boundaries to keep sensitive system information inside authorized spheres.

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 access permissions directly prevents unauthorized actors from reaching sensitive system information.

PR.IR-01 mostly match
blocks

Protecting environments from unauthorized logical access stops exposure of internal system details to outsiders.

PR.PS-06 partial match
blocks

Secure-development practices reduce the chance of code paths that leak sensitive system information.

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.

finds

A.8.29's SOURCE+RUNTIME programme (SAST, code review, penetration testing, dynamic testing) reaches the bulk of CWE-497 instances — the patterns are literal in source (e.printStackTrace, getenv+output, system() exposing process info, connection strings in logs) and observable at runtime by triggering errors; the remainder is nameable (subtle disclosures via timing, response-size differences, or complex conditional logic that don't match obvious patterns).

finds

By requiring competent outsiders to verify that every function enforces the need-to-know principle, the control lowers the likelihood that missing authorization checks persist undetected.

prevents

Training developers to avoid exposing system information in error messages, debug output, and diagnostic functions reduces some instances of CWE-497, but as a fallible human practice it cannot reach the bulk of cases the way a mechanism-based control can.

prevents

A.8.28's secure coding guidance directly addresses this implementation defect — prohibiting insecure design techniques, removing programming defects, and analysing common programming errors would cover not exposing stack traces, environment variables, or system paths in error output — but the clause mandates a practice whose effect depends on developer rigour, so it catches a minority of instances, consistent with the A.8.28 ceiling on coding defects.

blocks

A.8.3's purpose is to ensure only authorized access, and its guidance directly mandates the authorization checks that CWE-862 describes as missing, so a well-implemented access restriction control fully blocks exploitation of the missing authorization weakness.

prevents

A.8.30 carries its effect through the secure design, coding and testing practices (8.25–8.29) it contractually requires of the supplier, and those practices cover not exposing system information in error messages, debug output or exception handlers — the same mechanism that graded A.8.30 -> CWE-134 `partial` and A.8.28 -> CWE-79 `partial`; the clause reduces instances but the practices are fallible and the ceiling for A.8.30 on this verb is `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 partial rules)
  • 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-497
  • V-248580 OL 8 must prevent kernel profiling by unprivileged users. blocks CWE-497
RHEL 8 (1 rule)
  • V-230270 RHEL 8 must prevent kernel profiling by unprivileged users. blocks CWE-497
Ubuntu 22.04 (1 partial rule)
  • V-260470 Ubuntu 22.04 LTS, when booted, must require authentication upon booting into single-user and maintenance modes. blocks CWE-497
Ubuntu 24.04 (1 partial rule)
  • V-270675 Ubuntu 24.04 LTS when booted must require authentication upon booting into single-user and maintenance modes. blocks CWE-497

References