Network & Storage (NS3)

Network & Storage
3

Біл може отримати доступ до конфіденційних даних конфіденційних полів із буфера обміну або кешу клавіатури, оскільки буфер обміну не очищується своєчасно, не вимкнено або не обмежено для конфіденційних полів, або кеш клавіатури не вимкнено

How to play?

Scenario: Bil can access sensitive data for sensitive fields from the pasteboard/clipboard or keyboard cache because the pasteboard/clipboard is not timely cleared, disabled or restricted for sensitive fields, or the keyboard cache is not disabled

The mobile application allows sensitive information such as passwords, tokens, or personal data to be copied to the clipboard or stored in the keyboard cache. The clipboard is not cleared after use, and keyboard caching is not restricted for sensitive fields.

As a result, Bil can access this sensitive data through the clipboard or cached keyboard suggestions.

Example

Bil installs another application that monitors clipboard content. After a user copies a password or authentication token from the mobile app, the clipboard data remains available. Bil retrieves the sensitive information from the clipboard history or keyboard cache.

Threat Modeling

STRIDE

This scenario falls under the Information Disclosure category of the STRIDE threat modeling framework.

Sensitive information is exposed because clipboard and keyboard caching mechanisms are not properly restricted.

What can go wrong?

  • Passwords or authentication tokens may be exposed.
  • Personal or financial information may be leaked.
  • Other applications may access clipboard data.

What are we going to do about it?

  • Disable clipboard access for sensitive fields when possible.
  • Clear clipboard data after sensitive operations.
  • Disable keyboard caching for password and sensitive input fields.
  • Use secure input flags provided by the platform.

Mappings

OWASP MASVS: STORAGE-2

OWASP MASTG: TEST-0006,TEST-0055,TEST-0073

CAPEC: 204,637,679

SAFECode: -

Attacks

No attacks registered!

OWASP Cornucopia

OWASP Cornucopia is a mechanism in the form of a card game to assist software development teams identify security requirements in Agile, conventional and formal development processes. It is language, platform and technology-agnostic, and is free to use. OWASP Cornucopia is licensed under the Creative Commons Attribution-ShareAlike 4.0 license, so you can copy, distribute and transmit the work, and you can adapt it, and use it commercially, but all provided that you attribute the work and if you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar licence to this one.

© 2012-2025 OWASP Foundation. The Open Worldwide Application Security Project (OWASP) is a nonprofit foundation that works to improve the security of software.