Too Much Accessibility is Harmful! Automated Detection and Analysis of Overly Accessible Elements in Mobile Apps

Mobile apps, an essential technology in today’s world, should provide equal access to all, including 15% of the world population with disabilities. Assistive Technologies (AT), with the help of Accessibility APIs, provide alternative ways of interaction with apps for disabled users who cannot see or touch the screen. Prior studies have shown that mobile apps are prone to the under-access problem, i.e., a condition in which functionalities in an app are not accessible to disabled users, even with the use of ATs. We study the dual of this problem, called the over-access problem, and defined as a condition in which an AT can be used to gain access to functionalities in an app that are inaccessible otherwise. Over-access has severe security and privacy implications, allowing one to bypass protected functionalities using ATs, e.g., using VoiceOver to read notes on a locked phone. Over-access also degrades the accessibility of apps by presenting to disabled users information that is actually not intended to be available on a screen, thereby confusing and hindering their ability to effectively navigate. In this work, we first empirically study overly accessible elements in Android apps and define a set of conditions that can result in over-access problem. We then present OverSight, an automated framework that leverages these conditions to detect overly accessible elements and verifies their accessibility dynamically using an AT. Our empirical evaluation of OverSight on real-world apps demonstrates OverSight’s effectiveness in detecting previously unknown security threats, workflow violations, and accessibility issues.

How does OverSight work?

OverSight consists of two main components: OADetector and OAVerifier. OADetector gets a window’s content specification in XML along with its screenshot through OverSight Service (OSS). OSS runs in the background, dumps a hierarchical representation of nodes in an XML file, and enables communication with the device through broadcast messages. OADetector analyzes nodes on the window and returns OverAccessibility Smells, i.e., nodes that meet one of the conditions derived from our empirical study. Confirming overaccessibility issues in these nodes is the responsibility of OAVerifier. Our approach only relies on available information to Accessibility Services; therefore, it is applicable to any app regardless of its technology or even if it is obfuscated. OAVerifier communicates with the device and explores the window with an AT to validate the reachability and actionability of overaccessibility smells. OverSight also visualizes overaccessibility smells as well as OA elements on the screenshot along with their specification for developers.

[Oversight picture]

Artifacts

The artifacts are publicly available here.

Publications

More details about can be found in our publication below:


[seal's logo]
[uci's logo]