Web APIs in Android through the Lens of Security
Title | Web APIs in Android through the Lens of Security |
Publication Type | Conference Paper |
Year of Publication | 2020 |
Authors | Gadient, P., Ghafari, M., Tarnutzer, M., Nierstrasz, O. |
Conference Name | 2020 IEEE 27th International Conference on Software Analysis, Evolution and Reengineering (SANER) |
Date Published | Feb. 2020 |
Publisher | IEEE |
ISBN Number | 978-1-7281-5143-4 |
Keywords | Android apps, API, API service providers, APIs, application program interfaces, application programming interface, communication, communication libraries, compositionality, Internet, JSON data schemas, Mobile Apps, mobile computing, network communication, network libraries, open-source apps, pubcrawl, public domain software, resilience, Resiliency, security, security of data, telecommunication security, Web API URLs, Web APIs, web communication |
Abstract | Web communication has become an indispensable characteristic of mobile apps. However, it is not clear what data the apps transmit, to whom, and what consequences such transmissions have. We analyzed the web communications found in mobile apps from the perspective of security. We first manually studied 160 Android apps to identify the commonly-used communication libraries, and to understand how they are used in these apps. We then developed a tool to statically identify web API URLs used in the apps, and restore the JSON data schemas including the type and value of each parameter. We extracted 9714 distinct web API URLs that were used in 3 376 apps. We found that developers often use the java.net package for network communication, however, third-party libraries like OkHttp are also used in many apps. We discovered that insecure HTTP connections are seven times more prevalent in closed-source than in open-source apps, and that embedded SQL and JavaScript code is used in web communication in more than 500 different apps. This finding is devastating; it leaves billions of users and API service providers vulnerable to attack. |
URL | https://ieeexplore.ieee.org/document/9054850 |
DOI | 10.1109/SANER48275.2020.9054850 |
Citation Key | gadient_web_2020 |
- network communication
- web communication
- Web APIs
- Web API URLs
- telecommunication security
- security of data
- security
- Resiliency
- resilience
- public domain software
- pubcrawl
- open-source apps
- network libraries
- Android apps
- mobile computing
- Mobile Apps
- JSON data schemas
- internet
- Compositionality
- communication libraries
- communication
- application programming interface
- application program interfaces
- APIs
- API service providers
- API