Security Resilience

CVE-2024-57957

Info Disclosure in Huawei Harmonyos 5.0.0

Published
06 February 2025
Modified
17 March 2025
Patch / advisory
CVSS Score v3.1 6.6
Click a component to see what it means
Raw vectorCVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS Score 0.0033 27th percentile
Risk Priority 48 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-2024-57957 is a medium-severity Violation of Secure Design Principles (CWE-657) vulnerability in Huawei Harmonyos. Its CVSS base score is 6.6 (Medium).

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

The strongest mitigations our analysis identified map to AC-5 (Separation of Duties) and AC-6 (Least Privilege) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2024-57957 is a vulnerability involving improper log information control in the UI framework module of Huawei devices. This flaw, associated with CWE-657 (Violation of Secure Design Principles) and CWE-532 (Insertion of Sensitive Information into Log File), was published on February 6, 2025, and carries a CVSS v3.1 base score of 6.6 (AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).

Exploitation requires physical access to the device (AV:P), low attack complexity, no privileges (PR:N), and user interaction (UI:R), such as tricking a user into performing a specific action. Successful attacks can result in high-impact confidentiality, integrity, and availability consequences, with the primary effect being disruption to service confidentiality as sensitive log information is improperly controlled.

Huawei has issued a support bulletin detailing the vulnerability at https://consumer.huawei.com/en/support/bulletin/2025/2/, which security practitioners should consult for mitigation guidance and available patches.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

Vulnerability of improper log information control in the UI framework module Impact: Successful exploitation of this vulnerability may affect service confidentiality.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1078.003 Local Accounts Stealth
Adversaries may obtain and abuse credentials of a local account as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
T1552 Unsecured Credentials Credential Access
Adversaries may search compromised systems to find and obtain insecurely stored credentials.
T1552.001 Credentials In Files Credential Access
Adversaries may search local file systems and remote file shares for files containing insecurely stored credentials.
T1552.003 Shell History Credential Access
Adversaries may search the command history on compromised systems for insecurely stored credentials.
T1552.007 Container API Credential Access
Adversaries may gather credentials via APIs within a containers environment.
T1589.001 Credentials Reconnaissance
Adversaries may gather credentials 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-2023-41308Same product: Huawei Harmonyos
CVE-2024-51528Same product: Huawei Harmonyos
CVE-2024-58050Same product: Huawei Harmonyos
CVE-2024-58046Same product: Huawei Harmonyos
CVE-2025-48911Same product: Huawei Harmonyos
CVE-2024-51514Same product: Huawei Harmonyos
CVE-2026-34850Same product: Huawei Harmonyos
CVE-2026-34856Same product: Huawei Harmonyos
CVE-2024-27895Same product: Huawei Harmonyos
CVE-2024-56443Same product: Huawei Harmonyos

Affected Assets

huawei
harmonyos
5.0.0

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Explicitly requires application of security and privacy engineering principles throughout the lifecycle, structurally preventing their violation.

Separation of duties is a core secure design principle whose mandated implementation directly stops the violation from occurring.

Least privilege is a fundamental secure design principle whose enforcement prevents the violation from being introduced.

Mandates separation of user and system functionality, a classic secure design principle that stops the violation at design time.

Requires isolation of security functions, directly preventing violation of that established design principle.

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.PS-06 mostly match
blocks

Secure SDLC practices directly prohibit writing sensitive data to logs; eliminating the weakness satisfies only one narrow slice of the control.

PR.PS-04 partial match
blocks

Log generation configuration can and should exclude sensitive data, but the control statement focuses on availability rather than content filtering.

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

Security testing can detect violations of secure design principles before release.

blocks

A.5.15 mandates that access control rules be defined and implemented on assets including log files (it explicitly references logging under 8.15 and requires access rights and restrictions to be mapped to entities), so a well-implemented policy restricts who can read the log and blocks the exploitation; the actual enforcement, however, is performed by the access control implementation (A.8.3 and related), not by A.5.15 itself, which sits one step removed as the policy that requires the blocking to be set up.

prevents

Awareness training makes personnel aware of responsibilities but does not prevent a developer from writing sensitive data into a log file, which is a design or implementation choice the clause does not reach.

prevents

A.8.28 mandates secure coding practices that include guidance on what not to log (sensitive data is exactly the kind of 'common and historical coding practice' the clause names), but the mechanism is human practice — developers must know what counts as sensitive, redact it, and apply that consistently across error paths and third-party libraries. This is the same practice-not-mechanism reading that graded A.8.28 -> CWE-79 and A.8.28 -> CWE-502 at `partial`, and the clause carries a declared ceiling of `partial` on this verb for code-level defects.

blocks

A.8.3 restricts who may access information that exists, but CWE-532 is about the product writing sensitive information into a log file in the first place; access restriction does not stop the log entry from being created or read by an attacker who reaches the log through a different path.

prevents

A.8.30 carries secure coding practices (8.28) into outsourced work via contract, and secure coding guidance typically addresses what should not be logged, so a faithful implementation reduces instances of CWE-532 in delivered code; the ceiling is `partial` because the effect depends on the rigour of the contracted practice and the clause's own ceiling on this verb is `partial` (per the CWE-134 anchor).

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-657, a class-level weakness. Rules are authored against its narrower children: CWE-250, CWE-654.

References