M6: Inadequate Mobile Privacy Controls

M6: Inadequate Mobile Privacy Controls

Users' health data was sitting in a crash dashboard.

What Is M6: Inadequate Mobile Privacy Controls?

A mobile app that writes users' personal and health data into its logs and crash reports spreads that data to every tool that collects them. You'll watch an attacker export thousands of profiles from a shared crash dashboard, then close the leak, purge the data and make the app collect only what it needs.

What You'll Learn in M6: Inadequate Mobile Privacy Controls

M6: Inadequate Mobile Privacy Controls — Training Steps

  1. A link nobody meant to share

    Wendrift is a running app that tunes training to the runner's cycle. Its crash reports go to Trapnest, a crash-reporting service. Months ago a developer pasted a read-only share link to the Android project into a public bug thread, and it still works. Bob found the link. He asks it for the project's issues.

  2. Read one crash

    A crash report carries breadcrumbs: the trail of things the app recorded just before it crashed. Bob opens the newest one.

  3. Take all of them

    The share link has no rate limit and no expiry. Bob keeps just the profile breadcrumbs from every event.

  4. Names and home addresses

    Coordinates become street addresses in one lookup. Bob turns the file into a list he can sell: who each runner is, where they live, and where they are in their cycle.

  5. Where the data came from

  6. A note from the DPO

    Alice leads the Wendrift mobile apps. The data protection officer has written to her.

  7. Open the app

    Alice picks up her test phone, signed in to a test runner account, and looks at what the app tells runners about diagnostics.

  8. What runners were told

    Share diagnostics is on by default.

  9. Watch the app log

    Alice plugs the phone into her laptop and reads the app's own log while it signs in.

  10. Close the link

    The breadcrumbs end up in Trapnest. Alice checks the project's share links and finds the public one from the bug thread. She revokes it first.

Security Framework Coverage

OWASP Mobile Top 10

  • M6:2024 Inadequate Privacy Controls

OWASP MASVS

  • MASVS-STORAGE-2 The app prevents leakage of sensitive data.
  • MASVS-PRIVACY-1 The app minimizes access to sensitive data and resources.

CWE

  • CWE-532 Insertion of Sensitive Information into Log File
  • CWE-359 Exposure of Private Personal Information to an Unauthorized Actor

CIS Controls

  • CIS 16 Application Software Security

NIST CSF

  • PR.AT-02 Individuals in specialized roles are provided with awareness and training so that they possess the knowledge and skills to perform relevant tasks with cybersecurity risks in mind
  • PR.PS Platform Security

NICE Framework

  • DD-WRL-003 Secure Software Development