arXiv:2611.00594cs.CROct 2026

Manuscript Offprint

arXiv:2611.00594

Beyond Sensitive APIs: Detecting Access Control Flaws at Sensitive Callsites in Android Firmware

Haotian Deng, Meng Hao, Hanxiao Chen, Xinyuan Qian, Guowen Xu, Hongwei Li, Chaoshun Zuo

Haotian Deng, Meng Hao, Hanxiao Chen, Xinyuan Qian, Guowen Xu, Hongwei Li ®^{\circledR}, Chaoshun Zuo ®^{\circledR}

University of Electronic Science and Technology of China

h.deng@std.uestc.edu.cn, menghao303@gmail.com, xinyuanqian@outlook.com,

{hanxiao.chen, guowen.xu, hongweili, chaoshun.zuo}@uestc.edu.cn

Abstract—Existing studies of vulnerable pre-installed Android apps identify dangerous behavior by checking whether an app invokes an API from a predefined set of security-sensitive APIs. These sets usually exclude generic APIs to avoid false positives; unfortunately, this misses a class of vulnerabilities in which a generic API, such as a database read, appears benign in general but becomes security-sensitive when operating on protected data, yet is left without sufficient access control. While this class of vulnerabilities appears addressable via access control analysis, existing studies focus only on the presence of checks, not on whether those checks enforce sufficient protection for the operation at a given callsite. In this work, we propose CALLIX, which first assesses callsite sensitivity by jointly analyzing the invoked API functionality and the data involved in the operation, then recovers each security check on the execution path as an explicit security property, and finally introduces the notion of restriction context to decide whether these checks are sufficient for the identified sensitive operation. We evaluated CALLIX on 1,750 distinct pre-installed apps from the 10 top-tier Android vendors as of 2025. In total, CALLIX discovered 819 vulnerable paths across these vendors, 42.1% of which allow reading or modifying private user data through generic database operations. Manual validation of a random 60% sample shows a precision of 95.1%. Many of our findings have been confirmed and rewarded through vendor bug bounty programs.

I. INTRODUCTION

Android vendors enrich their services with pre-installed apps for system utilities, hardware support, and vendor-specific services [1], [2]. Unlike third-party apps from public markets (e.g., Google Play), these apps often hold elevated privileges and are embedded in the firmware, making them difficult or impossible for users to remove [3], [4]. However, the security consequences of a single vulnerability in pre-installed apps would be amplified across all smartphones shipped by the respective vendor. While numerous approaches have been proposed and have uncovered a wide range of security flaws, including privilege escalation vulnerabilities [4], pre-installed apps remain a highly privileged and persistent attack surface in Android, exposing sensitive data or system capabilities to ordinary third-party apps [4], [5].

®^{\circledR}Corresponding authors.

Among the vulnerabilities continuously reported over the years, a case [6] disclosed by the Polish CERT in mid-2025 raises two limitations that remain largely overlooked in existing studies. In particular, the vulnerable pre-installed app, shipped on popular Android phones, exposes a ContentProvider interface that allows any app on the device to extract the user's PIN code without dedicated permissions. Unfortunately, this vulnerability is difficult to capture with existing analyses for two reasons. First, the vulnerable operation is triggered through a generic provider API that is not inherently security-sensitive and is therefore often excluded from predefined sensitive API sets to avoid false positives [4]. However, such an API could become security-sensitive at a particular callsite when it operates on protected user data, i.e., a user's PIN code. Second, although the vulnerable interface may contain access control logic, existing analyses either ignore such branch conditions [4], [7] or treat them mainly as path constraints for reachability reasoning, such as in symbolic execution [8], [9], [10]. Such reasoning can only establish whether a path is feasible instead of whether the conditions along the path provide sufficient authorization for the sensitive behavior.

Inspired by this newly reported vulnerability, we therefore aim to bridge the gap to detect such insufficient access controls on sensitive callsites in ContentProvider components, an essential interface for data sharing in Android. To this end, we propose CALLIX, a static analysis framework that aims to identify security-sensitive uses of generic system APIs from the operation they perform and the data involved, and determine whether the access controls along each path provide sufficient protection. CALLIX addresses this problem in three stages. First, it identifies sensitive callsites by jointly characterizing the API's operation and the semantics of the data involved, rather than relying on API identity alone. Second, it recovers each access control check from branch conditions as an explicit security property that captures both the intended validation target and the information used for validation. Third, it introduces the notion of restriction context to determine whether recovered checks are sufficient for the identified operation and data.

We implemented a prototype of CALLIX and evaluated it on 50 firmware images from 10 major Android vendors and 1,750 distinct pre-installed apps. CALLIX identifies 819 vulnerable paths across 424 ContentProviders, showing

Network and Distributed System Security (NDSS) Symposium 2027 22–26 March 2027, Seoul, Republic of Korea ISBN 978-1-970672-09-1 https://dx.doi.org/10.14722/ndss.2027.231311 www.ndss-symposium.org that the problem is not a rare corner case confined to isolated apps or vendors. To assess the effectiveness and accuracy of these findings, we manually validate 60%, i.e., 492, randomly sampled paths, where 468 are confirmed true positives, yielding 95.1% precision, and each confirmed path is reproduced with a working proof of concept. We further test whether these advancements stem merely from the underlying LLM by transferring the same static evidence, taxonomies, and sufficiency criteria to a commercial coding agent on a balanced 500-path benchmark. Even on the same claude-opus-5 backend, the transferred formulation remains 6.6 F1 points behind CALLIX, indicating that the criteria alone are insufficient to reproduce CALLIX's performance and that their structured application also matters. Finally, affected vendors have independently confirmed 278 disclosed reports across 98 providers as of this writing, with some subsequently rewarded or remediated. The remaining reports are under review.

To summarize, this work makes the following contributions:

  • A novel problem. We report a new problem: insufficient access control at sensitive callsites in pre-installed ContentProvider components. In contrast to API-level analyses, which only target security-sensitive APIs, we show that a generic API could become sensitive depending on the operation it performs and the data involved at a particular callsite, which has been overlooked in the literature.

  • A new analysis. We propose CALLIX, a static analysis framework that identifies sensitive callsites from operation and data semantics, recovers access control checks as explicit security properties, and introduces the notion of restriction context to evaluate whether the recovered checks provide sufficient protection along each sensitive path.

  • Large-scale empirical findings. We evaluate CALLIX on 1,750 distinct pre-installed apps extracted from 50 firmware images spanning 10 major Android vendors. CALLIX identifies 819 vulnerable paths across 424 ContentProviders. The findings illustrate that the ContentProvider interface exposes functionality far beyond conventional data sharing, reaching privileged system operations that could be exploited for varied malicious purposes. Many of our findings have been confirmed by the corresponding vendors and awarded multiple bug bounties.

References (32)