Authentication & Authorization (AA2)

Jie can use the app to do sensitive operations because the “unlocked key” is not used during the application flow

Authentication & Authorization
2

Jie can use the app to do sensitive operations because the “unlocked key” is not used during the application flow

OWASP ASVS

AUTH-2,AUTH-3

OWASP AppSensor

TEST-0017,TEST-0064

CAPEC

-

SAFECODE

How to play?

Ensuring that the app and its cryptographic keys are accessible only under strict conditions, such as when the device is unlocked by an authenticated user, within secure application contexts, or for limited periods of time, is critical to maintaining the confidentiality and integrity of encrypted data.

Make sure the unlocked key is used during sensitive operations. For example when decrypting local storage or when decrypting or signing a message before sending or receiving it from a remote endpoint. You may want to re-authenticate before contextual state changes like when changing state from running in the background to running in the foreground or changing the user's email, password, pin or phone number. Otherwise, the application may be vulnerable to a local authentication bypass.

Mappings

OWASP MASVS (2.1): AUTH-2 ,AUTH-3

OWASP MASTG (1.7): TEST-0017 ,TEST-0064

Capec: 115

Safecode: 28

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 3.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.