compliance-owasp 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,611 +2,1219 @@
2
2
  "requirements": [
3
3
  {
4
4
  "id": "OWASP-ASVS-V1.5.1",
5
+ "scope": [
6
+ "Architecture, Design and Threat Modeling",
7
+ "Input and Output Architecture"
8
+ ],
5
9
  "description": "Verify that input and output requirements clearly define how to handle and process data based on type and content."
6
10
  },
7
11
  {
8
12
  "id": "OWASP-ASVS-V1.8.1",
13
+ "scope": [
14
+ "Architecture, Design and Threat Modeling",
15
+ "Data Protection and Privacy Architecture"
16
+ ],
9
17
  "description": "Verify that all sensitive data created and processed by the application has been identified and classified into protection levels, and ensure that a policy is in place on how to deal with sensitive data."
10
18
  },
11
19
  {
12
20
  "id": "OWASP-ASVS-V2.1.1",
21
+ "scope": [
22
+ "Authentication",
23
+ "Password Security"
24
+ ],
13
25
  "description": "Verify that user set passwords are at least 8 characters in length."
14
26
  },
15
27
  {
16
28
  "id": "OWASP-ASVS-V2.1.2",
29
+ "scope": [
30
+ "Authentication",
31
+ "Password Security"
32
+ ],
17
33
  "description": "Verify that passwords of at least 64 characters are permitted, and that passwords of more than 128 characters are denied."
18
34
  },
19
35
  {
20
36
  "id": "OWASP-ASVS-V2.1.3",
37
+ "scope": [
38
+ "Authentication",
39
+ "Password Security"
40
+ ],
21
41
  "description": "Verify that the application verifies the user's password exactly as received from the user, without any modifications such as truncation or case transformation."
22
42
  },
23
43
  {
24
44
  "id": "OWASP-ASVS-V2.1.4",
45
+ "scope": [
46
+ "Authentication",
47
+ "Password Security"
48
+ ],
25
49
  "description": "Verify that any printable Unicode character, including language neutral characters such as spaces and Emojis are permitted in passwords."
26
50
  },
27
51
  {
28
52
  "id": "OWASP-ASVS-V2.1.5",
53
+ "scope": [
54
+ "Authentication",
55
+ "Password Security"
56
+ ],
29
57
  "description": "Verify users can change their password."
30
58
  },
31
59
  {
32
60
  "id": "OWASP-ASVS-V2.1.6",
61
+ "scope": [
62
+ "Authentication",
63
+ "Password Security"
64
+ ],
33
65
  "description": "Verify that password change functionality requires the user's current and new password."
34
66
  },
35
67
  {
36
68
  "id": "OWASP-ASVS-V2.1.7",
69
+ "scope": [
70
+ "Authentication",
71
+ "Password Security"
72
+ ],
37
73
  "description": "Verify that passwords submitted during account registration or password change are checked against an available set of, at least, the top 3000 passwords."
38
74
  },
39
75
  {
40
76
  "id": "OWASP-ASVS-V2.1.9",
77
+ "scope": [
78
+ "Authentication",
79
+ "Password Security"
80
+ ],
41
81
  "description": "Verify that there are no password composition rules limiting the type of characters permitted. There should be no requirement for upper or lower case or numbers or special characters."
42
82
  },
43
83
  {
44
84
  "id": "OWASP-ASVS-V2.1.11",
85
+ "scope": [
86
+ "Authentication",
87
+ "Password Security"
88
+ ],
45
89
  "description": "Verify that \"paste\" functionality, browser password helpers, and external password managers are permitted."
46
90
  },
47
91
  {
48
92
  "id": "OWASP-ASVS-V2.1.12",
93
+ "scope": [
94
+ "Authentication",
95
+ "Password Security"
96
+ ],
49
97
  "description": "Verify that password input fields use type=password to mask the entry. Applications may allow the user to temporarily view the entire masked password, or the last typed character of the password."
50
98
  },
51
99
  {
52
100
  "id": "OWASP-ASVS-V2.2.1",
101
+ "scope": [
102
+ "Authentication",
103
+ "General Authenticator Security"
104
+ ],
53
105
  "description": "Verify that anti-automation controls are effective at mitigating breached credential testing, brute force, and account lockout attacks. Such controls include blocking the most common breached passwords, soft lockouts, rate limiting, CAPTCHA, ever increasing delays between attempts, IP address restrictions, or risk-based restrictions such as location, first login on a device, recent attempts to unlock the account, or similar. More than 5 failed authentication attempts per hour for a single account should trigger some sort of reaction or alert."
54
106
  },
55
107
  {
56
108
  "id": "OWASP-ASVS-V2.2.2",
109
+ "scope": [
110
+ "Authentication",
111
+ "General Authenticator Security"
112
+ ],
57
113
  "description": "Verify that restricted authenticators (those using PSTN to deliver OTPs via phone or SMS) are offered only when alternate stronger methods are also offered and when the service provides information on their security risks to users."
58
114
  },
59
115
  {
60
116
  "id": "OWASP-ASVS-V2.2.3",
117
+ "scope": [
118
+ "Authentication",
119
+ "General Authenticator Security"
120
+ ],
61
121
  "description": "Verify that users are notified after updates to authentication details, such as credential resets or modification of the username or email address."
62
122
  },
63
123
  {
64
124
  "id": "OWASP-ASVS-V2.2.12",
125
+ "scope": [
126
+ "Authentication",
127
+ "General Authenticator Security"
128
+ ],
65
129
  "description": "Verify that email is not used as either a single-factor or multi-factor authentication mechanism."
66
130
  },
67
131
  {
68
132
  "id": "OWASP-ASVS-V2.3.1",
133
+ "scope": [
134
+ "Authentication",
135
+ "Authenticator Lifecycle"
136
+ ],
69
137
  "description": "Verify system generated initial passwords or activation codes are securely randomly generated, at least 6 characters long, may contain letters and numbers, expire after a short period of time, and are single-use. These initial secrets must not be permitted to become the long term password."
70
138
  },
71
139
  {
72
140
  "id": "OWASP-ASVS-V2.3.4",
141
+ "scope": [
142
+ "Authentication",
143
+ "Authenticator Lifecycle"
144
+ ],
73
145
  "description": "System administrators should not be able to change or choose any user's password, but rather only be able to initiate the password reset process for the user."
74
146
  },
75
147
  {
76
148
  "id": "OWASP-ASVS-V2.5.2",
149
+ "scope": [
150
+ "Authentication",
151
+ "Credential Recovery"
152
+ ],
77
153
  "description": "Verify password hints or knowledge-based authentication (so-called \"secret questions\") are not present."
78
154
  },
79
155
  {
80
156
  "id": "OWASP-ASVS-V2.5.4",
157
+ "scope": [
158
+ "Authentication",
159
+ "Credential Recovery"
160
+ ],
81
161
  "description": "Verify that default user accounts (e.g. \"root\", \"admin\", or \"sa\") are not present in the application or are disabled."
82
162
  },
83
163
  {
84
164
  "id": "OWASP-ASVS-V2.5.6",
165
+ "scope": [
166
+ "Authentication",
167
+ "Credential Recovery"
168
+ ],
85
169
  "description": "Verify forgotten password, and other recovery paths use a secure recovery mechanism, such as time-based OTP (TOTP) or other soft token, mobile push, or another offline recovery mechanism."
86
170
  },
87
171
  {
88
172
  "id": "OWASP-ASVS-V2.5.7",
173
+ "scope": [
174
+ "Authentication",
175
+ "Credential Recovery"
176
+ ],
89
177
  "description": "Verify that if OTP or multi-factor authentication factors are lost, that evidence of identity proofing is performed at the same level as during enrollment."
90
178
  },
91
179
  {
92
180
  "id": "OWASP-ASVS-V2.7.1",
181
+ "scope": [
182
+ "Authentication",
183
+ "Out-of-Band Verifier"
184
+ ],
93
185
  "description": "Verify that cleartext out-of-band (NIST \"restricted\") authenticators, such as SMS or PSTN, are not offered by default, and stronger alternatives such as push notifications are offered first."
94
186
  },
95
187
  {
96
188
  "id": "OWASP-ASVS-V2.7.2",
189
+ "scope": [
190
+ "Authentication",
191
+ "Out-of-Band Verifier"
192
+ ],
97
193
  "description": "Verify that the out-of-band verifier expires out-of-band authentication requests, codes, or tokens within 10 minutes."
98
194
  },
99
195
  {
100
196
  "id": "OWASP-ASVS-V2.7.3",
197
+ "scope": [
198
+ "Authentication",
199
+ "Out-of-Band Verifier"
200
+ ],
101
201
  "description": "Verify that the out-of-band verifier authentication requests, codes, or tokens are only usable once, and only for the original authentication request."
102
202
  },
103
203
  {
104
204
  "id": "OWASP-ASVS-V2.7.4",
205
+ "scope": [
206
+ "Authentication",
207
+ "Out-of-Band Verifier"
208
+ ],
105
209
  "description": "Verify that the out-of-band authenticator and verifier communicates over a secure independent channel."
106
210
  },
107
211
  {
108
212
  "id": "OWASP-ASVS-V2.8.1",
213
+ "scope": [
214
+ "Authentication",
215
+ "One-Time Verifier"
216
+ ],
109
217
  "description": "Verify that time-based OTPs have a defined lifetime before expiring."
110
218
  },
111
219
  {
112
220
  "id": "OWASP-ASVS-V3.1.2",
221
+ "scope": [
222
+ "Session Management",
223
+ "Fundamental Session Management Security"
224
+ ],
113
225
  "description": "Verify that the application performs all session token verification using a trusted, back-end service."
114
226
  },
115
227
  {
116
228
  "id": "OWASP-ASVS-V3.1.3",
229
+ "scope": [
230
+ "Session Management",
231
+ "Fundamental Session Management Security"
232
+ ],
117
233
  "description": "Verify that the application uses either cryptographically signed or opaque tokens for session management. Static API secrets and keys should be avoided."
118
234
  },
119
235
  {
120
236
  "id": "OWASP-ASVS-V3.2.1",
237
+ "scope": [
238
+ "Session Management",
239
+ "Session Binding"
240
+ ],
121
241
  "description": "Verify the application generates a new session token on user authentication, including re-authentication, and terminates the current session token."
122
242
  },
123
243
  {
124
244
  "id": "OWASP-ASVS-V3.2.2",
245
+ "scope": [
246
+ "Session Management",
247
+ "Session Binding"
248
+ ],
125
249
  "description": "Verify that opaque session tokens possess at least 128 bits of entropy."
126
250
  },
127
251
  {
128
252
  "id": "OWASP-ASVS-V3.3.2",
253
+ "scope": [
254
+ "Session Management",
255
+ "Session Timeout"
256
+ ],
129
257
  "description": "Verify that there is an absolute maximum session lifetime such that re-authentication is required at least every 30 days for L1 applications or every 12 hours for L2 and L3 applications."
130
258
  },
131
259
  {
132
260
  "id": "OWASP-ASVS-V3.4.1",
261
+ "scope": [
262
+ "Session Management",
263
+ "Cookie-based Session Management"
264
+ ],
133
265
  "description": "Verify that cookie-based session tokens have the 'Secure' attribute set."
134
266
  },
135
267
  {
136
268
  "id": "OWASP-ASVS-V3.4.2",
269
+ "scope": [
270
+ "Session Management",
271
+ "Cookie-based Session Management"
272
+ ],
137
273
  "description": "Verify that cookie-based session tokens are not readable by client-side scripts. The session token cookie should have the 'HttpOnly' attribute set and the session token value should only be transferred to the client via the Set-Cookie header."
138
274
  },
139
275
  {
140
276
  "id": "OWASP-ASVS-V3.4.3",
277
+ "scope": [
278
+ "Session Management",
279
+ "Cookie-based Session Management"
280
+ ],
141
281
  "description": "Verify that cookie-based session tokens utilize the 'SameSite' attribute to limit exposure to cross-site request forgery attacks."
142
282
  },
143
283
  {
144
284
  "id": "OWASP-ASVS-V3.4.4",
285
+ "scope": [
286
+ "Session Management",
287
+ "Cookie-based Session Management"
288
+ ],
145
289
  "description": "Verify that cookie-based session tokens use the \"__Host-\" prefix so cookies are only sent to the host that initially set the cookie."
146
290
  },
147
291
  {
148
292
  "id": "OWASP-ASVS-V3.5.3",
293
+ "scope": [
294
+ "Session Management",
295
+ "Token-based Session Management"
296
+ ],
149
297
  "description": "Verify that stateless session tokens make use of a digital signature to protect against tampering and this is checked before processing it further."
150
298
  },
151
299
  {
152
300
  "id": "OWASP-ASVS-V3.5.4",
301
+ "scope": [
302
+ "Session Management",
303
+ "Token-based Session Management"
304
+ ],
153
305
  "description": "Verify that stateless tokens are checked for expiration before processing them further."
154
306
  },
155
307
  {
156
308
  "id": "OWASP-ASVS-V3.5.5",
309
+ "scope": [
310
+ "Session Management",
311
+ "Token-based Session Management"
312
+ ],
157
313
  "description": "Verify that only allow-listed signing algorithms are allowed for a stateless token."
158
314
  },
159
315
  {
160
316
  "id": "OWASP-ASVS-V3.5.6",
317
+ "scope": [
318
+ "Session Management",
319
+ "Token-based Session Management"
320
+ ],
161
321
  "description": "Verify that other, security-sensitive attributes of a stateless token are being verified. For example, in a JWT this may include issuer, subject, and audience."
162
322
  },
163
323
  {
164
324
  "id": "OWASP-ASVS-V3.5.7",
325
+ "scope": [
326
+ "Session Management",
327
+ "Token-based Session Management"
328
+ ],
165
329
  "description": "Verify that all active stateless tokens, which are being relied upon for access control decisions, are revoked when admins change the entitlements or roles of the user."
166
330
  },
167
331
  {
168
332
  "id": "OWASP-ASVS-V3.7.1",
333
+ "scope": [
334
+ "Session Management",
335
+ "Defenses Against Session Management Exploits"
336
+ ],
169
337
  "description": "Verify that the application requires re-authentication or secondary verification before allowing highly sensitive transactions or modifications to account profile or authentication settings."
170
338
  },
171
339
  {
172
340
  "id": "OWASP-ASVS-V3.8.1",
341
+ "scope": [
342
+ "Session Management",
343
+ "Session Termination"
344
+ ],
173
345
  "description": "Verify that logout and expiration terminate the user's session, such that the back button or a downstream relying party cannot resume an authenticated session."
174
346
  },
175
347
  {
176
348
  "id": "OWASP-ASVS-V3.8.2",
349
+ "scope": [
350
+ "Session Management",
351
+ "Session Termination"
352
+ ],
177
353
  "description": "Verify that the application gives the option to terminate all other active sessions after a successful change or removal of any authentication factor (including password change via reset or recovery and, if present, an MFA settings update)."
178
354
  },
179
355
  {
180
356
  "id": "OWASP-ASVS-V3.8.5",
357
+ "scope": [
358
+ "Session Management",
359
+ "Session Termination"
360
+ ],
181
361
  "description": "Verify that the application terminates all active sessions when a user account is disabled or deleted (such as an employee leaving the company)."
182
362
  },
183
363
  {
184
364
  "id": "OWASP-ASVS-V3.8.6",
365
+ "scope": [
366
+ "Session Management",
367
+ "Session Termination"
368
+ ],
185
369
  "description": "Verify that application administrators are able to terminate active sessions for an individual user or for all users."
186
370
  },
187
371
  {
188
372
  "id": "OWASP-ASVS-V4.1.1",
373
+ "scope": [
374
+ "Access Control",
375
+ "General Access Control Design"
376
+ ],
189
377
  "description": "Verify that the application enforces access control rules at a trusted service layer and doesn't rely on controls which an untrusted user could manipulate such as client-side JavaScript."
190
378
  },
191
379
  {
192
380
  "id": "OWASP-ASVS-V4.1.2",
381
+ "scope": [
382
+ "Access Control",
383
+ "General Access Control Design"
384
+ ],
193
385
  "description": "Verify that specific controls exist to prevent end users from making changes to access control policy information, such as user roles, permissions, and feature access levels, unless they are explicitly authorized to do so."
194
386
  },
195
387
  {
196
388
  "id": "OWASP-ASVS-V4.1.3",
389
+ "scope": [
390
+ "Access Control",
391
+ "General Access Control Design"
392
+ ],
197
393
  "description": "Verify that the principle of least privilege exists - users should only be able to access functions, data files, URLs, controllers, services, and other resources, for which they possess specific authorization. This implies protection against spoofing and elevation of privilege."
198
394
  },
199
395
  {
200
396
  "id": "OWASP-ASVS-V4.1.5",
397
+ "scope": [
398
+ "Access Control",
399
+ "General Access Control Design"
400
+ ],
201
401
  "description": "Verify that access controls fail securely by denying access, including when an exception occurs."
202
402
  },
203
403
  {
204
404
  "id": "OWASP-ASVS-V4.2.1",
405
+ "scope": [
406
+ "Access Control",
407
+ "Operation Level Access Control"
408
+ ],
205
409
  "description": "Verify that sensitive data and APIs are protected against Insecure Direct Object Reference (IDOR) attacks targeting creation, reading, updating and deletion of records, such as creating or updating someone else's record, viewing everyone's records, or deleting all records."
206
410
  },
207
411
  {
208
412
  "id": "OWASP-ASVS-V4.3.1",
413
+ "scope": [
414
+ "Access Control",
415
+ "Other Access Control Considerations"
416
+ ],
209
417
  "description": "Verify administrative interfaces can only be logically accessed from trusted endpoints or locations. For example, restricting access to bastion or jump hosts, trusted admin workstations or endpoints (e.g., device authentication), administrative LANs, etc."
210
418
  },
211
419
  {
212
420
  "id": "OWASP-ASVS-V5.1.1",
421
+ "scope": [
422
+ "Validation, Sanitization and Encoding",
423
+ "Input Validation"
424
+ ],
213
425
  "description": "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 headers)."
214
426
  },
215
427
  {
216
428
  "id": "OWASP-ASVS-V5.1.2",
429
+ "scope": [
430
+ "Validation, Sanitization and Encoding",
431
+ "Input Validation"
432
+ ],
217
433
  "description": "Verify that frameworks protect against mass parameter assignment attacks, or that the application has countermeasures to protect against unsafe parameter assignment, such as marking fields private or similar."
218
434
  },
219
435
  {
220
436
  "id": "OWASP-ASVS-V5.1.3",
437
+ "scope": [
438
+ "Validation, Sanitization and Encoding",
439
+ "Input Validation"
440
+ ],
221
441
  "description": "Verify that all input is validated using positive validation, using an allowed list of values or patterns."
222
442
  },
223
443
  {
224
444
  "id": "OWASP-ASVS-V5.1.4",
445
+ "scope": [
446
+ "Validation, Sanitization and Encoding",
447
+ "Input Validation"
448
+ ],
225
449
  "description": "Verify that structured data is strongly typed and validated against a defined schema including allowed characters, length and pattern (e.g. credit card numbers, e-mail addresses, telephone numbers, or validating that two related fields are reasonable, such as checking that suburb and zipcode match)."
226
450
  },
227
451
  {
228
452
  "id": "OWASP-ASVS-V5.1.5",
453
+ "scope": [
454
+ "Validation, Sanitization and Encoding",
455
+ "Input Validation"
456
+ ],
229
457
  "description": "Verify that the application will only automatically redirect the user to a different URL directly from an application URL where the destination appears on an allow list."
230
458
  },
231
459
  {
232
460
  "id": "OWASP-ASVS-V5.2.1",
461
+ "scope": [
462
+ "Validation, Sanitization and Encoding",
463
+ "Sanitization and Sandboxing"
464
+ ],
233
465
  "description": "Verify that all untrusted HTML input from WYSIWYG editors or similar is properly sanitized using a well-known and secure HTML sanitization library or framework feature."
234
466
  },
235
467
  {
236
468
  "id": "OWASP-ASVS-V5.2.2",
469
+ "scope": [
470
+ "Validation, Sanitization and Encoding",
471
+ "Sanitization and Sandboxing"
472
+ ],
237
473
  "description": "Verify that unstructured data is sanitized to enforce safety measures such as allowed characters and length."
238
474
  },
239
475
  {
240
476
  "id": "OWASP-ASVS-V5.2.3",
477
+ "scope": [
478
+ "Validation, Sanitization and Encoding",
479
+ "Sanitization and Sandboxing"
480
+ ],
241
481
  "description": "Verify that the application sanitizes user input before passing to mail systems to protect against SMTP or IMAP injection."
242
482
  },
243
483
  {
244
484
  "id": "OWASP-ASVS-V5.2.4",
485
+ "scope": [
486
+ "Validation, Sanitization and Encoding",
487
+ "Sanitization and Sandboxing"
488
+ ],
245
489
  "description": "Verify that the application avoids the use of eval() or other dynamic code execution features. Where there is no alternative, any user input being included must be sanitized or sandboxed before being executed."
246
490
  },
247
491
  {
248
492
  "id": "OWASP-ASVS-V5.2.5",
493
+ "scope": [
494
+ "Validation, Sanitization and Encoding",
495
+ "Sanitization and Sandboxing"
496
+ ],
249
497
  "description": "Verify that the application protects against template injection attacks by not allowing templates to be built based on untrusted input. Where there is no alternative, any untrusted input being included dynamically during template creation must be sanitized or strictly validated."
250
498
  },
251
499
  {
252
500
  "id": "OWASP-ASVS-V5.2.6",
501
+ "scope": [
502
+ "Validation, Sanitization and Encoding",
503
+ "Sanitization and Sandboxing"
504
+ ],
253
505
  "description": "Verify that the application protects against SSRF attacks, by validating or sanitizing untrusted data or HTTP file metadata, such as filenames and URL input fields, and uses allow lists of protocols, domains, paths and ports."
254
506
  },
255
507
  {
256
508
  "id": "OWASP-ASVS-V5.2.7",
509
+ "scope": [
510
+ "Validation, Sanitization and Encoding",
511
+ "Sanitization and Sandboxing"
512
+ ],
257
513
  "description": "Verify that the application sanitizes, disables, or sandboxes user-supplied Scalable Vector Graphics (SVG) scriptable content, especially as they relate to XSS resulting from inline scripts, and foreignObject."
258
514
  },
259
515
  {
260
516
  "id": "OWASP-ASVS-V5.2.8",
517
+ "scope": [
518
+ "Validation, Sanitization and Encoding",
519
+ "Sanitization and Sandboxing"
520
+ ],
261
521
  "description": "Verify that the application sanitizes, disables, or sandboxes user-supplied scriptable or expression template language content, such as Markdown, CSS or XSL stylesheets, BBCode, or similar."
262
522
  },
263
523
  {
264
524
  "id": "OWASP-ASVS-V5.2.9",
525
+ "scope": [
526
+ "Validation, Sanitization and Encoding",
527
+ "Sanitization and Sandboxing"
528
+ ],
265
529
  "description": "Verify that the application uses slashes to correctly escape special characters being used in regular expressions to ensure they are not misinterpreted as control characters."
266
530
  },
267
531
  {
268
532
  "id": "OWASP-ASVS-V5.2.10",
533
+ "scope": [
534
+ "Validation, Sanitization and Encoding",
535
+ "Sanitization and Sandboxing"
536
+ ],
269
537
  "description": "Verify that regular expressions are free from elements causing exponential backtracking, and ensure untrusted input is sanitized to mitigate ReDoS or Runaway Regex attacks."
270
538
  },
271
539
  {
272
540
  "id": "OWASP-ASVS-V5.2.11",
541
+ "scope": [
542
+ "Validation, Sanitization and Encoding",
543
+ "Sanitization and Sandboxing"
544
+ ],
273
545
  "description": "Verify that the application appropriately sanitizes untrusted input before use in Java Naming and Directory Interface (JNDI) queries and that JNDI is configured as securely as possible to prevent JNDI injection attacks."
274
546
  },
275
547
  {
276
548
  "id": "OWASP-ASVS-V5.3.1",
549
+ "scope": [
550
+ "Validation, Sanitization and Encoding",
551
+ "Output Encoding and Injection Prevention"
552
+ ],
277
553
  "description": "Verify that output encoding is relevant for the interpreter and context required. For example, use encoders specifically for HTML values, HTML attributes, JavaScript, CSS, URL parameters, HTTP headers, SMTP, and others as the context requires, especially from untrusted inputs (e.g. names with Unicode or apostrophes, such as ねこ or O'Hara)."
278
554
  },
279
555
  {
280
556
  "id": "OWASP-ASVS-V5.3.3",
557
+ "scope": [
558
+ "Validation, Sanitization and Encoding",
559
+ "Output Encoding and Injection Prevention"
560
+ ],
281
561
  "description": "Verify that context-aware, preferably automated - or at worst, manual - output escaping protects against reflected, stored, and DOM based XSS."
282
562
  },
283
563
  {
284
564
  "id": "OWASP-ASVS-V5.3.4",
565
+ "scope": [
566
+ "Validation, Sanitization and Encoding",
567
+ "Output Encoding and Injection Prevention"
568
+ ],
285
569
  "description": "Verify that data selection or database queries (e.g. SQL, HQL, NoSQL, Cypher) use parameterized queries, ORMs, entity frameworks, or are otherwise protected from database injection attacks."
286
570
  },
287
571
  {
288
572
  "id": "OWASP-ASVS-V5.3.6",
573
+ "scope": [
574
+ "Validation, Sanitization and Encoding",
575
+ "Output Encoding and Injection Prevention"
576
+ ],
289
577
  "description": "Verify that the application protects against JSON injection attacks."
290
578
  },
291
579
  {
292
580
  "id": "OWASP-ASVS-V5.3.7",
581
+ "scope": [
582
+ "Validation, Sanitization and Encoding",
583
+ "Output Encoding and Injection Prevention"
584
+ ],
293
585
  "description": "Verify that the application protects against LDAP injection vulnerabilities, or that specific security controls to prevent LDAP injection have been implemented."
294
586
  },
295
587
  {
296
588
  "id": "OWASP-ASVS-V5.3.8",
589
+ "scope": [
590
+ "Validation, Sanitization and Encoding",
591
+ "Output Encoding and Injection Prevention"
592
+ ],
297
593
  "description": "Verify that the application protects against OS command injection and that operating system calls use parameterized OS queries or use contextual command line output encoding."
298
594
  },
299
595
  {
300
596
  "id": "OWASP-ASVS-V5.3.10",
597
+ "scope": [
598
+ "Validation, Sanitization and Encoding",
599
+ "Output Encoding and Injection Prevention"
600
+ ],
301
601
  "description": "Verify that the application protects against XPath injection or XML injection attacks."
302
602
  },
303
603
  {
304
604
  "id": "OWASP-ASVS-V5.3.11",
605
+ "scope": [
606
+ "Validation, Sanitization and Encoding",
607
+ "Output Encoding and Injection Prevention"
608
+ ],
305
609
  "description": "Verify that the application is protected against CSV and Formula Injection. The application should follow the escaping rules defined in RFC4180 2.6 and 2.7 when exporting CSV files. The application should escape special characters including '=', '+', '-', '@' '\\t' (tab) and '\\00' (null character) using a single quote, if they are the first character in a field, when exporting CSV files and other spreadsheet formats such as xls, xlsx, odf."
306
610
  },
307
611
  {
308
612
  "id": "OWASP-ASVS-V5.5.2",
613
+ "scope": [
614
+ "Validation, Sanitization and Encoding",
615
+ "Deserialization Prevention"
616
+ ],
309
617
  "description": "Verify that the application correctly restricts XML parsers to only use the most restrictive configuration possible and to ensure that unsafe features such as resolving external entities are disabled to prevent XML eXternal Entity (XXE) attacks."
310
618
  },
311
619
  {
312
620
  "id": "OWASP-ASVS-V5.5.3",
621
+ "scope": [
622
+ "Validation, Sanitization and Encoding",
623
+ "Deserialization Prevention"
624
+ ],
313
625
  "description": "Verify that deserialization is not used when communicating with untrusted clients. If this is not possible, ensure that deserialization is performed safely, for example, by only allowing a allow-list of object types or not allowing the client to define the object type to deserialize to, in order to prevent deserialization attacks."
314
626
  },
315
627
  {
316
628
  "id": "OWASP-ASVS-V5.5.4",
629
+ "scope": [
630
+ "Validation, Sanitization and Encoding",
631
+ "Deserialization Prevention"
632
+ ],
317
633
  "description": "Verify that when parsing JSON in browsers or JavaScript-based backends, JSON.parse is used to parse the JSON document. Do not use eval() to parse JSON."
318
634
  },
319
635
  {
320
636
  "id": "OWASP-ASVS-V5.6.1",
637
+ "scope": [
638
+ "Validation, Sanitization and Encoding",
639
+ "Validation and Sanitization Architecture"
640
+ ],
321
641
  "description": "Verify that input is decoded or unescaped into a canonical form only once and that this is done before processing the input further, for example it is not performed after input validation or sanitization."
322
642
  },
323
643
  {
324
644
  "id": "OWASP-ASVS-V5.6.2",
645
+ "scope": [
646
+ "Validation, Sanitization and Encoding",
647
+ "Validation and Sanitization Architecture"
648
+ ],
325
649
  "description": "Verify that the application is designed to enforce input validation at a trusted service layer. While client-side validation improves usability, security must not rely on it."
326
650
  },
327
651
  {
328
652
  "id": "OWASP-ASVS-V6.2.1",
653
+ "scope": [
654
+ "Stored Cryptography",
655
+ "Algorithms"
656
+ ],
329
657
  "description": "Verify that all cryptographic modules fail securely, and errors are handled in a way that does not enable Padding Oracle attacks."
330
658
  },
331
659
  {
332
660
  "id": "OWASP-ASVS-V7.1.1",
661
+ "scope": [
662
+ "Error Handling and Logging",
663
+ "General Logging"
664
+ ],
333
665
  "description": "Verify that the application does not log credentials or payment details. Session tokens should only be stored in logs in an irreversible, hashed form."
334
666
  },
335
667
  {
336
668
  "id": "OWASP-ASVS-V7.1.2",
669
+ "scope": [
670
+ "Error Handling and Logging",
671
+ "General Logging"
672
+ ],
337
673
  "description": "Verify that the application does not log other sensitive data as defined under local privacy laws or relevant security policy."
338
674
  },
339
675
  {
340
676
  "id": "OWASP-ASVS-V7.4.1",
677
+ "scope": [
678
+ "Error Handling and Logging",
679
+ "Error Handling"
680
+ ],
341
681
  "description": "Verify that a generic message is shown when an unexpected or security sensitive error occurs, potentially with a unique ID which support personnel can use to investigate."
342
682
  },
343
683
  {
344
684
  "id": "OWASP-ASVS-V8.2.1",
685
+ "scope": [
686
+ "Data Protection",
687
+ "Client-side Data Protection"
688
+ ],
345
689
  "description": "Verify that the application sets sufficient anti-caching headers (i.e. Cache-Control: no-store) so that sensitive data is not cached in browsers."
346
690
  },
347
691
  {
348
692
  "id": "OWASP-ASVS-V8.2.2",
693
+ "scope": [
694
+ "Data Protection",
695
+ "Client-side Data Protection"
696
+ ],
349
697
  "description": "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 which should be stored in either cookies or sessionStorage."
350
698
  },
351
699
  {
352
700
  "id": "OWASP-ASVS-V8.2.3",
701
+ "scope": [
702
+ "Data Protection",
703
+ "Client-side Data Protection"
704
+ ],
353
705
  "description": "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 header\" may be able to help with this but the client-side should also be able to clear up if the server connection is lost."
354
706
  },
355
707
  {
356
708
  "id": "OWASP-ASVS-V8.3.1",
709
+ "scope": [
710
+ "Data Protection",
711
+ "Sensitive Private Data"
712
+ ],
357
713
  "description": "Verify that sensitive data is only sent to the server in the HTTP message body or headers and that the URL and query string do not contain sensitive information, such as an API key or session token."
358
714
  },
359
715
  {
360
716
  "id": "OWASP-ASVS-V8.3.2",
717
+ "scope": [
718
+ "Data Protection",
719
+ "Sensitive Private Data"
720
+ ],
361
721
  "description": "Verify that users have a method to remove their data on demand."
362
722
  },
363
723
  {
364
724
  "id": "OWASP-ASVS-V8.3.3",
725
+ "scope": [
726
+ "Data Protection",
727
+ "Sensitive Private Data"
728
+ ],
365
729
  "description": "Verify that users are provided clear language regarding collection and use of supplied personal information and that users have provided opt-in consent for the use of that data before it is used in any way."
366
730
  },
367
731
  {
368
732
  "id": "OWASP-ASVS-V8.3.10",
733
+ "scope": [
734
+ "Data Protection",
735
+ "Sensitive Private Data"
736
+ ],
369
737
  "description": "Verify that sensitive information is removed from the metadata of user-submitted files unless storage is consented to by the user."
370
738
  },
371
739
  {
372
740
  "id": "OWASP-ASVS-V8.3.11",
741
+ "scope": [
742
+ "Data Protection",
743
+ "Sensitive Private Data"
744
+ ],
373
745
  "description": "Verify that the application does not ask for unnecessary or excessive permissions to privacy related features or sensors, such as cameras, microphones, or location."
374
746
  },
375
747
  {
376
748
  "id": "OWASP-ASVS-V9.1.1",
749
+ "scope": [
750
+ "Communication Encryption",
751
+ "HTTPS Communication with External Facing Services"
752
+ ],
377
753
  "description": "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."
378
754
  },
379
755
  {
380
756
  "id": "OWASP-ASVS-V9.1.4",
757
+ "scope": [
758
+ "Communication Encryption",
759
+ "HTTPS Communication with External Facing Services"
760
+ ],
381
761
  "description": "Verify that external facing services use publically trusted TLS certificates."
382
762
  },
383
763
  {
384
764
  "id": "OWASP-ASVS-V9.4.1",
765
+ "scope": [
766
+ "Communication Encryption",
767
+ "General TLS Security Guidance"
768
+ ],
385
769
  "description": "Verify that only the latest recommended cipher suites are enabled, with the strongest cipher suites set as preferred."
386
770
  },
387
771
  {
388
772
  "id": "OWASP-ASVS-V9.4.2",
773
+ "scope": [
774
+ "Communication Encryption",
775
+ "General TLS Security Guidance"
776
+ ],
389
777
  "description": "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 should be the preferred option."
390
778
  },
391
779
  {
392
780
  "id": "OWASP-ASVS-V9.4.4",
781
+ "scope": [
782
+ "Communication Encryption",
783
+ "General TLS Security Guidance"
784
+ ],
393
785
  "description": "Verify that if TLS wildcard certificates are used, wildcard certificates from a non-production environment are not valid for a production environment."
394
786
  },
395
787
  {
396
788
  "id": "OWASP-ASVS-V10.3.1",
789
+ "scope": [
790
+ "Malicious and Insecure Code",
791
+ "Application Integrity"
792
+ ],
397
793
  "description": "Verify that if the application has a client or server auto-update feature, updates should be obtained over secure channels and digitally signed. The update code must validate the digital signature of the update before installing or executing the update."
398
794
  },
399
795
  {
400
796
  "id": "OWASP-ASVS-V10.3.2",
797
+ "scope": [
798
+ "Malicious and Insecure Code",
799
+ "Application Integrity"
800
+ ],
401
801
  "description": "Verify that the application only loads or executes code, modules, content or plugins from sources not under the application's direct control or protection if it employs integrity protections, such as code signing."
402
802
  },
403
803
  {
404
804
  "id": "OWASP-ASVS-V10.4.1",
805
+ "scope": [
806
+ "Malicious and Insecure Code",
807
+ "Defensive Coding"
808
+ ],
405
809
  "description": "Verify that the application explicitly ensures that variables are of the correct type and performs strict equality and comparator operations to avoid type juggling or confusion vulnerabilities caused by the application code making an assumption about a variable type."
406
810
  },
407
811
  {
408
812
  "id": "OWASP-ASVS-V11.1.1",
813
+ "scope": [
814
+ "Business Logic",
815
+ "Business Logic Security"
816
+ ],
409
817
  "description": "Verify that the application will only process business logic flows for the same user in sequential step order and without skipping steps."
410
818
  },
411
819
  {
412
820
  "id": "OWASP-ASVS-V11.1.3",
821
+ "scope": [
822
+ "Business Logic",
823
+ "Business Logic Security"
824
+ ],
413
825
  "description": "Verify that the application has appropriate limits defined on a per user basis for specific business actions or transactions."
414
826
  },
415
827
  {
416
828
  "id": "OWASP-ASVS-V11.1.5",
829
+ "scope": [
830
+ "Business Logic",
831
+ "Business Logic Security"
832
+ ],
417
833
  "description": "Verify that the application has globally defined business logic limits or validation to protect against likely business risks or threats, identified using threat modeling or similar methodologies."
418
834
  },
419
835
  {
420
836
  "id": "OWASP-ASVS-V11.2.1",
837
+ "scope": [
838
+ "Business Logic",
839
+ "Anti-automation"
840
+ ],
421
841
  "description": "Verify that the application will only process business logic flows with all steps being processed in realistic human time, i.e. transactions are not submitted too quickly."
422
842
  },
423
843
  {
424
844
  "id": "OWASP-ASVS-V11.2.2",
845
+ "scope": [
846
+ "Business Logic",
847
+ "Anti-automation"
848
+ ],
425
849
  "description": "Verify that the application has anti-automation controls to protect against excessive calls to application functionality which could result in mass data exfiltration, junk data creation, resource quota exhaustion, rate limit breaches, out-of-band communication flooding, denial of service, overuse of an expensive resource, etc."
426
850
  },
427
851
  {
428
852
  "id": "OWASP-ASVS-V12.1.1",
853
+ "scope": [
854
+ "File and Resources",
855
+ "File Upload"
856
+ ],
429
857
  "description": "Verify that the application will only accept files of a size which it can process without causing a loss of performance or denial of service attack."
430
858
  },
431
859
  {
432
860
  "id": "OWASP-ASVS-V12.2.2",
861
+ "scope": [
862
+ "File and Resources",
863
+ "File Integrity"
864
+ ],
433
865
  "description": "Verify that the application blocks uploaded images with a pixel size larger than the maximum allowed, to prevent pixel flood attacks."
434
866
  },
435
867
  {
436
868
  "id": "OWASP-ASVS-V12.3.1",
869
+ "scope": [
870
+ "File and Resources",
871
+ "File Execution"
872
+ ],
437
873
  "description": "Verify that user-submitted filename metadata is not used directly by system or framework filesystems and that a URL API is used to protect against path traversal."
438
874
  },
439
875
  {
440
876
  "id": "OWASP-ASVS-V12.3.2",
877
+ "scope": [
878
+ "File and Resources",
879
+ "File Execution"
880
+ ],
441
881
  "description": "Verify that user-submitted filename metadata is validated or ignored to prevent the disclosure, creation, updating or removal of local files (LFI)."
442
882
  },
443
883
  {
444
884
  "id": "OWASP-ASVS-V12.3.3",
885
+ "scope": [
886
+ "File and Resources",
887
+ "File Execution"
888
+ ],
445
889
  "description": "Verify that user-submitted filename metadata is validated or ignored to prevent the disclosure or execution of remote files via Remote File Inclusion (RFI) or Server-side Request Forgery (SSRF) attacks."
446
890
  },
447
891
  {
448
892
  "id": "OWASP-ASVS-V12.3.7",
893
+ "scope": [
894
+ "File and Resources",
895
+ "File Execution"
896
+ ],
449
897
  "description": "Verify that server-side file processing such as file decompression ignores user-provided path information to prevent vulnerabilities such as zip slip."
450
898
  },
451
899
  {
452
900
  "id": "OWASP-ASVS-V12.4.2",
901
+ "scope": [
902
+ "File and Resources",
903
+ "File Storage"
904
+ ],
453
905
  "description": "Verify that files obtained from untrusted sources are scanned by antivirus scanners to prevent upload and serving of known malicious content."
454
906
  },
455
907
  {
456
908
  "id": "OWASP-ASVS-V12.5.3",
909
+ "scope": [
910
+ "File and Resources",
911
+ "File Download"
912
+ ],
457
913
  "description": "Verify that the application validates or ignores user-submitted filenames, including in a JSON, JSONP, or URL parameter and specifies a filename in the Content-Disposition header in the response."
458
914
  },
459
915
  {
460
916
  "id": "OWASP-ASVS-V13.2.2",
917
+ "scope": [
918
+ "API and Web Service",
919
+ "RESTful Web Service"
920
+ ],
461
921
  "description": "Verify that JSON schema validation is in place and verified before accepting input."
462
922
  },
463
923
  {
464
924
  "id": "OWASP-ASVS-V13.3.1",
925
+ "scope": [
926
+ "API and Web Service",
927
+ "SOAP Web Service"
928
+ ],
465
929
  "description": "Verify that XSD schema validation takes place to ensure a properly formed XML document, followed by validation of each input field before any processing of that data takes place."
466
930
  },
467
931
  {
468
932
  "id": "OWASP-ASVS-V13.5.1",
933
+ "scope": [
934
+ "API and Web Service",
935
+ "WebSocket"
936
+ ],
469
937
  "description": "Verify that WebSocket Secure (wss) is used for all WebSocket connections."
470
938
  },
471
939
  {
472
940
  "id": "OWASP-ASVS-V13.5.2",
941
+ "scope": [
942
+ "API and Web Service",
943
+ "WebSocket"
944
+ ],
473
945
  "description": "Verify that, during the initial HTTP WebSocket handshake, the Origin header is checked against an allow list of authorized origins."
474
946
  },
475
947
  {
476
948
  "id": "OWASP-ASVS-V13.5.3",
949
+ "scope": [
950
+ "API and Web Service",
951
+ "WebSocket"
952
+ ],
477
953
  "description": "Verify that rate limiting is in place for WebSocket messages."
478
954
  },
479
955
  {
480
956
  "id": "OWASP-ASVS-V13.5.4",
957
+ "scope": [
958
+ "API and Web Service",
959
+ "WebSocket"
960
+ ],
481
961
  "description": "Verify that tokens possess at least 128 bits of entropy and are generated using approved cryptographic algorithms if session or channel tokens specific to WebSockets are being used."
482
962
  },
483
963
  {
484
964
  "id": "OWASP-ASVS-V13.5.5",
965
+ "scope": [
966
+ "API and Web Service",
967
+ "WebSocket"
968
+ ],
485
969
  "description": "Verify that the tokens are initially obtained from a response to secure POST request only, and are not sent by the server through the WebSocket connection if session or channel tokens specific to WebSockets are being used."
486
970
  },
487
971
  {
488
972
  "id": "OWASP-ASVS-V13.5.6",
973
+ "scope": [
974
+ "API and Web Service",
975
+ "WebSocket"
976
+ ],
489
977
  "description": "Verify that authentication is done before opening the WebSocket connection if only authenticated users should be able to use WebSockets."
490
978
  },
491
979
  {
492
980
  "id": "OWASP-ASVS-V14.1.6",
981
+ "scope": [
982
+ "Configuration",
983
+ "Build and Deploy"
984
+ ],
493
985
  "description": "Verify that all unneeded features, documentation, sample applications and configurations are removed."
494
986
  },
495
987
  {
496
988
  "id": "OWASP-ASVS-V14.2.1",
989
+ "scope": [
990
+ "Configuration",
991
+ "Dependency"
992
+ ],
497
993
  "description": "Verify that all components are up to date, preferably using a dependency checker during build or compile time."
498
994
  },
499
995
  {
500
996
  "id": "OWASP-ASVS-V14.2.7",
997
+ "scope": [
998
+ "Configuration",
999
+ "Dependency"
1000
+ ],
501
1001
  "description": "Verify that third party components are sourced separately from internally owned and developed applications to prevent dependency confusion attacks."
502
1002
  },
503
1003
  {
504
1004
  "id": "OWASP-ASVS-V14.3.2",
1005
+ "scope": [
1006
+ "Configuration",
1007
+ "Unintended Information Leakage"
1008
+ ],
505
1009
  "description": "Verify that debug modes are disabled in production environments for every component to prevent exposure of debug features and unintended information leakage."
506
1010
  },
507
1011
  {
508
1012
  "id": "OWASP-ASVS-V14.3.3",
1013
+ "scope": [
1014
+ "Configuration",
1015
+ "Unintended Information Leakage"
1016
+ ],
509
1017
  "description": "Verify that the HTTP headers or any part of the HTTP response do not expose detailed version information of server-side components."
510
1018
  },
511
1019
  {
512
1020
  "id": "OWASP-ASVS-V14.3.4",
1021
+ "scope": [
1022
+ "Configuration",
1023
+ "Unintended Information Leakage"
1024
+ ],
513
1025
  "description": "Verify that directory browsing is disabled unless deliberately desired."
514
1026
  },
515
1027
  {
516
1028
  "id": "OWASP-ASVS-V14.3.5",
1029
+ "scope": [
1030
+ "Configuration",
1031
+ "Unintended Information Leakage"
1032
+ ],
517
1033
  "description": "Verify that applications do not allow discovery or disclosure of file or directory metadata, such as Thumbs.db, .DS_Store, .git or .svn folders."
518
1034
  },
519
1035
  {
520
1036
  "id": "OWASP-ASVS-V14.3.6",
1037
+ "scope": [
1038
+ "Configuration",
1039
+ "Unintended Information Leakage"
1040
+ ],
521
1041
  "description": "Verify that the web tier is configured to serve only files with specific file extensions to prevent unintentional information and source code leakage. For example, backup files (e.g. .bak), temporary working files (e.g. .swp), compressed files (.zip, .tar.gz, etc.) and other extensions commonly used by editors should be blocked unless required."
522
1042
  },
523
1043
  {
524
1044
  "id": "OWASP-ASVS-V14.4.1",
1045
+ "scope": [
1046
+ "Configuration",
1047
+ "HTTP Security Headers"
1048
+ ],
525
1049
  "description": "Verify that every HTTP response contains a Content-Type header which matches the actual content of the response."
526
1050
  },
527
1051
  {
528
1052
  "id": "OWASP-ASVS-V14.4.8",
1053
+ "scope": [
1054
+ "Configuration",
1055
+ "HTTP Security Headers"
1056
+ ],
529
1057
  "description": "Verify that if a response specifies a Content-Type of \"text/\\*\", \"\\*/\\*+xml\" and \"\\*/xml\", it also specifies a safe character set (e.g., UTF-8, ISO-8859-1) with the charset parameter."
530
1058
  },
531
1059
  {
532
1060
  "id": "OWASP-ASVS-V14.5.1",
1061
+ "scope": [
1062
+ "Configuration",
1063
+ "HTTP Request Header Validation"
1064
+ ],
533
1065
  "description": "Verify that the application only responds to HTTP methods in use by the application or by the API (including OPTIONS during preflight requests) and unused methods (e.g. TRACE) are blocked."
534
1066
  },
535
1067
  {
536
1068
  "id": "OWASP-ASVS-V14.5.5",
1069
+ "scope": [
1070
+ "Configuration",
1071
+ "HTTP Request Header Validation"
1072
+ ],
537
1073
  "description": "Verify that HTTP requests using the HEAD, OPTIONS, TRACE or GET verb do not modify any backend data structure or perform any state-changing actions. These requests are safe methods and should therefore not have any side effects."
538
1074
  },
539
1075
  {
540
1076
  "id": "OWASP-ASVS-V14.6.1",
1077
+ "scope": [
1078
+ "Configuration",
1079
+ "HTTP/2"
1080
+ ],
541
1081
  "description": "Verify that the value in the Content-Length request header matches the calculated length using the built-in mechanism."
542
1082
  },
543
1083
  {
544
1084
  "id": "OWASP-ASVS-V14.6.2",
1085
+ "scope": [
1086
+ "Configuration",
1087
+ "HTTP/2"
1088
+ ],
545
1089
  "description": "Verify that all Transfer-Encoding headers are stripped from the message or that the request is blocked entirely."
546
1090
  },
547
1091
  {
548
1092
  "id": "OWASP-ASVS-V14.6.3",
1093
+ "scope": [
1094
+ "Configuration",
1095
+ "HTTP/2"
1096
+ ],
549
1097
  "description": "Verify that a full CRLF (\\r\\n) sequence is neutralized inside a HTTP/2 header."
550
1098
  },
551
1099
  {
552
1100
  "id": "OWASP-ASVS-V14.7.1",
1101
+ "scope": [
1102
+ "Configuration",
1103
+ "Web or Application Server Configuration"
1104
+ ],
553
1105
  "description": "Verify that the web or application server is configured with an allow list of resources or systems to which the server can send requests or load data or files from."
554
1106
  },
555
1107
  {
556
1108
  "id": "OWASP-ASVS-V50.1.1",
1109
+ "scope": [
1110
+ "Web Frontend Security",
1111
+ "Site Isolation Architecture"
1112
+ ],
557
1113
  "description": "Verify that separate applications are hosted on different hostnames to benefit from the restrictions provided by the \"same-origin policy\" including how documents or scripts loaded by one origin can interact with resources from another origin and hostname restrictions on cookies."
558
1114
  },
559
1115
  {
560
1116
  "id": "OWASP-ASVS-V50.2.1",
1117
+ "scope": [
1118
+ "Web Frontend Security",
1119
+ "Browser Security Mechanism Headers"
1120
+ ],
561
1121
  "description": "Verify that a Content Security Policy (CSP) response header is in place that helps mitigate impact for XSS attacks like HTML, DOM, CSS, JSON, and JavaScript injection vulnerabilities."
562
1122
  },
563
1123
  {
564
1124
  "id": "OWASP-ASVS-V50.2.2",
1125
+ "scope": [
1126
+ "Web Frontend Security",
1127
+ "Browser Security Mechanism Headers"
1128
+ ],
565
1129
  "description": "Verify that all responses contain a X-Content-Type-Options: nosniff header."
566
1130
  },
567
1131
  {
568
1132
  "id": "OWASP-ASVS-V50.2.3",
1133
+ "scope": [
1134
+ "Web Frontend Security",
1135
+ "Browser Security Mechanism Headers"
1136
+ ],
569
1137
  "description": "Verify that a Strict-Transport-Security header is included on all responses and for all subdomains, such as Strict-Transport-Security: max-age=31536000; includeSubdomains."
570
1138
  },
571
1139
  {
572
1140
  "id": "OWASP-ASVS-V50.2.4",
1141
+ "scope": [
1142
+ "Web Frontend Security",
1143
+ "Browser Security Mechanism Headers"
1144
+ ],
573
1145
  "description": "Verify that a suitable Referrer-Policy header is included to avoid exposing sensitive information in the URL through the Referer header to untrusted parties."
574
1146
  },
575
1147
  {
576
1148
  "id": "OWASP-ASVS-V50.2.5",
1149
+ "scope": [
1150
+ "Web Frontend Security",
1151
+ "Browser Security Mechanism Headers"
1152
+ ],
577
1153
  "description": "Verify that the content of a web application cannot be embedded in a third-party site by default and that embedding of the exact resources is only allowed where necessary by using suitable Content-Security-Policy: frame-ancestors. Note that the X-Frame-Options solution is obsoleted."
578
1154
  },
579
1155
  {
580
1156
  "id": "OWASP-ASVS-V50.2.6",
1157
+ "scope": [
1158
+ "Web Frontend Security",
1159
+ "Browser Security Mechanism Headers"
1160
+ ],
581
1161
  "description": "Verify that the Cross-Origin Resource Sharing (CORS) Access-Control-Allow-Origin header uses a strict allow list of trusted origins. When \"Access-Control-Allow-Origin: *\" needs to be used, verify that the responses do not include any sensitive information."
582
1162
  },
583
1163
  {
584
1164
  "id": "OWASP-ASVS-V50.3.1",
1165
+ "scope": [
1166
+ "Web Frontend Security",
1167
+ "Browser Origin Separation"
1168
+ ],
585
1169
  "description": "Verify that the application defends against Cross-Site Request Forgery (CSRF) attacks to protect authenticated or sensitive public functionality using the development framework's built-in anti-CSRF functionality or CSRF tokens plus additional defense in depth measures."
586
1170
  },
587
1171
  {
588
1172
  "id": "OWASP-ASVS-V50.3.3",
1173
+ "scope": [
1174
+ "Web Frontend Security",
1175
+ "Browser Origin Separation"
1176
+ ],
589
1177
  "description": "Verify that the Origin header is validated against a defined list of allowed origins to match the desired Cross-Origin Resource Sharing (CORS) policy."
590
1178
  },
591
1179
  {
592
1180
  "id": "OWASP-ASVS-V50.4.1",
1181
+ "scope": [
1182
+ "Web Frontend Security",
1183
+ "Cross-Site Script Inclusion"
1184
+ ],
593
1185
  "description": "Verify that JSONP functionality is not enabled anywhere across the application to avoid Cross-Site Script Inclusion (XSSI) attacks."
594
1186
  },
595
1187
  {
596
1188
  "id": "OWASP-ASVS-V50.4.2",
1189
+ "scope": [
1190
+ "Web Frontend Security",
1191
+ "Cross-Site Script Inclusion"
1192
+ ],
597
1193
  "description": "Verify that data requiring authorization is not included in script resource responses, like JavaScript files, to prevent Cross-Site Script Inclusion (XSSI) attacks."
598
1194
  },
599
1195
  {
600
1196
  "id": "OWASP-ASVS-V50.5.1",
1197
+ "scope": [
1198
+ "Web Frontend Security",
1199
+ "Unintended Content Interpretation"
1200
+ ],
601
1201
  "description": "Verify that direct requests to uploaded files will never be executed as HTML and JavaScript content."
602
1202
  },
603
1203
  {
604
1204
  "id": "OWASP-ASVS-V50.5.3",
1205
+ "scope": [
1206
+ "Web Frontend Security",
1207
+ "Unintended Content Interpretation"
1208
+ ],
605
1209
  "description": "Verify that security controls are in place to prevent browsers from rendering content or functionality in HTTP responses in an incorrect context (e.g., when an API or other resource is loaded directly). Possible controls could include: not serving the content unless headers indicate it is the correct context, Content-Security-Policy: sandbox, Content-Disposition: attachment, etc."
606
1210
  },
607
1211
  {
608
1212
  "id": "OWASP-ASVS-V50.6.1",
1213
+ "scope": [
1214
+ "Web Frontend Security",
1215
+ "External Resource Integrity"
1216
+ ],
609
1217
  "description": "Verify that if client-side assets, such as JavaScript libraries, CSS or web fonts, are hosted externally on a Content Delivery Network (CDN) or external provider, Subresource Integrity (SRI) is used to validate the integrity of the asset."
610
1218
  }
611
1219
  ]
612
- }
1220
+ }