Could a stranger read an SOS request? Ten high findings, retested

Public safety app: in its first beta a stranger near an SOS phone could get GPS and a medical record. We retested ten high findings and named the limits.
Case study

Could a stranger read an SOS request? Ten high findings, retested

In the first beta, a stranger near an SOS phone could get the owner's location and medical record. We retested, and named the limits.

For product owners and CTOs releasing safety-critical mobile apps.

A crisis-response mobile app, with Android and iOS clients and a Bluetooth and Wi-Fi mesh layer, came back for retest. Its first beta had ten high-severity findings, all confirmed real. We re-traced each one as an attack through the code of the second beta.

  • Public safety
  • SOS mobile app on Android and iOS
  • Compliance
  • Reputation
  • Clients
  • Money
A BetterQA engineer in glasses and a black T-shirt working on a laptop by a window in the Cluj-Napoca office
The numbers
10 findingsretested one by one, with the limits stated
10high findings in beta 1, all confirmed real
8of 10 fixed in beta 2, two with a low residual; one partly fixed
4new issues introduced by the fixes: two medium, one low, one info
1high finding fixed on the client, with the server side that cannot be verified from code
At stake

What was at risk

Compliance

A stranger could receive location and a medical record

In the first beta, on iOS, a person near a phone that had triggered an SOS could receive the owner's GPS position and medical record. Context: medical data is special-category data under GDPR.

Reputation

The same finding: an anonymous session treated as a rescuer

This is the same high finding, not a second one. In the first beta, an anonymous session was given a key, and the app then treated that session as a rescuer: a stranger with the access of someone who is there to help.

Clients

Fixes that quietly break availability

Two of the four new issues the fixes introduced were medium and about availability. In an SOS app, availability is the function, so a fix that costs it is a new defect.

Money

A retest summed up as ten fixed when two were not

One finding was only partly fixed, and one was fixed on the client with the server side unverified from code. A reader needs those two named, not folded into ten.

Rules

Standards and rules in play

  • Evidence labels on every statementVerified means traced end to end. Inferred means one step is reasoned. The reader can see which statements rest on which.
  • Fail closed, no way backA beta-2 client without the new key, lease, binding or cohort refuses the traffic and does not drop back to beta-1 behaviour. We hunted for legacy fallbacks and for flags that default a fix off.

Context: apps that hold health and location data are expected to meet GDPR security duties.

Method

How we tested it

Test level
Static review of the second beta's source code, finding by finding.
Test types
Security testing, white-box, and confirmation testing of ten earlier findings.
Test basis
The ten high findings of the first beta, all confirmed real, each re-traced as an attack.
  • How we workedCode reviewFor each finding we re-traced the original attack through the beta-2 code, and looked for legacy fallbacks.
  • How we workedGrading each findingEach finding graded fixed, partly fixed or cannot verify: 8 fixed, 1 partly fixed, and 1 fixed on the client where the matching server behaviour cannot be verified from code.

Terms as in the ISTQB CTFL 4.0.1 syllabus and glossary.

Findings

What we found, and what it costs

High

One high finding of the first beta, on iOS: an anonymous session was given a key, was marked verified and was then treated as a rescuer, and a person near an SOS phone could receive the owner's GPS position and medical record

What it costs youThe location and health data of someone in an emergency, readable by a stranger with a rescuer's access.

Open

One finding partly fixed, and one fixed on the client with server behaviour that cannot be verified from code

What it costs youThese have to be carried as open, not as closed.

New

Four new issues from the fixes: two medium (availability), one low, one informational

What it costs youA fix that adds an outage is still a cost. They are in the report beside the originals.

Eight of the ten were fixed, two of them with a low residual risk. None of our original findings turned out to be wrong.

Outcome

What changed

Retest results graded finding by finding, with new issues and limits stated. A client without the new key fails closed, and every statement carries a verified or inferred label.

What this means for you: If you release something people use in an emergency, ask your testers what they could not verify, and have them write it down.
Check

What to check in your own product

  1. Ask for each finding to be graded fixed, partly fixed or cannot verify.A reader needs those two named, not folded into ten.
  2. Check the fixes did not add new outages.In an SOS app, availability is the function, so a fix that costs it is a new defect.
  3. Check that a client without the new key is refused instead of falling back to the old behaviour.We hunted for legacy fallbacks and for flags that default a fix off.

Releasing something people depend on in an emergency?

We retest each finding as an attack and label what we verified. The first month is a trial.

Talk to our team
Share the Post: