CWEweakness
CWE-927 Use of Implicit Intent for Sensitive Communication
- Abstraction
- Variant
- Structure
- Simple
- Status
- Incomplete
- Languages
- Not Language-Specific
- CWE version
- 5.0
Description
The Android application uses an implicit intent for transmitting sensitive data to other applications.
Extended description
Since an implicit intent does not specify a particular application to receive the data, any application can process the intent by using an Intent Filter for that intent. This can allow untrusted applications to obtain sensitive data. There are two variations on the standard broadcast intent, ordered and sticky.
Ordered broadcast intents are delivered to a series of registered receivers in order of priority as declared by the Receivers. A malicious receiver can give itself a high priority and cause a denial of service by stopping the broadcast from propagating further down the chain. There is also the possibility of malicious data modification, as a receiver may also alter the data within the Intent before passing it on to the next receiver. The downstream components have no way of asserting that the data has not been altered earlier in the chain.
Sticky broadcast intents remain accessible after the initial broadcast. An old sticky intent will be broadcast again to any new receivers that register for it in the future, greatly increasing the chances of information exposure over time. Also, sticky broadcasts cannot be protected by permissions that may apply to other kinds of intents.
In addition, any broadcast intent may include a URI that references data that the receiving component does not normally have the privileges to access. The sender of the intent can include special privileges that grant the receiver read or write access to the specific URI included in the intent. A malicious receiver that intercepts this intent will also gain those privileges and be able to read or write the resource at the specified URI.
Common consequences
• Confidentiality: Read Application Data — Other applications, possibly untrusted, can read the data that is offered through the Intent.
• Integrity: Varies by Context — The application may handle responses from untrusted applications on the device, which could cause it to perform unexpected or unauthorized actions.
Potential mitigations
• [Implementation] If the application only requires communication with its own components, then the destination is always known, and an explicit intent could be used.
Detection methods
• Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
Observed examples
• CVE-2022-4903: An Android application does not use FLAG_IMMUTABLE when creating a PendingIntent.
Related
Observed example · CVE (1)
- CVE-2022-4903 A vulnerability was found in CodenameOne 7.0.70. vulnerability
Child of · CWE (2)
Referenced by CVE · weakness (18)
- CVE-2025-48558 In multiple functions of BatteryService.java, there is a possible way to hijack implicit intent intended for system app due to Implicit… vulnerability
- CVE-2023-41817 An improper export vulnerability was reported in the Motorola Phone Calls application that could allow a local attacker to read… vulnerability
- CVE-2023-41820 An implicit intent vulnerability was reported in the Motorola Ready For application that could allow a local attacker to read information… vulnerability
- CVE-2023-41824 An implicit intent vulnerability was reported in the Motorola Phone Calls application that could allow a local attacker to read the calling… vulnerability
- CVE-2023-41826 A PendingIntent hijacking vulnerability in Motorola Device Help (Genie) application that could allow local attackers to access files or… vulnerability
- CVE-2023-41828 An implicit intent export vulnerability was reported in the Motorola Phone application, that could allow unauthorized access to a… vulnerability
- CVE-2024-3108 An implicit intent vulnerability was reported for Motorola’s Time Weather Widget application that could allow a local application to… vulnerability
- CVE-2024-3480 An Implicit intent vulnerability was reported in the Motorola framework that could allow an attacker to read telephony-related data. vulnerability
- CVE-2023-47889 The Android application BINHDRM26 com.bdrm.superreboot 1.0.3, exposes several critical actions through its exported broadcast receivers. vulnerability
- CVE-2023-44122 The vulnerability is to theft of arbitrary files with system privilege in the LockScreenSettings ("com.lge.lockscreensettings") app in the… vulnerability
- CVE-2023-44124 The vulnerability is to theft of arbitrary files with system privilege in the Screen recording ("com.lge.gametools.gamerecorder") app in… vulnerability
- CVE-2023-44127 he vulnerability is that the Call management ("com.android.server.telecom") app patched by LG launches implicit intents that disclose… vulnerability
- CVE-2023-31014 NVIDIA GeForce Now for Android contains a vulnerability in the game launcher component, where a malicious application on the same device… vulnerability
- CVE-2022-4903 A vulnerability was found in CodenameOne 7.0.70. vulnerability
- CVE-2022-33733 Sensitive information exposure in onCharacteristicRead in Charm by Samsung prior to version 1.2.3 allows attacker to get bluetooth… vulnerability
- CVE-2022-33734 Sensitive information exposure in onCharacteristicChanged in Charm by Samsung prior to version 1.2.3 allows attacker to get bluetooth… vulnerability
- CVE-2022-36829 PendingIntent hijacking vulnerability in releaseAlarm in Charm by Samsung prior to version 1.2.3 allows local attackers to access files… vulnerability
- CVE-2022-36830 PendingIntent hijacking vulnerability in cancelAlarmManager in Charm by Samsung prior to version 1.2.3 allows local attackers to access… vulnerability
Referenced by OWASP · mapped cwe (1)
- A04:2021 Insecure Design Top 10 2021