Verify that, if the authorization server returns the authorization code in the authorization response, it can be used only once for a token request. For the second valid request with an authorization code that has already been used to issue an access token, the authorization server must reject a token request and revoke any issued tokens related to the authorization code. ASVS level 1.
- Abstraction
- requirement
- Status
- stable
Verify that the authorization code is short-lived. The maximum lifetime can be up to 10 minutes for L1 and L2 applications and up to 1 minute for L3 applications. ASVS level 1.
- Abstraction
- requirement
- Status
- stable
Verify that for a given client, the authorization server only allows the usage of grants that this client needs to use. Note that the grants 'token' (Implicit flow) and 'password' (Resource Owner Password Credentials flow) must no longer be used. ASVS level 1.
- Abstraction
- requirement
- Status
- stable
Verify that the authorization server mitigates refresh token replay attacks for public clients, preferably using sender-constrained refresh tokens, i.e., Demonstrating Proof of Possession (DPoP) or Certificate-Bound Access Tokens using mutual TLS (mTLS). For L1 and L2 applications, refresh token rotation may be used. If refresh token rotation is used, the authorization server must invalidate the refresh token after usage, and revoke all refresh tokens for that authorization if an already used and invalidated refresh token is provided. ASVS level 1.
- Abstraction
- requirement
- Status
- stable
Verify that, if the code grant is used, the authorization server mitigates authorization code interception attacks by requiring proof key for code exchange (PKCE). For authorization requests, the authorization server must require a valid 'code_challenge' value and must not accept a 'code_challenge_method' value of 'plain'. For a token request, it must require validation of the 'code_verifier' parameter. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that if the authorization server supports unauthenticated dynamic client registration, it mitigates the risk of malicious client applications. It must validate client metadata such as any registered URIs, ensure the user's consent, and warn the user before processing an authorization request with an untrusted client application. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that refresh tokens have an absolute expiration, including if sliding refresh token expiration is applied. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that refresh tokens and reference access tokens can be revoked by an authorized user using the authorization server user interface, to mitigate the risk of malicious clients or stolen tokens. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that confidential client is authenticated for client-to-authorized server backchannel requests such as token requests, pushed authorization requests (PAR), and token revocation requests. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that the authorization server configuration only assigns the required scopes to the OAuth client. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that for a given client, the authorization server only allows the 'response_mode' value that this client needs to use. For example, by having the authorization server validate this value against the expected values or by using pushed authorization request (PAR) or JWT-secured Authorization Request (JAR). ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that grant type 'code' is always used together with pushed authorization requests (PAR). ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that the authorization server issues only sender-constrained (Proof-of-Possession) access tokens, either with certificate-bound access tokens using mutual TLS (mTLS) or DPoP-bound access tokens (Demonstration of Proof of Possession). ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that, for a server-side client (which is not executed on the end-user device), the authorization server ensures that the 'authorization_details' parameter value is from the client backend and that the user has not tampered with it. For example, by requiring the usage of pushed authorization request (PAR) or JWT-secured Authorization Request (JAR). ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that the client is confidential and the authorization server requires the use of strong client authentication methods (based on public-key cryptography and resistant to replay attacks), such as mutual TLS ('tls_client_auth', 'self_signed_tls_client_auth') or private key JWT ('private_key_jwt'). ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that the client (as the relying party) mitigates ID Token replay attacks. For example, by ensuring that the 'nonce' claim in the ID Token matches the 'nonce' value sent in the authentication request to the OpenID Provider (in OAuth2 refereed to as the authorization request sent to the authorization server). ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that the client uniquely identifies the user from ID Token claims, usually the 'sub' claim, which cannot be reassigned to other users (for the scope of an identity provider). ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that the client rejects attempts by a malicious authorization server to impersonate another authorization server through authorization server metadata. The client must reject authorization server metadata if the issuer URL in the authorization server metadata does not exactly match the pre-configured issuer URL expected by the client. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that the client validates that the ID Token is intended to be used for that client (audience) by checking that the 'aud' claim from the token is equal to the 'client_id' value for the client. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that, when using OIDC back-channel logout, the relying party mitigates denial of service through forced logout and cross-JWT confusion in the logout flow. The client must verify that the logout token is correctly typed with a value of 'logout+jwt', contains the 'event' claim with the correct member name, and does not contain a 'nonce' claim. Note that it is also recommended to have a short expiration (e.g., 2 minutes). ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that the OpenID Provider only allows values 'code', 'ciba', 'id_token', or 'id_token code' for response mode. Note that 'code' is preferred over 'id_token code' (the OIDC Hybrid flow), and 'token' (any Implicit flow) must not be used. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that the OpenID Provider mitigates denial of service through forced logout. By obtaining explicit confirmation from the end-user or, if present, validating parameters in the logout request (initiated by the relying party), such as the 'id_token_hint'. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that the authorization server ensures that the user consents to each authorization request. If the identity of the client cannot be assured, the authorization server must always explicitly prompt the user for consent. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that when the authorization server prompts for user consent, it presents sufficient and clear information about what is being consented to. When applicable, this should include the nature of the requested authorizations (typically based on scope, resource server, Rich Authorization Requests (RAR) authorization details), the identity of the authorized application, and the lifetime of these authorizations. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that the user can review, modify, and revoke consents which the user has granted through the authorization server. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that there is a documented policy for management of cryptographic keys and a cryptographic key lifecycle that follows a key management standard such as NIST SP 800-57. This should include ensuring that keys are not overshared (for example, with more than two entities for shared secrets and more than one entity for private keys). ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that a cryptographic inventory is performed, maintained, regularly updated, and includes all cryptographic keys, algorithms, and certificates used by the application. It must also document where keys can and cannot be used in the system, and the types of data that can and cannot be protected using the keys. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that cryptographic discovery mechanisms are employed to identify all instances of cryptography in the system, including encryption, hashing, and signing operations. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that a cryptographic inventory is maintained. This must include a documented plan that outlines the migration path to new cryptographic standards, such as post-quantum cryptography, in order to react to future threats. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that industry-validated implementations (including libraries and hardware-accelerated implementations) are used for cryptographic operations. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that the application is designed with crypto agility such that random number, authenticated encryption, MAC, or hashing algorithms, key lengths, rounds, ciphers and modes can be reconfigured, upgraded, or swapped at any time, to protect against cryptographic breaks. Similarly, it must also be possible to replace keys and passwords and re-encrypt data. This will allow for seamless upgrades to post-quantum cryptography (PQC), once high-assurance implementations of approved PQC schemes or standards are widely available. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that all cryptographic primitives utilize a minimum of 128-bits of security based on the algorithm, key size, and configuration. For example, a 256-bit ECC key provides roughly 128 bits of security where RSA requires a 3072-bit key to achieve 128 bits of security. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that all cryptographic operations are constant-time, with no 'short-circuit' operations in comparisons, calculations, or returns, to avoid leaking information. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that all cryptographic modules fail securely, and errors are handled in a way that does not enable vulnerabilities, such as Padding Oracle attacks. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that insecure block modes (e.g., ECB) and weak padding schemes (e.g., PKCS#1 v1.5) are not used. ASVS level 1.
- Abstraction
- requirement
- Status
- stable
Verify that only approved ciphers and modes such as AES with GCM are used. ASVS level 1.
- Abstraction
- requirement
- Status
- stable
Verify that encrypted data is protected against unauthorized modification preferably by using an approved authenticated encryption method or by combining an approved encryption method with an approved MAC algorithm. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that nonces, initialization vectors, and other single-use numbers are not used for more than one encryption key and data-element pair. The method of generation must be appropriate for the algorithm being used. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that any combination of an encryption algorithm and a MAC algorithm is operating in encrypt-then-MAC mode. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that only approved hash functions are used for general cryptographic use cases, including digital signatures, HMAC, KDF, and random bit generation. Disallowed hash functions, such as MD5, must not be used for any cryptographic purpose. ASVS level 1.
- Abstraction
- requirement
- Status
- stable
Verify that passwords are stored using an approved, computationally intensive, key derivation function (also known as a "password hashing function"), with parameter settings configured based on current guidance. The settings should balance security and performance to make brute-force attacks sufficiently challenging for the required level of security. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that hash functions used in digital signatures, as part of data authentication or data integrity are collision resistant and have appropriate bit-lengths. If collision resistance is required, the output length must be at least 256 bits. If only resistance to second pre-image attacks is required, the output length must be at least 128 bits. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that the application uses approved key derivation functions with key stretching parameters when deriving secret keys from passwords. The parameters in use must balance security and performance to prevent brute-force attacks from compromising the resulting cryptographic key. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that all random numbers and strings which are intended to be non-guessable must be generated using a cryptographically secure pseudo-random number generator (CSPRNG) and have at least 128 bits of entropy. Note that UUIDs do not respect this condition. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that the random number generation mechanism in use is designed to work securely, even under heavy demand. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that only approved cryptographic algorithms and modes of operation are used for key generation and seeding, and digital signature generation and verification. Key generation algorithms must not generate insecure keys vulnerable to known attacks, for example, RSA keys which are vulnerable to Fermat factorization. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that approved cryptographic algorithms are used for key exchange (such as Diffie-Hellman) with a focus on ensuring that key exchange mechanisms use secure parameters. This will prevent attacks on the key establishment process which could lead to adversary-in-the-middle attacks or cryptographic breaks. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that full memory encryption is in use that protects sensitive data while it is in use, preventing access by unauthorized users or processes. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that data minimization ensures the minimal amount of data is exposed during processing, and ensure that data is encrypted immediately after use or as soon as feasible. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that only the latest recommended versions of the TLS protocol are enabled, such as TLS 1.2 and TLS 1.3. The latest version of the TLS protocol must be the preferred option. ASVS level 1.
- Abstraction
- requirement
- Status
- stable
Verify that only recommended cipher suites are enabled, with the strongest cipher suites set as preferred. L3 applications must only support cipher suites which provide forward secrecy. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that the application validates that mTLS client certificates are trusted before using the certificate identity for authentication or authorization. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that proper certification revocation, such as Online Certificate Status Protocol (OCSP) Stapling, is enabled and configured. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that Encrypted Client Hello (ECH) is enabled in the application's TLS settings to prevent exposure of sensitive metadata, such as the Server Name Indication (SNI), during TLS handshake processes. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that TLS is used for all connectivity between a client and external facing, HTTP-based services, and does not fall back to insecure or unencrypted communications. ASVS level 1.
- Abstraction
- requirement
- Status
- stable
Verify that external facing services use publicly trusted TLS certificates. ASVS level 1.
- Abstraction
- requirement
- Status
- stable
Verify that an encrypted protocol such as TLS is used for all inbound and outbound connections to and from the application, including monitoring systems, management tools, remote access and SSH, middleware, databases, mainframes, partner systems, or external APIs. The server must not fall back to insecure or unencrypted protocols. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that TLS clients validate certificates received before communicating with a TLS server. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that TLS or another appropriate transport encryption mechanism used for all connectivity between internal, HTTP-based services within the application, and does not fall back to insecure or unencrypted communications. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that TLS connections between internal services use trusted certificates. Where internally generated or self-signed certificates are used, the consuming service must be configured to only trust specific internal CAs and specific self-signed certificates. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that services communicating internally within a system (intra-service communications) use strong authentication to ensure that each endpoint is verified. Strong authentication methods, such as TLS client authentication, must be employed to ensure identity, using public-key infrastructure and mechanisms that are resistant to replay attacks. For microservice architectures, consider using a service mesh to simplify certificate management and enhance security. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that all communication needs for the application are documented. This must include external services which the application relies upon and cases where an end user might be able to provide an external location to which the application will then connect. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that for each service the application uses, the documentation defines the maximum number of concurrent connections (e.g., connection pool limits) and how the application behaves when that limit is reached, including any fallback or recovery mechanisms, to prevent denial of service conditions. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that the application documentation defines resource‑management strategies for every external system or service it uses (e.g., databases, file handles, threads, HTTP connections). This should include resource‑release procedures, timeout settings, failure handling, and where retry logic is implemented, specifying retry limits, delays, and back‑off algorithms. For synchronous HTTP request–response operations it should mandate short timeouts and either disable retries or strictly limit retries to prevent cascading delays and resource exhaustion. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that the application's documentation defines the secrets that are critical for the security of the application and a schedule for rotating them, based on the organization's threat model and business requirements. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that communications between backend application components that don't support the application's standard user session mechanism, including APIs, middleware, and data layers, are authenticated. Authentication must use individual service accounts, short-term tokens, or certificate-based authentication and not unchanging credentials such as passwords, API keys, or shared accounts with privileged access. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that communications between backend application components, including local or operating system services, APIs, middleware, and data layers, are performed with accounts assigned the least necessary privileges. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that if a credential has to be used for service authentication, the credential being used by the consumer is not a default credential (e.g., root/root or admin/admin). ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that an allowlist is used to define the external resources or systems with which the application is permitted to communicate (e.g., for outbound requests, data loads, or file access). This allowlist can be implemented at the application layer, web server, firewall, or a combination of different layers. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that the web or application server is configured with an allowlist of resources or systems to which the server can send requests or load data or files from. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that where the application connects to separate services, it follows the documented configuration for each connection, such as maximum parallel connections, behavior when maximum allowed connections is reached, connection timeouts, and retry strategies. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that a secrets management solution, such as a key vault, is used to securely create, store, control access to, and destroy backend secrets. These could include passwords, key material, integrations with databases and third-party systems, keys and seeds for time-based tokens, other internal secrets, and API keys. Secrets must not be included in application source code or included in build artifacts. For an L3 application, this must involve a hardware-backed solution such as an HSM. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that access to secret assets adheres to the principle of least privilege. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that all cryptographic operations are performed using an isolated security module (such as a vault or hardware security module) to securely manage and protect key material from exposure outside of the security module. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that secrets are configured to expire and be rotated based on the application's documentation. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that the application is deployed either without any source control metadata, including the .git or .svn folders, or in a way that these folders are inaccessible both externally and to the application itself. ASVS level 1.
- Abstraction
- requirement
- Status
- stable
Verify that debug modes are disabled for all components in production environments to prevent exposure of debugging features and information leakage. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that web servers do not expose directory listings to clients unless explicitly intended. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that using the HTTP TRACE method is not supported in production environments, to avoid potential information leakage. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that documentation (such as for internal APIs) and monitoring endpoints are not exposed unless explicitly intended. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that the application does not expose detailed version information of backend components. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that the web tier is configured to only serve files with specific file extensions to prevent unintentional information, configuration, and source code leakage. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that all sensitive data created and processed by the application has been identified and classified into protection levels. This includes data that is only encoded and therefore easily decoded, such as Base64 strings or the plaintext payload inside a JWT. Protection levels need to take into account any data protection and privacy regulations and standards which the application is required to comply with. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that all sensitive data protection levels have a documented set of protection requirements. This must include (but not be limited to) requirements related to general encryption, integrity verification, retention, how the data is to be logged, access controls around sensitive data in logs, database-level encryption, privacy and privacy-enhancing technologies to be used, and other confidentiality requirements. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that sensitive data is only sent to the server in the HTTP message body or header fields, and that the URL and query string do not contain sensitive information, such as an API key or session token. ASVS level 1.
- Abstraction
- requirement
- Status
- stable
Verify that the application prevents sensitive data from being cached in server components, such as load balancers and application caches, or ensures that the data is securely purged after use. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that defined sensitive data is not sent to untrusted parties (e.g., user trackers) to prevent unwanted collection of data outside of the application's control. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that controls around sensitive data related to encryption, integrity verification, retention, how the data is to be logged, access controls around sensitive data in logs, privacy and privacy-enhancing technologies, are implemented as defined in the documentation for the specific data's protection level. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that caching mechanisms are configured to only cache responses which have the expected content type for that resource and do not contain sensitive, dynamic content. The web server should return a 404 or 302 response when a non-existent file is accessed rather than returning a different, valid file. This should prevent Web Cache Deception attacks. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that the application only returns the minimum required sensitive data for the application's functionality. For example, only returning some of the digits of a credit card number and not the full number. If the complete data is required, it should be masked in the user interface unless the user specifically views it. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that sensitive information is subject to data retention classification, ensuring that outdated or unnecessary data is deleted automatically, on a defined schedule, or as the situation requires. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that sensitive information is removed from the metadata of user-submitted files unless storage is consented to by the user. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that authenticated data is cleared from client storage, such as the browser DOM, after the client or session is terminated. The 'Clear-Site-Data' HTTP response header field may be able to help with this but the client-side should also be able to clear up if the server connection is not available when the session is terminated. ASVS level 1.
- Abstraction
- requirement
- Status
- stable
Verify that the application sets sufficient anti-caching HTTP response header fields (i.e., Cache-Control: no-store) so that sensitive data is not cached in browsers. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that data stored in browser storage (such as localStorage, sessionStorage, IndexedDB, or cookies) does not contain sensitive data, with the exception of session tokens. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that application documentation defines risk based remediation time frames for 3rd party component versions with vulnerabilities and for updating libraries in general, to minimize the risk from these components. ASVS level 1.
- Abstraction
- requirement
- Status
- stable
Verify that an inventory catalog, such as software bill of materials (SBOM), is maintained of all third-party libraries in use, including verifying that components come from pre-defined, trusted, and continually maintained repositories. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that the application documentation identifies functionality which is time-consuming or resource-demanding. This must include how to prevent a loss of availability due to overusing this functionality and how to avoid a situation where building a response takes longer than the consumer's timeout. Potential defenses may include asynchronous processing, using queues, and limiting parallel processes per user and per application. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that application documentation highlights third-party libraries which are considered to be "risky components". ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that application documentation highlights parts of the application where "dangerous functionality" is being used. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that the application only contains components which have not breached the documented update and remediation time frames. ASVS level 1.
- Abstraction
- requirement
- Status
- stable
Verify that the application has implemented defenses against loss of availability due to functionality which is time-consuming or resource-demanding, based on the documented security decisions and strategies for this. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that the production environment only includes functionality that is required for the application to function, and does not expose extraneous functionality such as test code, sample snippets, and development functionality. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that third-party components and all of their transitive dependencies are included from the expected repository, whether internally owned or an external source, and that there is no risk of a dependency confusion attack. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that the application implements additional protections around parts of the application which are documented as containing "dangerous functionality" or using third-party libraries considered to be "risky components". This could include techniques such as sandboxing, encapsulation, containerization or network level isolation to delay and deter attackers who compromise one part of an application from pivoting elsewhere in the application. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that the application only returns the required subset of fields from a data object. For example, it should not return an entire data object, as some individual fields should not be accessible to users. ASVS level 1.
- Abstraction
- requirement
- Status
- stable
Verify that where the application backend makes calls to external URLs, it is configured to not follow redirects unless it is intended functionality. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that the application has countermeasures to protect against mass assignment attacks by limiting allowed fields per controller and action, e.g., it is not possible to insert or update a field value when it was not intended to be part of that action. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that all proxying and middleware components transfer the user's original IP address correctly using trusted data fields that cannot be manipulated by the end user, and the application and web server use this correct value for logging and security decisions such as rate limiting, taking into account that even the original IP address may not be reliable due to dynamic IPs, VPNs, or corporate firewalls. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that the application explicitly ensures that variables are of the correct type and performs strict equality and comparator operations. This is to avoid type juggling or type confusion vulnerabilities caused by the application code making an assumption about a variable type. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that JavaScript code is written in a way that prevents prototype pollution, for example, by using Set() or Map() instead of object literals. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that the application has defenses against HTTP parameter pollution attacks, particularly if the application framework makes no distinction about the source of request parameters (query string, body parameters, cookies, or header fields). ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that shared objects in multi-threaded code (such as caches, files, or in-memory objects accessed by multiple threads) are accessed safely by using thread-safe types and synchronization mechanisms like locks or semaphores to avoid race conditions and data corruption. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that checks on a resource's state, such as its existence or permissions, and the actions that depend on them are performed as a single atomic operation to prevent time-of-check to time-of-use (TOCTOU) race conditions. For example, checking if a file exists before opening it, or verifying a user’s access before granting it. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that locks are used consistently to avoid threads getting stuck, whether by waiting on each other or retrying endlessly, and that locking logic stays within the code responsible for managing the resource to ensure locks cannot be inadvertently or maliciously modified by external classes or code. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that resource allocation policies prevent thread starvation by ensuring fair access to resources, such as by leveraging thread pools, allowing lower-priority threads to proceed within a reasonable timeframe. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that an inventory exists documenting the logging performed at each layer of the application's technology stack, what events are being logged, log formats, where that logging is stored, how it is used, how access to it is controlled, and for how long logs are kept. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that each log entry includes necessary metadata (such as when, where, who, what) that would allow for a detailed investigation of the timeline when an event happens. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that time sources for all logging components are synchronized, and that timestamps in security event metadata use UTC or include an explicit time zone offset. UTC is recommended to ensure consistency across distributed systems and to prevent confusion during daylight saving time transitions. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that the application only stores or broadcasts logs to the files and services that are documented in the log inventory. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that logs can be read and correlated by the log processor that is in use, preferably by using a common logging format. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that when logging sensitive data, the application enforces logging based on the data's protection level. For example, it may not be allowed to log certain data, such as credentials or payment details. Other data, such as session tokens, may only be logged by being hashed or masked, either in full or partially. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that all authentication operations are logged, including successful and unsuccessful attempts. Additional metadata, such as the type of authentication or factors used, should also be collected. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that failed authorization attempts are logged. For L3, this must include logging all authorization decisions, including logging when sensitive data is accessed (without logging the sensitive data itself). ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that the application logs the security events that are defined in the documentation and also logs attempts to bypass the security controls, such as input validation, business logic, and anti-automation. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that the application logs unexpected errors and security control failures such as backend TLS failures. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that all logging components appropriately encode data to prevent log injection. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that logs are protected from unauthorized access and cannot be modified. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that logs are securely transmitted to a logically separate system for analysis, detection, alerting, and escalation. The aim is to ensure that if the application is breached, the logs are not compromised. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that a generic message is returned to the consumer when an unexpected or security-sensitive error occurs, ensuring no exposure of sensitive internal system data such as stack traces, queries, secret keys, and tokens. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that the application continues to operate securely when external resource access fails, for example, by using patterns such as circuit breakers or graceful degradation. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that the application fails gracefully and securely, including when an exception occurs, preventing fail-open conditions such as processing a transaction despite errors resulting from validation logic. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that a "last resort" error handler is defined which will catch all unhandled exceptions. This is both to avoid losing error details that must go to log files and to ensure that an error does not take down the entire application process, leading to a loss of availability. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that the Traversal Using Relays around NAT (TURN) service only allows access to IP addresses that are not reserved for special purposes (e.g., internal networks, broadcast, loopback). Note that this applies to both IPv4 and IPv6 addresses. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that the Traversal Using Relays around NAT (TURN) service is not susceptible to resource exhaustion when legitimate users attempt to open a large number of ports on the TURN server. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that the key for the Datagram Transport Layer Security (DTLS) certificate is managed and protected based on the documented policy for management of cryptographic keys. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that the media server is configured to use and support approved Datagram Transport Layer Security (DTLS) cipher suites and a secure protection profile for the DTLS Extension for establishing keys for the Secure Real-time Transport Protocol (DTLS-SRTP). ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that Secure Real-time Transport Protocol (SRTP) authentication is checked at the media server to prevent Real-time Transport Protocol (RTP) injection attacks from leading to either a Denial of Service condition or audio or video media insertion into media streams. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that the media server is able to continue processing incoming media traffic when encountering malformed Secure Real-time Transport Protocol (SRTP) packets. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that the media server is able to continue processing incoming media traffic during a flood of Secure Real-time Transport Protocol (SRTP) packets from legitimate users. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that the media server is not susceptible to the "ClientHello" Race Condition vulnerability in Datagram Transport Layer Security (DTLS) by checking if the media server is publicly known to be vulnerable or by performing the race condition test. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that any audio or video recording mechanisms associated with the media server are able to continue processing incoming media traffic during a flood of Secure Real-time Transport Protocol (SRTP) packets from legitimate users. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that the Datagram Transport Layer Security (DTLS) certificate is checked against the Session Description Protocol (SDP) fingerprint attribute, terminating the media stream if the check fails, to ensure the authenticity of the media stream. ASVS level 3.
- Abstraction
- requirement
- Status
- stable
Verify that the signaling server is able to continue processing legitimate incoming signaling messages during a flood attack. This should be achieved by implementing rate limiting at the signaling level. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
Verify that the signaling server is able to continue processing legitimate signaling messages when encountering malformed signaling message that could cause a denial of service condition. This could include implementing input validation, safely handling integer overflows, preventing buffer overflows, and employing other robust error-handling techniques. ASVS level 2.
- Abstraction
- requirement
- Status
- stable
A standard attack pattern of CAPEC. It uses the weaknesses CWE-276, CWE-285, CWE-693, CWE-732, CWE-1191, CWE-1193, CWE-1220, CWE-1297, CWE-1311, CWE-1314, CWE-1315, CWE-1318, CWE-1320, CWE-1321 and CWE-1327.
- Abstraction
- standard
- Status
- draft
See Privilege Abuse.
A standard attack pattern of CAPEC. It uses the weakness CWE-645.
- Abstraction
- standard
- Status
- draft
See Functionality Misuse.
A detailed attack pattern of CAPEC. It uses the weaknesses CWE-41, CWE-74, CWE-172, CWE-173, CWE-179, CWE-180, CWE-181, CWE-183, CWE-184, CWE-697 and CWE-707.
- Abstraction
- detailed
- Status
- draft
See Leverage Alternate Encoding.
A detailed attack pattern of CAPEC. It uses the weaknesses CWE-173 and CWE-291.
- Abstraction
- detailed
- Status
- draft
See Leverage Alternate Encoding.
A detailed attack pattern of CAPEC. It uses the weakness CWE-285.
- Abstraction
- detailed
- Status
- obsolete
See Client-Server Protocol Manipulation.
A standard attack pattern of CAPEC. It uses the weaknesses CWE-74, CWE-146, CWE-184, CWE-185 and CWE-697.
- Abstraction
- standard
- Status
- draft
See Parameter Injection.
A detailed attack pattern of CAPEC. It uses the weaknesses CWE-74, CWE-209, CWE-697 and CWE-707.
- Abstraction
- detailed
- Status
- draft
See SQL Injection.
A detailed attack pattern of CAPEC. It uses the weaknesses CWE-74, CWE-118, CWE-119, CWE-120, CWE-680, CWE-697 and CWE-733.
- Abstraction
- detailed
- Status
- draft
See Overflow Buffers.
A detailed attack pattern of CAPEC. It uses the weaknesses CWE-74, CWE-118, CWE-119, CWE-120, CWE-680, CWE-697 and CWE-733.
- Abstraction
- detailed
- Status
- draft
See Overflow Buffers.
A detailed attack pattern of CAPEC. It uses the weaknesses CWE-74, CWE-99, CWE-118, CWE-119, CWE-120, CWE-302, CWE-680, CWE-697 and CWE-733.
- Abstraction
- detailed
- Status
- draft
See Overflow Buffers.
A detailed attack pattern of CAPEC. It uses the weakness CWE-430.
- Abstraction
- detailed
- Status
- draft
See Alternative Execution Due to Deceptive Filenames.
A standard attack pattern of CAPEC. It uses the weakness CWE-201.
- Abstraction
- standard
- Status
- draft
See Communication Channel Manipulation.
A detailed attack pattern of CAPEC. It uses the weaknesses CWE-15, CWE-73, CWE-74, CWE-285, CWE-302 and CWE-353.
- Abstraction
- detailed
- Status
- stable
See Manipulating User-Controlled Variables.
A detailed attack pattern of CAPEC. It uses the weaknesses CWE-74, CWE-118, CWE-119, CWE-120, CWE-353, CWE-680 and CWE-697.
- Abstraction
- detailed
- Status
- draft
See Overflow Buffers.
A standard attack pattern of CAPEC. It uses the weaknesses CWE-77, CWE-93, CWE-138, CWE-140, CWE-146, CWE-154, CWE-157, CWE-184, CWE-185 and CWE-697.
- Abstraction
- standard
- Status
- draft
See Parameter Injection.
A detailed attack pattern of CAPEC. It uses the weaknesses CWE-262, CWE-263, CWE-307, CWE-308, CWE-309, CWE-521 and CWE-654.
- Abstraction
- detailed
- Status
- draft
See Password Brute Forcing.
A standard attack pattern of CAPEC. It uses the weaknesses CWE-59, CWE-270, CWE-272, CWE-282, CWE-285, CWE-693 and CWE-732.
- Abstraction
- standard
- Status
- draft
See Privilege Abuse.
A detailed attack pattern of CAPEC. It uses the weakness CWE-80.
- Abstraction
- detailed
- Status
- draft
See Reflected XSS, Stored XSS, DOM-Based XSS.
A standard attack pattern of CAPEC. It uses the weakness CWE-284.
- Abstraction
- standard
- Status
- stable
See Code Injection.
A standard attack pattern of CAPEC. It uses the weaknesses CWE-326, CWE-327, CWE-693 and CWE-1204.
- Abstraction
- standard
- Status
- draft
See Brute Force.
A meta attack pattern of CAPEC. It uses the weaknesses CWE-6, CWE-290, CWE-302, CWE-346, CWE-384, CWE-539, CWE-602, CWE-642 and CWE-664.
- Abstraction
- meta
- Status
- stable
A meta attack pattern of CAPEC. It uses the weaknesses CWE-287, CWE-290 and CWE-693.
- Abstraction
- meta
- Status
- draft
A standard attack pattern of CAPEC.
- Abstraction
- standard
- Status
- draft
See Code Injection.
A detailed attack pattern of CAPEC. It uses the weaknesses CWE-74, CWE-118, CWE-119, CWE-120, CWE-680, CWE-697 and CWE-733.
- Abstraction
- detailed
- Status
- draft
See Overflow Buffers.
A meta attack pattern of CAPEC. It uses the weaknesses CWE-412, CWE-567, CWE-662, CWE-667, CWE-833 and CWE-1322.
- Abstraction
- meta
- Status
- stable
A meta attack pattern of CAPEC. It uses the weaknesses CWE-362, CWE-363, CWE-366, CWE-368, CWE-370, CWE-662, CWE-665, CWE-667, CWE-689, CWE-1223, CWE-1254 and CWE-1298.
- Abstraction
- meta
- Status
- stable
A detailed attack pattern of CAPEC. It uses the weaknesses CWE-61, CWE-367, CWE-662, CWE-667 and CWE-689.
- Abstraction
- detailed
- Status
- draft
See Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions.
A meta attack pattern of CAPEC. It uses the weakness CWE-74.
- Abstraction
- meta
- Status
- draft
A standard attack pattern of CAPEC. It uses the weaknesses CWE-362, CWE-366, CWE-367, CWE-368, CWE-370, CWE-662, CWE-663, CWE-665 and CWE-691.
- Abstraction
- standard
- Status
- draft
See Leveraging Race Conditions.
A standard attack pattern of CAPEC. It uses the weakness CWE-270.
- Abstraction
- standard
- Status
- draft
See Privilege Escalation.
A detailed attack pattern of CAPEC. It uses the weaknesses CWE-113, CWE-302, CWE-311, CWE-315, CWE-384, CWE-472, CWE-539, CWE-565, CWE-602 and CWE-642.
- Abstraction
- detailed
- Status
- draft
See Manipulating Opaque Client-based Data Tokens, Sniffing Attacks.
A detailed attack pattern of CAPEC. It uses the weakness CWE-80.
- Abstraction
- detailed
- Status
- draft
See Reflected XSS, DOM-Based XSS, Stored XSS.
A detailed attack pattern of CAPEC. It uses the weakness CWE-444.
- Abstraction
- detailed
- Status
- stable
See Client-Server Protocol Manipulation.
A detailed attack pattern of CAPEC. It uses the weaknesses CWE-74, CWE-113, CWE-138 and CWE-436.
- Abstraction
- detailed
- Status
- stable
See Client-Server Protocol Manipulation.
A detailed attack pattern of CAPEC. It uses the weaknesses CWE-59, CWE-95, CWE-96, CWE-97, CWE-270, CWE-272 and CWE-282.
- Abstraction
- detailed
- Status
- draft
See Hiding Malicious Data or Code within Files.
A standard attack pattern of CAPEC. It uses the weaknesses CWE-693, CWE-695 and CWE-1242.
- Abstraction
- standard
- Status
- draft
See Interface Manipulation.
A detailed attack pattern of CAPEC. It uses the weaknesses CWE-226, CWE-311, CWE-312, CWE-314, CWE-315, CWE-318, CWE-525, CWE-1239, CWE-1258, CWE-1266, CWE-1272, CWE-1278, CWE-1301 and CWE-1330.
- Abstraction
- detailed
- Status
- draft
See White Box Reverse Engineering.
A detailed attack pattern of CAPEC. It uses the weaknesses CWE-426 and CWE-427.
- Abstraction
- detailed
- Status
- draft
See Redirect Access to Libraries.
A standard attack pattern of CAPEC. It uses the weaknesses CWE-233, CWE-285, CWE-302, CWE-315, CWE-353, CWE-384, CWE-472, CWE-539 and CWE-565.
- Abstraction
- standard
- Status
- draft
See Exploiting Trust in Client.
A standard attack pattern of CAPEC. It uses the weakness CWE-77.
- Abstraction
- standard
- Status
- draft
See Command Injection.
A detailed attack pattern of CAPEC. It uses the weaknesses CWE-88, CWE-150 and CWE-697.
- Abstraction
- detailed
- Status
- draft
See Code Injection, Email Injection.
A detailed attack pattern of CAPEC. It uses the weaknesses CWE-74, CWE-119 and CWE-120.
- Abstraction
- detailed
- Status
- draft
See Overflow Buffers.
A detailed attack pattern of CAPEC. It uses the weaknesses CWE-74, CWE-77, CWE-179, CWE-181, CWE-183, CWE-184, CWE-697 and CWE-707.
- Abstraction
- detailed
- Status
- draft
See Leverage Alternate Encoding.
A detailed attack pattern of CAPEC. It uses the weaknesses CWE-119, CWE-120 and CWE-697.
- Abstraction
- detailed
- Status
- draft
See Overflow Buffers, File Content Injection.
A detailed attack pattern of CAPEC. It uses the weaknesses CWE-74, CWE-118, CWE-119, CWE-120, CWE-285, CWE-302, CWE-680 and CWE-697.
- Abstraction
- detailed
- Status
- draft
See Overflow Buffers.
A detailed attack pattern of CAPEC. It uses the weaknesses CWE-74, CWE-118, CWE-119, CWE-120, CWE-680, CWE-697 and CWE-733.
- Abstraction
- detailed
- Status
- draft
See Overflow Buffers.
A detailed attack pattern of CAPEC. It uses the weaknesses CWE-74, CWE-118, CWE-119, CWE-120, CWE-130, CWE-131, CWE-680 and CWE-697.
- Abstraction
- detailed
- Status
- draft
See Overflow Buffers.
A standard attack pattern of CAPEC. It uses the weaknesses CWE-241 and CWE-706.
- Abstraction
- standard
- Status
- draft
See Functionality Misuse.
A standard attack pattern of CAPEC. It uses the weaknesses CWE-257, CWE-262, CWE-263, CWE-307, CWE-308, CWE-309, CWE-521 and CWE-654.
- Abstraction
- standard
- Status
- draft
See Brute Force.
A standard attack pattern of CAPEC. It uses the weaknesses CWE-522 and CWE-640.
- Abstraction
- standard
- Status
- draft
See Functionality Misuse.
A detailed attack pattern of CAPEC. It uses the weaknesses CWE-74, CWE-285 and CWE-693.
- Abstraction
- detailed
- Status
- draft
See Manipulate Registry Information.
A detailed attack pattern of CAPEC. It uses the weaknesses CWE-74, CWE-158, CWE-172, CWE-173, CWE-697 and CWE-707.
- Abstraction
- detailed
- Status
- draft
See Leverage Alternate Encoding.
A detailed attack pattern of CAPEC. It uses the weaknesses CWE-74, CWE-158, CWE-172, CWE-173, CWE-697 and CWE-707.
- Abstraction
- detailed
- Status
- draft
See Leverage Alternate Encoding.
A standard attack pattern of CAPEC. It uses the weakness CWE-209.
- Abstraction
- standard
- Status
- draft
See Excavation.
A detailed attack pattern of CAPEC. It uses the weaknesses CWE-261, CWE-262, CWE-263, CWE-308, CWE-309, CWE-521, CWE-654 and CWE-916.
- Abstraction
- detailed
- Status
- draft
See Password Brute Forcing.