Technical Details
The Galaxy Store app's EditorialActivity loaded a WebView from a URL that only had to start with a Samsung hostname over plain HTTP, and exposed a JavaScript interface that could install and launch apps. An attacker on the same network could intercept the HTTP response, inject JavaScript, and install and launch any Galaxy Store app without user consent.
F-Secure looked into exploiting the Samsung S20 device for Tokyo Pwn2Own 2020. An exploit chain was found for version 4.5.19.13 of the Galaxy Store application that could have allowed an attacker to install any application on the Galaxy Store without user consent.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Context
Galaxy Store (com.sec.android.app.samsungapps) is Samsung's proprietary application store, pre-installed on Samsung devices. It is a native Android application with a few WebView activities built in, and some of those WebView activities expose JavaScript interfaces to provide extra functionality such as installing and launching applications.
F-Secure examined this application while preparing an entry for Tokyo Pwn2Own 2020, targeting the Samsung S20. The team found an exploit chain in version 4.5.19.13 of Galaxy Store that could have allowed an attacker to install any application from the Galaxy Store without user consent. Samsung patched the vulnerability at the end of September 2020, which removed it as a viable Pwn2Own entry. This write-up covers the technical details of the flaw and how F-Secure intended to exploit it before the patch.
Setup
The target was the Galaxy Store application, version 4.5.19.13, on a Samsung S20. The activity F-Secure intended to use was com.sec.android.app.samsungapps.slotpage.EditorialActivity. According to the report, this activity could be launched in two ways:
- A browsable intent link.
- An NFC tag.
No accounts, credentials or special tooling beyond the device, a prepared NFC tag and a position on the network path are described.
Finding it
At runtime, EditorialActivity loaded a WebView and checked whether the user-supplied url parameter was considered valid. The parameter was accepted if it started with one of two values:
http://img.samsungapps.com/https://img.samsungapps.com/
The check was implemented as follows:
public boolean isValidUrl(String str) { return str.startsWith("http://img.samsungapps.com/") || str.startsWith("https://img.samsungapps.com/"); }
If the method returned true, the WebView loaded the user-supplied URL and added a JavaScript interface called EditorialScriptInterface. That interface contained two methods of interest: downloadApp and openApp.
The allowlist accepts a plain HTTP prefix, and the page is fetched over cleartext HTTP, so an attacker on the network path can inject JavaScript into the response. Because the same page then receives a privileged JavaScript bridge, that network position translates into the ability to call native store functionality.
Exploitation
Step 1: Get the phone onto an attacker-influenced network
The chain begins with the phone connected to an attacker-controlled WiFi network, or to a public WiFi network on which the attacker resides. This is the precondition for the interception in step 5.
Step 2: Launch Galaxy Store through an NFC tag
The phone scans a prepared NFC tag, which launches the Galaxy Store application. An NFC tag can hold a number of NDEF records for exchanging information with a scanning phone. F-Secure intended to use a tag with the following record:
Record 0: (Media) application/com.sec.android.app.samsungapps.detail http://apps.samsung.com/appquery/EditorialPage.as?url= http://img.samsungapps.com/yaypayloadyay.html
The record is a Media record for the Galaxy Store detail application, carrying a URL to apps.samsung.com whose url parameter points at http://img.samsungapps.com/yaypayloadyay.html.
Step 3: EditorialActivity loads the WebView and the bridge
Galaxy Store automatically launches EditorialActivity, which loads a WebView and adds the JavaScript interface EditorialScriptInterface. The WebView browses to http://img.samsungapps.com/yaypayloadyay.html.
Step 4: The page does not exist, and that is fine
Since http://img.samsungapps.com/yaypayloadyay.html does not exist, the web server responds with a 404 Not Found HTTP error. The important point is that the communication uses cleartext HTTP, so the response body is not protected in transit.
Step 5: Inject JavaScript into the response
A correctly positioned attacker conducts a Man-in-the-Middle (MitM) attack and injects additional JavaScript into the server's HTTP response. The following example code, injected into the response, automatically downloads and installs any application from the Galaxy Store and then triggers the opening of that application:
<script>
function openApp(){
setTimeout(function(){
GalaxyStore.openApp("<packageName>");
},5000);
}
// download and install "<packageName>"
GalaxyStore.downloadApp("<packageName>");
// open "<packagename>" 5 seconds after this page has loaded
openApp();
</script>
The script calls GalaxyStore.downloadApp("<packageName>") to download and install the package, then schedules GalaxyStore.openApp("<packageName>") five seconds later so the freshly installed application is launched.
Step 6: What the bridge methods do
downloadApp takes a string and passes it to another method, e. That method performs the following actions:
- Checks whether the WebView is loaded into a valid URL, using the same
isValidUrlmethod. - Requests to download an app from the Galaxy Store with the same package name as the passed string value.
- If the package is found, downloads and installs the package.
The pseudo code for this process is:
@JavascriptInterfacepublic void downloadApp(String str) { EditorialScriptInterface.this.e(str);}public void e(String str) { if (EditorialActivity.isValidUrl(WebView.getUrl() == false)) { Log.d("Editorial", "Url is not valid" + EditorialActivity.isValidUrl(WebView.getUrl()); return; } String GUID = str; if (Store.search(GUID) == true) { Store.download(GUID); }}
openApp works similarly, passing the string to method d, which:
- Attempts to launch an installed app with the same package name as the supplied string value.
The pseudo code for this process is:
@JavascriptInterfacepublic void openApp(String str) { EditorialScriptInterface.this.d(str);}public void d(String str) { if (EditorialActivity.isValidUrl(WebView.getUrl() == false)) { Log.d("Editorial", "Url is not valid" + this.c.getUrl()); return; } String GUID = str; if (Device.isInstalled(GUID) == true) { Device.openApp(GUID); }}
Both methods re-run the URL check against the WebView's current URL.
Root cause
The allowlist in isValidUrl accepts both http://img.samsungapps.com/ and https://img.samsungapps.com/. Accepting the HTTP scheme means the page loaded into the privileged WebView can be fetched and modified in transit. The JavaScript interface is then attached to whatever that page contains, so injected script inherits the ability to call downloadApp and openApp.
Impact
An attacker in the right network position, with the victim scanning a prepared NFC tag, could install any application from the Galaxy Store without user consent and then launch it. The chain depends on the phone being on an attacker-controlled or shared public WiFi network and on the victim scanning the tag. The report frames this as a chain F-Secure intended to use for Pwn2Own; Samsung patched the issue at the end of September 2020, no longer making it a viable entry.
Fix
Samsung released version 4.5.20.7 of the Galaxy Store application, which changed isValidUrl to:
public boolean isValidUrl(String str) { return str.startsWith("https://img.samsungapps.com/");}
The url parameter must now start with https://img.samsungapps.com/, which makes MitM attacks significantly more difficult. The change affects three things:
- Whether the
EditorialActivityWebView is able to load the user-provided URL. - Whether the
downloadAppJavaScript interface method is allowed to execute. - Whether the
openAppJavaScript interface method is allowed to execute.
The report notes that this new version may not come pre-installed with the October 2020 firmware for Samsung S20 devices. In that case the user must manually open the Galaxy Store application, which then prompts to install a newer version. F-Secure also found that a user still running a vulnerable version, who is never prompted to update, remains exploitable, because launching EditorialActivity skips all update checks that Galaxy Store should run on boot. The recommendation is that all Samsung S20 users, and potentially all Samsung device users in general, open their Galaxy Store application at least once so they are prompted to update.
Variants to test
- HTTP entries in WebView allowlists. Look for
startsWithchecks that accept anhttp://prefix on a host that also serves HTTPS. A positive result is a WebView that loads your cleartext URL and attaches a JavaScript interface to it. - Bridge methods that re-check the URL only by prefix. If a
@JavascriptInterfacemethod validatesWebView.getUrl()with the same prefix check, try hosting your page under the allowed prefix over HTTP. A positive result is the method executing rather than logging "Url is not valid". - Deep links and NFC records that reach privileged activities. Enumerate exported activities reachable through browsable intents or NDEF records and check whether any of them load a URL parameter into a WebView with a bridge. A positive result is an activity that opens your URL without further validation.
- Update checks skipped by direct activity launch. Launch a privileged activity directly rather than through the normal application entry point and observe whether version or update checks still run. A positive result is the activity proceeding on an outdated, vulnerable build.
- Install and launch primitives exposed to JavaScript. Look for bridge methods that take a package name and call store search, download or install, or that launch installed packages. A positive result is a page you control causing an install or launch without a user confirmation prompt.
What happened, in plain words
Samsung phones come with an app called Galaxy Store, which is Samsung's own app shop, the place where you download other apps. A security company called F-Secure was preparing an attack demonstration for a hacking contest called Tokyo Pwn2Own 2020, using a Samsung S20 phone as the target. While studying the Galaxy Store app, they found a way to make a phone install any app from the store without the owner agreeing to it.
The trick relied on two things working together. First, the Galaxy Store app could be told to open a web page, and that web page was allowed to talk to the store app through a special channel that can install and launch apps. Second, the address the store accepted for that page could start with plain http://, which is the unencrypted version of the web. Anyone sitting on the same network as the phone could therefore slip their own instructions into the page as it travelled to the phone, and those instructions would be treated as coming from the store itself.
Samsung fixed the problem at the end of September 2020, before the contest, so the attack was never used there. This article walks through how it worked, step by step, for readers who have never looked at security before.
Context
Galaxy Store is identified inside Android by the package name com.sec.android.app.samsungapps. A package name is the unique identifier an Android app uses, a bit like a postal address: two apps cannot share one. The app is a native Android application, meaning it is written in the phone's own programming language rather than being a website, but it also contains a few WebView activities built in.
A WebView is a small browser window embedded inside an app. Many apps use one to show help pages, offers or news without leaving the app. An activity, in Android terms, is one screen of an app, roughly like one tab or one window. Some of these WebView activities expose JavaScript interfaces, which is the part that matters here.
A JavaScript interface is a bridge between the web page shown in the WebView and the app that hosts it. Normally a web page inside a browser is locked in a sandbox: it can draw things and run scripts, but it cannot install software on your phone. A JavaScript interface deliberately opens a door in that wall, letting the page call specific functions of the app. It is like giving a visitor a key to one cupboard: useful if the visitor is trusted, dangerous if anyone else can pretend to be that visitor. Here the cupboard contained functions to install and launch applications.
F-Secure examined this application while preparing an entry for Tokyo Pwn2Own 2020, targeting the Samsung S20. Pwn2Own is a contest where security researchers demonstrate working attacks on real devices; entries are judged on whether the attack succeeds. The team found an exploit chain in version 4.5.19.13 of Galaxy Store that could have allowed an attacker to install any application from the Galaxy Store without user consent. An exploit chain simply means several small weaknesses joined together, where each one makes the next possible, like a series of doors that each need a different key. Samsung patched the vulnerability at the end of September 2020, which removed it as a viable Pwn2Own entry. This write-up covers the technical details of the flaw and how F-Secure intended to exploit it before the patch.
Setup
The target was the Galaxy Store application, version 4.5.19.13, on a Samsung S20. The activity F-Secure intended to use was com.sec.android.app.samsungapps.slotpage.EditorialActivity. The long dotted name is the activity's full identifier: the first part is the app's package name, and the last part, EditorialActivity, is the name of the screen itself. "Editorial" suggests it is the screen that shows editorial content, such as featured articles or promotions inside the store.
According to the report, this activity could be launched in two ways:
- A browsable intent link.
- An NFC tag.
An intent is Android's way of asking the system to do something, such as "open this screen" or "show this link". A browsable intent link is a link that, when tapped, asks the phone to open a particular app screen rather than a web browser. NFC stands for Near Field Communication, the short-range radio used for contactless payments and transit cards. An NFC tag is a small sticker or card that a phone can read by holding it close, and reading a tag can make the phone perform an action, including opening an app.
No accounts, credentials or special tooling beyond the device, a prepared NFC tag and a position on the network path are described. In other words, the attacker did not need a password or a stolen account; they needed to be near the victim with a tag, and to be on the same network as the phone.
Finding it
At runtime, EditorialActivity loaded a WebView and checked whether the user-supplied url parameter was considered valid. A parameter is simply a value passed along with a request, the part after the question mark in a web address. Here the activity accepted a url value telling it which page to show, and it applied a check before using it.
The parameter was accepted if it started with one of two values:
http://img.samsungapps.com/https://img.samsungapps.com/
This kind of check is called an allowlist: instead of trying to list everything bad, you list the few things that are allowed, and reject the rest. The check was implemented as follows:
public boolean isValidUrl(String str) { return str.startsWith("http://img.samsungapps.com/") || str.startsWith("https://img.samsungapps.com/"); }
Line by line:
public boolean isValidUrl(String str)declares a method namedisValidUrl, meaning "is this address valid?". It takes one input,str, which is the address to test, and it answers with a boolean, a value that is either true or false.return str.startsWith("http://img.samsungapps.com/")asks whether the address begins with the plain HTTP version of the Samsung image host.startsWithcompares only the beginning of the text, not the whole of it.||means "or". If the first test fails, the second is tried.str.startsWith("https://img.samsungapps.com/")asks whether the address begins with the encrypted HTTPS version of the same host.- The method answers true if either test passes, and false otherwise.
If the method returned true, the WebView loaded the user-supplied URL and added a JavaScript interface called EditorialScriptInterface. That interface contained two methods of interest: downloadApp and openApp. A method is a named action a program can perform; these two are the actions the web page is allowed to ask the app to perform.
The weakness is the plain HTTP prefix in the allowlist. HTTP is the language browsers and web servers use to exchange pages, and in plain HTTP the content travels unencrypted, like a postcard: anyone handling it along the way can read it and change it. HTTPS is the same conversation wrapped in encryption, like a sealed envelope. A URL that passes the check can still be fetched over cleartext HTTP, which puts the content of the page under the control of anyone who can sit on the network path. Because the same page then receives a privileged JavaScript bridge, that network position translates into the ability to call native store functionality. In short: the check asked "does this address look right?" but never asked "is this page delivered safely?".
Exploitation
Step 1: Get the phone onto an attacker-influenced network
The chain begins with the phone connected to an attacker-controlled WiFi network, or to a public WiFi network on which the attacker resides. This is the precondition for the interception in step 5. Without standing between the phone and the internet, the attacker cannot touch the traffic. A coffee shop WiFi, or a hotspot the attacker runs themselves, provides exactly that position.
Step 2: Launch Galaxy Store through an NFC tag
The phone scans a prepared NFC tag, which launches the Galaxy Store application. An NFC tag can hold a number of NDEF records for exchanging information with a scanning phone. NDEF is the standard format for data on NFC tags: each record says what kind of thing it holds and what the value is. F-Secure intended to use a tag with the following record:
Record 0: (Media) application/com.sec.android.app.samsungapps.detail http://apps.samsung.com/appquery/EditorialPage.as?url= http://img.samsungapps.com/yaypayloadyay.html
Reading this record piece by piece:
Record 0is the first (and here only) record on the tag.(Media)is the record type. A Media record carries a link to something, in this case a link that opens an app.application/com.sec.android.app.samsungapps.detailsays which app should handle the link: the Galaxy Store detail screen.http://apps.samsung.com/appquery/EditorialPage.as?url=is the address the phone is sent to, and the?url=at the end starts a parameter namedurlwhose value comes next.http://img.samsungapps.com/yaypayloadyay.htmlis that value: the page the store is asked to load.
The record is a Media record for the Galaxy Store detail application, carrying a URL to apps.samsung.com whose url parameter points at http://img.samsungapps.com/yaypayloadyay.html. The tag is the delivery mechanism: the victim only has to hold their phone near it.
Step 3: EditorialActivity loads the WebView and the bridge
Galaxy Store automatically launches EditorialActivity, which loads a WebView and adds the JavaScript interface EditorialScriptInterface. The WebView browses to http://img.samsungapps.com/yaypayloadyay.html. At this moment the phone is showing a page from Samsung's image host, and that page has the key to the cupboard: it can call downloadApp and openApp.
Step 4: The page does not exist, and that is fine
Since http://img.samsungapps.com/yaypayloadyay.html does not exist, the web server responds with a 404 Not Found HTTP error. A 404 is the standard answer a web server gives when asked for something it does not have; you have probably seen it in a browser. The important point is that the communication uses cleartext HTTP, so the response body is not protected in transit. The attacker does not need the real page to exist, because they intend to replace the answer on its way to the phone.
Step 5: Inject JavaScript into the response
A correctly positioned attacker conducts a Man-in-the-Middle (MitM) attack and injects additional JavaScript into the server's HTTP response. A Man-in-the-Middle attack is exactly what it sounds like: the attacker places themselves between two parties who think they are talking directly, and can read or alter what passes. JavaScript is the programming language of web pages, the code a browser runs when it displays a page. Because the page arrives over plain HTTP, the attacker can add their own script to the 404 response, and the phone's WebView will run it as if Samsung had sent it.
The following example code, injected into the response, automatically downloads and installs any application from the Galaxy Store and then triggers the opening of that application:
<script>
function openApp(){
setTimeout(function(){
GalaxyStore.openApp("<packageName>");
},5000);
}
// download and install "<packageName>"
GalaxyStore.downloadApp("<packageName>");
// open "<packagename>" 5 seconds after this page has loaded
openApp();
</script>
Line by line:
<script>and</script>mark the start and end of JavaScript inside a web page. Everything between them is code the browser will run.function openApp(){begins the definition of a function namedopenApp. Defining it does not run it; it only names a set of instructions for later.setTimeout(function(){schedules the code inside to run after a delay, rather than immediately.GalaxyStore.openApp("<packageName>");is the call that asks the store to launch an app.GalaxyStoreis the name the page uses to reach the JavaScript interface, and<packageName>is a placeholder for the identifier of the app to launch.},5000);closes the scheduled function and sets the delay to 5000 milliseconds, which is five seconds.// download and install "<packageName>"is a comment, text for humans that the browser ignores.GalaxyStore.downloadApp("<packageName>");asks the store to download and install the app with that package name. This runs straight away.// open "<packagename>" 5 seconds after this page has loadedis another comment explaining the timing.openApp();actually runs the function defined above, which starts the five-second timer.
The script calls GalaxyStore.downloadApp("<packageName>") to download and install the package, then schedules GalaxyStore.openApp("<packageName>") five seconds later so the freshly installed application is launched.
Step 6: What the bridge methods do
downloadApp takes a string and passes it to another method, e. A string is simply text. That method performs the following actions:
- Checks whether the WebView is loaded into a valid URL, using the same
isValidUrlmethod. - Requests to download an app from the Galaxy Store with the same package name as the passed string value.
- If the package is found, downloads and installs the package.
The pseudo code for this process is:
@JavascriptInterfacepublic void downloadApp(String str) { EditorialScriptInterface.this.e(str);}public void e(String str) { if (EditorialActivity.isValidUrl(WebView.getUrl() == false)) { Log.d("Editorial", "Url is not valid" + EditorialActivity.isValidUrl(WebView.getUrl()); return; } String GUID = str; if (Store.search(GUID) == true) { Store.download(GUID); }}
Line by line:
@JavascriptInterfaceis the marker that makes a method reachable from the web page. Without it, the page could not call the method at all.public void downloadApp(String str)defines the method the page calls.voidmeans it returns nothing;String stris the package name supplied by the page.EditorialScriptInterface.this.e(str);hands the package name to the internal methode, which does the real work. Keeping the exposed method thin is a common pattern.public void e(String str)is that internal method.if (EditorialActivity.isValidUrl(WebView.getUrl() == false)) {is the guard: it asks whether the page currently shown in the WebView is still on an allowed address.WebView.getUrl()returns the address of the page being displayed.Log.d("Editorial", "Url is not valid" + ...);writes a debug message to the phone's log if the check fails, so a developer can see why the call was refused.return;stops the method there, so nothing further happens.String GUID = str;copies the package name into a variable calledGUID. A variable is a named box that holds a value.if (Store.search(GUID) == true) {asks the store whether an app with that package name exists.Store.download(GUID);downloads and installs it if it does.
openApp works similarly, passing the string to method d, which:
- Attempts to launch an installed app with the same package name as the supplied string value.
The pseudo code for this process is:
@JavascriptInterfacepublic void openApp(String str) { EditorialScriptInterface.this.d(str);}public void d(String str) { if (EditorialActivity.isValidUrl(WebView.getUrl() == false)) { Log.d("Editorial", "Url is not valid" + this.c.getUrl()); return; } String GUID = str; if (Device.isInstalled(GUID) == true) { Device.openApp(GUID); }}
Line by line:
@JavascriptInterfaceagain marks the method as callable from the page.public void openApp(String str)defines the launch method, taking the package name as text.EditorialScriptInterface.this.d(str);passes the name to the internal methodd.if (EditorialActivity.isValidUrl(WebView.getUrl() == false)) {repeats the same address check as before.Log.d("Editorial", "Url is not valid" + this.c.getUrl());logs the refusal, this time reading the address throughthis.c.getUrl().return;stops the method if the check fails.String GUID = str;stores the package name in a variable.if (Device.isInstalled(GUID) == true) {asks the phone whether that app is installed.Device.openApp(GUID);launches it if it is.
Both methods re-run the URL check against the WebView's current URL.
Root cause
The allowlist in isValidUrl accepts both http://img.samsungapps.com/ and https://img.samsungapps.com/. Accepting the HTTP scheme means the page loaded into the privileged WebView can be fetched and modified in transit. The JavaScript interface is then attached to whatever that page contains, so injected script inherits the ability to call downloadApp and openApp. The address is right; the contents are not.
Impact
An attacker in the right network position, with the victim scanning a prepared NFC tag, could install any application from the Galaxy Store without user consent and then launch it. The chain depends on the phone being on an attacker-controlled or shared public WiFi network and on the victim scanning the tag. The report frames this as a chain F-Secure intended to use for Pwn2Own; Samsung patched the issue at the end of September 2020, no longer making it a viable entry.
Fix
Samsung released version 4.5.20.7 of the Galaxy Store application, which changed isValidUrl to:
public boolean isValidUrl(String str) { return str.startsWith("https://img.samsungapps.com/");}
Line by line:
public boolean isValidUrl(String str)is the same method as before, still answering true or false for a given address.return str.startsWith("https://img.samsungapps.com/");now tests only the HTTPS version. The plain HTTP line and the||that joined the two tests are gone, so an address starting withhttp://is rejected.
The url parameter must now start with https://img.samsungapps.com/, which makes MitM attacks significantly more difficult. With HTTPS, the page arrives inside encryption, and an attacker on the network cannot quietly rewrite it without breaking the connection. The change affects three things:
- Whether the
EditorialActivityWebView is able to load the user-provided URL. - Whether the
downloadAppJavaScript interface method is allowed to execute. - Whether the
openAppJavaScript interface method is allowed to execute.
The report notes that this new version may not come pre-installed with the October 2020 firmware for Samsung S20 devices. Firmware is the software image a phone ships with, including its pre-installed apps. In that case the user must manually open the Galaxy Store application, which then prompts to install a newer version. F-Secure also found that a user still running a vulnerable version, who is never prompted to update, remains exploitable, because launching EditorialActivity skips all update checks that Galaxy Store should run on boot. In other words, launching this screen skips the update checks the app should run on boot. The recommendation is that all Samsung S20 users, and potentially all Samsung device users in general, open their Galaxy Store application at least once so they are prompted to update.
Variants to test
- HTTP entries in WebView allowlists. Look for
startsWithchecks that accept anhttp://prefix on a host that also serves HTTPS. A positive result is a WebView that loads your cleartext URL and attaches a JavaScript interface to it. - Bridge methods that re-check the URL only by prefix. If a
@JavascriptInterfacemethod validatesWebView.getUrl()with the same prefix check, try hosting your page under the allowed prefix over HTTP. A positive result is the method executing rather than logging "Url is not valid". - Deep links and NFC records that reach privileged activities. Enumerate exported activities reachable through browsable intents or NDEF records and check whether any of them load a URL parameter into a WebView with a bridge. A positive result is an activity that opens your URL without further validation.
- Update checks skipped by direct activity launch. Launch a privileged activity directly rather than through the normal application entry point and observe whether version or update checks still run. A positive result is the activity proceeding on an outdated, vulnerable build.
- Install and launch primitives exposed to JavaScript. Look for bridge methods that take a package name and call store search, download or install, or that launch installed packages. A positive result is a page you control causing an install or launch without a user confirmation prompt.
Glossary
- Activity: one screen of an Android app, roughly like one window or tab.
- Allowlist: a list of things that are permitted, with everything else rejected.
- Android: the operating system that runs on most phones, including Samsung devices.
- Boolean: a value that is either true or false.
- Bridge (JavaScript interface): a deliberate door that lets a web page inside an app call specific functions of that app.
- Cleartext: data sent without encryption, readable and changeable by anyone handling it.
- Exploit chain: several weaknesses joined together, each making the next step possible.
- Firmware: the software image a device ships with, including its pre-installed apps.
- Function / method: a named set of instructions a program can run.
- GUID: here, the variable holding the package name passed to the store method.
- HTTP: the language browsers and web servers use to exchange pages, unencrypted by default.
- HTTPS: HTTP wrapped in encryption, so the content cannot be read or altered in transit.
- Intent: Android's way of asking the system to perform an action, such as opening a screen or a link.
- JavaScript: the programming language that web pages run in a browser or WebView.
- Man-in-the-Middle (MitM): an attack where someone sits between two parties and reads or alters their traffic.
- NDEF: the standard data format for records stored on an NFC tag.
- NFC: Near Field Communication, the short-range radio used for contactless cards and tags.
- Package name: the unique identifier of an Android app, such as
com.sec.android.app.samsungapps. - Parameter: a value passed along with a request, usually after a question mark in a web address.
- Patch: a software update that fixes a flaw.
- Pwn2Own: a contest where researchers demonstrate working attacks on real devices.
- String: a piece of text in programming.
- Variable: a named box in a program that holds a value.
- WebView: a small browser embedded inside an app to display web pages.
- 404 Not Found: the standard answer a web server gives when the requested page does not exist.