-
Notifications
You must be signed in to change notification settings - Fork 0
/
rules.yaml
468 lines (468 loc) · 16.3 KB
/
rules.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
rules:
CWE-1004:
categories:
- ALL
- cwe-1004
- owasp-top-10
description: The software uses a cookie to store sensitive information, but the
cookie is not marked with the HttpOnly flag.
group: top10-security-misconfiguration
name: CWE-1004
pretty_name: CWE-1004 - Sensitive Cookie Without 'HttpOnly' Flag
ref: https://cwe.mitre.org/data/definitions/1004.html
CWE-1022:
categories:
- ALL
- cwe-1022
description: The web application produces links to untrusted external sites outside
of its sphere of control, but it does not properly prevent the external site
from modifying security-critical properties of the window.opener object, such
as the location property.
group: top10-security-misconfiguration
name: CWE-1022
pretty_name: CWE-1022 - Missing Reverse-Tabnabbing Protection
ref: https://cwe.mitre.org/data/definitions/1022.html
CWE-1104:
categories:
- ALL
- cwe-1104
- boost-baseline
- boost-hardened
- vulnerable-and-outdated-components
- owasp-top-10
description: The product relies on third-party components that are not actively
supported or maintained by the original developer or a trusted proxy for the
original developer.
group: top10-vulnerable-components
name: CWE-1104
pretty_name: CWE-1104 - Use of Unmaintained Third Party Components
ref: https://cwe.mitre.org/data/definitions/1104.html
CWE-125:
categories:
- ALL
- cwe-125
- boost-baseline
- boost-hardened
- cwe-top-25
description: The software reads data past the end, or before the beginning, of
the intended buffer.
group: top10-insecure-design
name: CWE-125
pretty_name: CWE-125 - Out-of-bounds Read
ref: https://cwe.mitre.org/data/definitions/125.html
CWE-1254:
categories:
- ALL
- cwe-1254
description: The comparison logic is performed over a series of steps rather than
across the entire string in one operation. If there is a comparison logic failure,
the operation may be vulnerable to a timing attack that can result in the interception
of the process.
group: top10-insecure-design
name: CWE-1254
pretty_name: CWE-1254 - Incorrect Comparison Logic Granularity
ref: https://cwe.mitre.org/data/definitions/1254.html
CWE-1336:
categories:
- ALL
- cwe-1336
- boost-baseline
- boost-hardened
description: The product uses a template engine to insert or process externally-influenced
input, but it does not neutralize or incorrectly neutralizes special elements
or syntax that can be interpreted as template expressions or other code directives
when processed.
group: top10-injection
name: CWE-1336
pretty_name: CWE-1336 - Improper Neutralization of Special Elements Used in a
Template Engine
ref: https://cwe.mitre.org/data/definitions/1336.html
CWE-185:
categories:
- ALL
- cwe-185
description: The software specifies a regular expression in a way that causes
data to be improperly matched or compared.
group: top10-insecure-design
name: CWE-185
pretty_name: CWE-185 - Incorrect Regular Expression
ref: https://cwe.mitre.org/data/definitions/185.html
CWE-20:
categories:
- ALL
- cwe-20
- boost-hardened
- owasp-top-10
- cwe-top-25
description: The product receives input or data, but it does not validate or incorrectly
validates that the input has the properties that are required to process the
data safely and correctly.
group: top10-injection
name: CWE-20
pretty_name: CWE-20 - Improper Input Validation
ref: https://cwe.mitre.org/data/definitions/20.html
CWE-200:
categories:
- ALL
- cwe-200
- boost-hardened
- owasp-top-10
description: The product exposes sensitive information to an actor that is not
explicitly authorized to have access to that information.
group: top10-broken-access-control
name: CWE-200
pretty_name: CWE-200 - Exposure of Sensitive Information
ref: https://cwe.mitre.org/data/definitions/200.html
CWE-22:
categories:
- ALL
- cwe-22
- boost-baseline
- boost-hardened
- owasp-top-10
- cwe-top-25
description: The software uses external input to construct a pathname that is
intended to identify a file or directory that is located underneath a restricted
parent directory, but the software does not properly neutralize special elements
within the pathname.
group: top10-broken-access-control
name: CWE-22
pretty_name: CWE-22 - Path Traversal
ref: https://cwe.mitre.org/data/definitions/22.html
CWE-259:
categories:
- ALL
- cwe-259
- boost-baseline
- boost-hardened
- owasp-top-10
description: The software contains a hard-coded password, which it uses for its
own inbound authentication or for outbound communication to external components.
group: top10-id-authn-failures
name: CWE-259
pretty_name: CWE-259 - Use of Hard-coded Password
ref: https://cwe.mitre.org/data/definitions/259.html
CWE-284:
categories:
- ALL
- cwe-284
- boost-hardened
- owasp-top-10
description: The software does not restrict or incorrectly restricts access to
a resource from an unauthorized actor.
group: top10-broken-access-control
name: CWE-284
pretty_name: CWE-284 - Improper Access Control
ref: https://cwe.mitre.org/data/definitions/284.html
CWE-285:
categories:
- ALL
- cwe-285
- boost-hardened
- owasp-top-10
description: The software does not perform or incorrectly performs an authorization
check when an actor attempts to access a resource or perform an action.
group: top10-broken-access-control
name: CWE-285
pretty_name: CWE-285 - Improper Authorization
ref: https://cwe.mitre.org/data/definitions/285.html
CWE-287:
categories:
- ALL
- cwe-287
- owasp-top-10
- cwe-top-25
description: When an actor claims to have a given identity, the software does
not prove or insufficiently proves that the claim is correct.
group: top10-id-authn-failures
name: CWE-287
pretty_name: CWE-287 - Improper Authentication on Critical Resource
ref: https://cwe.mitre.org/data/definitions/287.html
CWE-311:
categories:
- ALL
- cwe-311
- boost-baseline
- boost-hardened
- owasp-top-10
description: The software does not encrypt sensitive or critical information before
storage or transmission.
group: top10-insecure-design
name: CWE-311
pretty_name: CWE-311 - Missing Encryption of Sensitive Data
ref: https://cwe.mitre.org/data/definitions/311.html
CWE-328:
categories:
- ALL
- cwe-328
- boost-hardened
- owasp-top-10
description: The product uses an algorithm that produces a digest that does not
meet security expectations for a hash function that allows a preimage attack,
find another input that can produce the same hash (2nd preimage attack), or
birthday attack.
group: top10-crypto-failures
name: CWE-328
pretty_name: CWE-328 - Use of Weak Hash
ref: https://cwe.mitre.org/data/definitions/328.html
CWE-352:
categories:
- ALL
- cwe-352
- boost-baseline
- boost-hardened
- owasp-top-10
- cwe-top-25
description: The web application does not, or can not, sufficiently verify whether
a well-formed, valid, consistent request was intentionally provided by the user
who submitted the request.
group: top10-crypto-failures
name: CWE-352
pretty_name: CWE-352 - Cross-Site Request Forgery (CSRF)
ref: https://cwe.mitre.org/data/definitions/352.html
CWE-369:
categories:
- ALL
- cwe-369
description: The product divides a value by zero.
group: top10-insecure-design
name: CWE-369
pretty_name: CWE-369 - Divide By Zero
ref: https://cwe.mitre.org/data/definitions/369.html
CWE-399:
categories:
- ALL
- cwe-399
description: Weaknesses in this category are related to improper management of
system resources.
group: top10-insecure-design
name: CWE-399
pretty_name: CWE-399 - Resource Management Errors
ref: https://cwe.mitre.org/data/definitions/399.html
CWE-470:
categories:
- ALL
- cwe-470
- boost-hardened
- owasp-top-10
description: The application uses external input with reflection to select which
classes or code to use, but it does not sufficiently prevent the input from
selecting improper classes or code.
group: top10-injection
name: CWE-470
pretty_name: CWE-470 - Use of Externally-Controlled Input to Select Classes or
Code
ref: https://cwe.mitre.org/data/definitions/470.html
CWE-502:
categories:
- ALL
- cwe-502
- boost-baseline
- boost-hardened
- owasp-top-10
- cwe-top-25
description: The application deserializes untrusted data without sufficiently
verifying that the resulting data will be valid.
group: top10-software-data-integrity-failures
name: CWE-502
pretty_name: CWE-502 - Deserialization of Untrusted Data
ref: https://cwe.mitre.org/data/definitions/502.html
CWE-565:
categories:
- ALL
- cwe-565
- boost-baseline
- boost-hardened
- owasp-top-10
description: The application relies on the existence or values of cookies when
performing security-critical operations, but it does not properly ensure that
the setting is valid for the associated user.
group: top10-software-data-integrity-failures
name: CWE-565
pretty_name: CWE-565 - Reliance on Cookies without Validation and Integrity Checking
ref: https://cwe.mitre.org/data/definitions/565.html
CWE-601:
categories:
- ALL
- cwe-601
- owasp-top-10
description: A web application accepts a user-controlled input that specifies
a link to an external site, and uses that link in a Redirect. This simplifies
phishing attacks.
group: top10-broken-access-control
name: CWE-601
pretty_name: CWE-601 - URL Redirection to Untrusted Site ('Open Redirect')
ref: https://cwe.mitre.org/data/definitions/601.html
CWE-614:
categories:
- ALL
- cwe-614
- owasp-top-10
description: The Secure attribute for sensitive cookies in HTTPS sessions is not
set, which could cause the user agent to send those cookies in plaintext over
an HTTP session.
group: top10-security-misconfiguration
name: CWE-614
pretty_name: CWE-614 - Sensitive Cookie in HTTPS Session Without 'Secure' Attribute
ref: https://cwe.mitre.org/data/definitions/614.html
CWE-74:
categories:
- ALL
- cwe-74
- boost-baseline
- boost-hardened
- owasp-top-10
description: The software constructs all or part of a command, data structure,
or record using externally-influenced input from an upstream component, but
it does not neutralize or incorrectly neutralizes special elements that could
modify how it is parsed or interpreted when it is sent to a downstream component.
group: top10-injection
name: CWE-74
pretty_name: CWE-74 - Improper Neutralization of Special Elements in Output Used
by a Downstream Component ('Injection')
ref: https://cwe.mitre.org/data/definitions/74.html
CWE-77:
categories:
- ALL
- cwe-77
- boost-baseline
- boost-hardened
- owasp-top-10
- cwe-top-25
description: The software constructs all or part of a command using externally-influenced
input from an upstream component, but it does not neutralize or incorrectly
neutralizes special elements that could modify the intended command when it
is sent to a downstream component.
group: top10-injection
name: CWE-77
pretty_name: CWE-77 - Command Injection
ref: https://cwe.mitre.org/data/definitions/77.html
CWE-777:
categories:
- ALL
- cwe-777
- boost-hardened
description: The software uses a regular expression to perform neutralization,
but the regular expression is not anchored and may allow malicious or malformed
data to slip through.
group: top10-insecure-design
name: CWE-777
pretty_name: CWE-777 - Regular Expression without Anchors
ref: https://cwe.mitre.org/data/definitions/777.html
CWE-79:
categories:
- ALL
- cwe-79
- boost-baseline
- boost-hardened
- owasp-top-10
- cwe-top-25
description: The software does not neutralize or incorrectly neutralizes user-controllable
input before it is placed in output that is used as a web page that is served
to other users.
group: top10-injection
name: CWE-79
pretty_name: CWE-79 - Cross-site Scripting (XSS)
ref: https://cwe.mitre.org/data/definitions/79.html
CWE-798:
categories:
- ALL
- cwe-798
- boost-baseline
- boost-hardened
- owasp-top-10
- cwe-top-25
description: The software contains hard-coded credentials, such as a password
or cryptographic key, which it uses for its own inbound authentication, outbound
communication to external components, or encryption of internal data.
group: top10-id-authn-failures
name: CWE-798
pretty_name: CWE-798 - Use of Hard-coded Credentials
ref: https://cwe.mitre.org/data/definitions/798.html
CWE-89:
categories:
- ALL
- cwe-89
- boost-baseline
- boost-hardened
- owasp-top-10
- cwe-top-25
description: The software constructs all or part of an SQL command using externally-influenced
input from an upstream component, but it does not neutralize or incorrectly
neutralizes special elements that could modify the intended SQL command when
it is sent to a downstream component.
group: top10-injection
name: CWE-89
pretty_name: CWE-89 - SQL Injection
ref: https://cwe.mitre.org/data/definitions/89.html
CWE-913:
categories:
- ALL
- cwe-913
- boost-baseline
- boost-hardened
- owasp-top-10
description: The software does not properly restrict reading from or writing to
dynamically-managed code resources such as variables, objects, classes, attributes,
functions, or executable instructions or statements.
group: top10-broken-access-control
name: CWE-913
pretty_name: CWE-913 - Improper Control of Dynamically-Managed Code Resources
ref: https://cwe.mitre.org/data/definitions/913.html
CWE-915:
categories:
- ALL
- cwe-915
- boost-hardened
- owasp-top-10
description: The software receives input from an upstream component that specifies
multiple attributes, properties, or fields that are to be initialized or updated
in an object, but it does not properly control which attributes can be modified.
group: top10-software-data-integrity-failures
name: CWE-915
pretty_name: CWE-915 - Use of Incorrectly-Resolved Name or Reference
ref: https://cwe.mitre.org/data/definitions/915.html
CWE-94:
categories:
- ALL
- cwe-94
- boost-baseline
- boost-hardened
- owasp-top-10
- cwe-top-25
description: The software constructs all or part of a code segment using externally-influenced
input from an upstream component, but it does not neutralize or incorrectly
neutralizes special elements that could modify the syntax or behavior of the
intended code segment.
group: top10-injection
name: CWE-94
pretty_name: CWE-94 - Improper Control of Generation of Code ('Code Injection')
ref: https://cwe.mitre.org/data/definitions/94.html
CWE-95:
categories:
- ALL
- cwe-95
- boost-baseline
- boost-hardened
- owasp-top-10
description: The software receives input from an upstream component, but it does
not neutralize or incorrectly neutralizes code syntax before using the input
in a dynamic evaluation call (e.g. "eval").
group: top10-injection
name: CWE-95
pretty_name: CWE-95 - Improper Neutralization of Directives in Dynamically Evaluated
Code ('Eval Injection')
ref: https://cwe.mitre.org/data/definitions/95.html
CWE-295:
categories:
- ALL
- cwe-top-25
- cwe-295
- boost-baseline
- boost-hardened
- owasp-top-10
group: top10-id-authn-failures
name: CWE-295
pretty_name: CWE-295 - Improper Certificate Validation
description: The code does not validate, or incorrectly validates, a certificate.
ref: https://cwe.mitre.org/data/definitions/295.html