CVE-2024-47154
Executive Summary
CVE-2024-47154 is an information leak vulnerability affecting certain Honor products. The vulnerability allows a local attacker with low privileges to leak sensitive information from the device. The CVSS score is 5.5 (Medium), and the attack vector is local, requiring low privileges and no user interaction. The vulnerability is currently unpatched, and no public proof-of-concept (PoC) or exploit code is available. The EPSS score is 0.0%, indicating a very low probability of exploitation in the wild. This report provides a comprehensive technical analysis, detection engineering rules, and mitigation strategies.
This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.
No signup required
Supply Chain & Package Security
This vulnerability is not related to any open-source package ecosystem (NPM, PyPI, Go, Ruby). It is a firmware-level issue in Honor devices.
CVSS Breakdown & Threat Level
- CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Base Score: 5.5 (Medium)
- Attack Vector (AV): Local (L) – The attacker must have physical or local access to the device.
- Attack Complexity (AC): Low (L) – No special conditions are required.
- Privileges Required (PR): Low (L) – The attacker needs low-level privileges (e.g., a standard user account).
- User Interaction (UI): None (N) – No user action is required.
- Scope (S): Unchanged (U) – The vulnerability does not affect other components.
- Confidentiality (C): High (H) – Sensitive information can be fully disclosed.
- Integrity (I): None (N) – No data modification is possible.
- Availability (A): None (N) – No denial of service.
Threat Level: Medium. The local attack vector reduces the risk of remote exploitation, but the potential for information leakage (e.g., credentials, personal data) makes it a significant concern for enterprise environments with physical device access.
Deep Dive & Mechanics
The vulnerability resides in the firmware of certain Honor devices. The exact component is unknown, but the issue is classified as an information leak. This typically occurs when an application or system service exposes sensitive data through improper access controls, insecure file permissions, or debug interfaces.
Potential Attack Vector:
- An attacker gains local access to the device (e.g., via a malicious app or physical access).
- The attacker exploits the vulnerability to read files, memory, or logs that contain sensitive information (e.g., authentication tokens, encryption keys, personal data).
- The leaked information can be used for further attacks, such as privilege escalation or lateral movement.
Technical Details:
- The vulnerability likely involves a service or daemon running with elevated privileges that fails to restrict access to its data.
- Common patterns include world-readable files in
/proc,/sys, or application data directories. - The attack does not require user interaction, making it stealthy.
Vulnerable vs. Patched Code
No patch is currently available. The following is a hypothetical example of the vulnerable code pattern and a potential fix.
Vulnerable Code (Hypothetical):
// Vulnerable: Exposes sensitive data via a world-readable file
int main() {
FILE *fp = fopen("/data/local/tmp/sensitive_data", "r");
if (fp) {
char buffer[256];
while (fgets(buffer, sizeof(buffer), fp)) {
printf("%s", buffer); // Leaks data to stdout
}
fclose(fp);
}
return 0;
}
Patched Code (Hypothetical):
// Patched: Restrict file permissions and avoid exposing data
int main() {
// Ensure file is only readable by the owner
chmod("/data/local/tmp/sensitive_data", 0600);
FILE *fp = fopen("/data/local/tmp/sensitive_data", "r");
if (fp) {
// Process data internally, do not output to stdout
char buffer[256];
while (fgets(buffer, sizeof(buffer), fp)) {
// Internal processing only
}
fclose(fp);
}
return 0;
}
Exploitation & Lab Setup
Red Team
Objective: Leak sensitive information from a vulnerable Honor device.
Prerequisites:
- Local access to the device (e.g., via ADB or a malicious app).
- Low-privilege user account.
Steps:
- Identify the vulnerable service or file:
# List processes and look for suspicious services ps -A | grep -E "honor|leak" - Attempt to read sensitive files:
# Try to read common sensitive files cat /data/local/tmp/sensitive_data cat /proc/1/environ - If a service is vulnerable, use a script to dump its memory:
# Dump memory of a process (requires root, but may work with low priv) gcore <PID> strings core.<PID> | grep -E "password|token|secret"
No public exploit code is available.
Blue Team
Objective: Detect and prevent exploitation.
Steps:
- Monitor for unauthorized file reads:
- Use auditd to log access to sensitive files.
- Example rule:
auditctl -w /data/local/tmp/ -p r -k sensitive_data_access
- Restrict local access:
- Disable ADB debugging when not in use.
- Use device management policies to prevent installation of untrusted apps.
- Implement file integrity monitoring (FIM) for critical system files.
Indicators of Compromise (IOCs)
- File Paths:
/data/local/tmp/sensitive_data/proc/*/environ/data/system/packages.list
- Process Names:
leak_servicedump_agent
- Network Connections:
- Unusual outbound connections from the device to external IPs (if data is exfiltrated).
- Log Entries:
- Repeated access to
/procor/sysfiles by non-root processes. - Audit logs showing
rpermission on sensitive files.
- Repeated access to
Detection Engineering
YARA Rule
rule Honor_Info_Leak_CVE_2024_47154 {
meta:
description = "Detects potential information leak artifacts on Honor devices"
author = "Valters IT"
date = "2025-04-17"
cve = "CVE-2024-47154"
strings:
$sensitive1 = "password" nocase
$sensitive2 = "token" nocase
$sensitive3 = "secret" nocase
$filepath = "/data/local/tmp/sensitive_data"
condition:
any of ($sensitive*) and $filepath
}
Sigma Rule
title: Honor Information Leak Detection
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects attempts to read sensitive files on Honor devices
author: Valters IT
date: 2025-04-17
logsource:
product: linux
service: auditd
detection:
selection:
type: 'SYSCALL'
syscall: 'open'
key: 'sensitive_data_access'
condition: selection
falsepositives:
- Legitimate system administration
level: medium
Suricata Rule
alert tcp $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2024-47154 Honor Info Leak Exfiltration"; flow:to_server,established; content:"|0d 0a|"; within:100; content:"password"; nocase; sid:1000001; rev:1;)
Remediation & Mitigation
Immediate Actions:
- Isolate affected devices: Disconnect them from sensitive networks until a patch is available.
- Restrict local access: Disable ADB, USB debugging, and untrusted app installations.
- Monitor logs: Enable auditd and monitor for suspicious file access.
Long-term Fix:
- Apply the official patch from Honor when released.
- Implement principle of least privilege for all services.
- Conduct a security audit of the firmware to identify similar vulnerabilities.
Workarounds:
- Use device management solutions (e.g., MDM) to enforce security policies.
- Encrypt sensitive data at rest.
Valters IT
DevSecOps & Cyber Threat Intelligence Expert
What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.