@zerothreatai/vulnerability-registry 3.0.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/categories/authentication.js +34 -17
- package/dist/categories/configuration.js +561 -60
- package/dist/categories/injection.js +68 -34
- package/dist/categories/sensitive-paths.js +168 -84
- package/dist/categories/ssrf.js +22 -11
- package/dist/categories/xss.js +30 -15
- package/dist/category.d.ts +6 -0
- package/dist/category.js +15 -0
- package/dist/error-codes.d.ts +20 -0
- package/dist/error-codes.js +20 -0
- package/dist/index.d.ts +9 -1
- package/dist/index.js +5 -1
- package/dist/scanner.d.ts +6 -0
- package/dist/scanner.js +22 -0
- package/dist/types.d.ts +2 -0
- package/dist-cjs/categories/authentication.js +34 -17
- package/dist-cjs/categories/configuration.js +561 -60
- package/dist-cjs/categories/injection.js +68 -34
- package/dist-cjs/categories/sensitive-paths.js +168 -84
- package/dist-cjs/categories/ssrf.js +22 -11
- package/dist-cjs/categories/xss.js +30 -15
- package/dist-cjs/category.js +18 -0
- package/dist-cjs/error-codes.js +20 -0
- package/dist-cjs/index.js +7 -1
- package/dist-cjs/scanner.js +25 -0
- package/package.json +35 -32
- package/scripts/assign-ids.ts +105 -0
- package/scripts/check-duplicate-ids.ts +45 -0
- package/src/categories/authentication.ts +145 -128
- package/src/categories/configuration.ts +1632 -1111
- package/src/categories/injection.ts +158 -124
- package/src/categories/sensitive-paths.ts +168 -84
- package/src/categories/ssrf.ts +22 -11
- package/src/categories/xss.ts +30 -15
- package/src/category.ts +16 -0
- package/src/error-codes.ts +25 -5
- package/src/id-registry.json +1235 -0
- package/src/index.ts +20 -14
- package/src/scanner.ts +23 -0
- package/src/types.ts +4 -2
- package/zerothreatai-vulnerability-registry-4npm .0.0.tgz +0 -0
- package/src/categories/authentication.d.ts +0 -8
- package/src/categories/authentication.d.ts.map +0 -1
- package/src/categories/authentication.js +0 -378
- package/src/categories/authentication.js.map +0 -1
- package/src/categories/configuration.d.ts +0 -8
- package/src/categories/configuration.d.ts.map +0 -1
- package/src/categories/configuration.js +0 -906
- package/src/categories/configuration.js.map +0 -1
- package/src/categories/injection.d.ts +0 -8
- package/src/categories/injection.d.ts.map +0 -1
- package/src/categories/injection.js +0 -750
- package/src/categories/injection.js.map +0 -1
- package/src/categories/sensitive-paths.d.ts +0 -9
- package/src/categories/sensitive-paths.d.ts.map +0 -1
- package/src/categories/sensitive-paths.js +0 -1791
- package/src/categories/sensitive-paths.js.map +0 -1
- package/src/categories/ssrf.d.ts +0 -8
- package/src/categories/ssrf.d.ts.map +0 -1
- package/src/categories/ssrf.js +0 -250
- package/src/categories/ssrf.js.map +0 -1
- package/src/categories/xss.d.ts +0 -7
- package/src/categories/xss.d.ts.map +0 -1
- package/src/categories/xss.js +0 -328
- package/src/categories/xss.js.map +0 -1
- package/src/error-codes.d.ts +0 -242
- package/src/error-codes.d.ts.map +0 -1
- package/src/error-codes.js +0 -315
- package/src/error-codes.js.map +0 -1
- package/src/index.d.ts +0 -60
- package/src/index.d.ts.map +0 -1
- package/src/index.js +0 -107
- package/src/index.js.map +0 -1
- package/src/types.d.ts +0 -86
- package/src/types.d.ts.map +0 -1
- package/src/types.js +0 -7
- package/src/types.js.map +0 -1
|
@@ -1,906 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Vulnerability Registry - Configuration & Headers
|
|
4
|
-
*
|
|
5
|
-
* Definitions for Security Headers, Directory Browsing, and related issues
|
|
6
|
-
*/
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.CONFIG_VULNERABILITIES = void 0;
|
|
9
|
-
const error_codes_js_1 = require("../error-codes.js");
|
|
10
|
-
exports.CONFIG_VULNERABILITIES = {
|
|
11
|
-
// ========================================
|
|
12
|
-
// SECURITY HEADERS
|
|
13
|
-
// ========================================
|
|
14
|
-
[error_codes_js_1.VulnerabilityCode.HEADER_MISSING_CSP]: {
|
|
15
|
-
id: 69,
|
|
16
|
-
code: error_codes_js_1.VulnerabilityCode.HEADER_MISSING_CSP,
|
|
17
|
-
title: 'Missing Security Header - Content-Security-Policy',
|
|
18
|
-
description: 'The application does not implement Content-Security-Policy header, leaving it vulnerable to cross-site scripting attacks that could be mitigated by restricting the sources from which scripts, styles, and other resources can be loaded into the page.',
|
|
19
|
-
severity: 'medium',
|
|
20
|
-
category: 'configuration',
|
|
21
|
-
scanner: 'security-headers',
|
|
22
|
-
cvss: {
|
|
23
|
-
score: 5.3,
|
|
24
|
-
vector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N',
|
|
25
|
-
severity: 'MEDIUM',
|
|
26
|
-
},
|
|
27
|
-
cwe: [
|
|
28
|
-
{ id: 'CWE-693', name: 'Protection Mechanism Failure', url: 'https://cwe.mitre.org/data/definitions/693.html' },
|
|
29
|
-
],
|
|
30
|
-
owasp: [
|
|
31
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
32
|
-
],
|
|
33
|
-
remediation: 'Implement Content-Security-Policy header with strict directives. Start with default-src self and progressively add required sources. Use nonce-based CSP for inline scripts.',
|
|
34
|
-
},
|
|
35
|
-
[error_codes_js_1.VulnerabilityCode.HEADER_MISSING_HSTS]: {
|
|
36
|
-
id: 70,
|
|
37
|
-
code: error_codes_js_1.VulnerabilityCode.HEADER_MISSING_HSTS,
|
|
38
|
-
title: 'Missing Security Header - Strict-Transport-Security',
|
|
39
|
-
description: 'The application does not implement HSTS (HTTP Strict Transport Security) header, leaving users vulnerable to SSL stripping attacks and man-in-the-middle downgrades from HTTPS to HTTP connections on initial visits or after cookie expiration.',
|
|
40
|
-
severity: 'medium',
|
|
41
|
-
category: 'configuration',
|
|
42
|
-
scanner: 'security-headers',
|
|
43
|
-
cvss: {
|
|
44
|
-
score: 5.3,
|
|
45
|
-
vector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N',
|
|
46
|
-
severity: 'MEDIUM',
|
|
47
|
-
},
|
|
48
|
-
cwe: [
|
|
49
|
-
{ id: 'CWE-319', name: 'Cleartext Transmission', url: 'https://cwe.mitre.org/data/definitions/319.html' },
|
|
50
|
-
],
|
|
51
|
-
owasp: [
|
|
52
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
53
|
-
],
|
|
54
|
-
remediation: 'Add Strict-Transport-Security header with max-age of at least 31536000 (1 year). Include includeSubDomains directive. Consider HSTS preloading for maximum protection.',
|
|
55
|
-
},
|
|
56
|
-
[error_codes_js_1.VulnerabilityCode.HEADER_MISSING_XFRAME]: {
|
|
57
|
-
id: 71,
|
|
58
|
-
code: error_codes_js_1.VulnerabilityCode.HEADER_MISSING_XFRAME,
|
|
59
|
-
title: 'Missing Security Header - X-Frame-Options',
|
|
60
|
-
description: 'The application does not set X-Frame-Options header, making it vulnerable to clickjacking attacks where malicious websites can embed the application in invisible iframes and trick users into performing unintended actions through deceptive UI overlays.',
|
|
61
|
-
severity: 'medium',
|
|
62
|
-
category: 'configuration',
|
|
63
|
-
scanner: 'security-headers',
|
|
64
|
-
cvss: {
|
|
65
|
-
score: 4.7,
|
|
66
|
-
vector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N',
|
|
67
|
-
severity: 'MEDIUM',
|
|
68
|
-
},
|
|
69
|
-
cwe: [
|
|
70
|
-
{ id: 'CWE-1021', name: 'Improper Restriction of Rendered UI Layers', url: 'https://cwe.mitre.org/data/definitions/1021.html' },
|
|
71
|
-
],
|
|
72
|
-
owasp: [
|
|
73
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
74
|
-
],
|
|
75
|
-
remediation: 'Set X-Frame-Options header to DENY or SAMEORIGIN. Use Content-Security-Policy frame-ancestors directive for more granular control. Both headers can be used together for compatibility.',
|
|
76
|
-
},
|
|
77
|
-
[error_codes_js_1.VulnerabilityCode.HEADER_WEAK_CSP]: {
|
|
78
|
-
id: 72,
|
|
79
|
-
code: error_codes_js_1.VulnerabilityCode.HEADER_WEAK_CSP,
|
|
80
|
-
title: 'Weak Content-Security-Policy Configuration',
|
|
81
|
-
description: 'The Content-Security-Policy header contains unsafe directives like unsafe-inline, unsafe-eval, or overly permissive source allowlists that significantly reduce its effectiveness as an XSS mitigation and may create false sense of security.',
|
|
82
|
-
severity: 'medium',
|
|
83
|
-
category: 'configuration',
|
|
84
|
-
scanner: 'security-headers',
|
|
85
|
-
cvss: {
|
|
86
|
-
score: 5.3,
|
|
87
|
-
vector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N',
|
|
88
|
-
severity: 'MEDIUM',
|
|
89
|
-
},
|
|
90
|
-
cwe: [
|
|
91
|
-
{ id: 'CWE-693', name: 'Protection Mechanism Failure', url: 'https://cwe.mitre.org/data/definitions/693.html' },
|
|
92
|
-
],
|
|
93
|
-
owasp: [
|
|
94
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
95
|
-
],
|
|
96
|
-
remediation: 'Remove unsafe-inline and unsafe-eval directives. Use nonce-based or hash-based CSP for inline scripts. Restrict source allowlists to specific trusted domains rather than wildcards.',
|
|
97
|
-
},
|
|
98
|
-
[error_codes_js_1.VulnerabilityCode.HEADER_CORS_MISCONFIGURED]: {
|
|
99
|
-
id: 73,
|
|
100
|
-
code: error_codes_js_1.VulnerabilityCode.HEADER_CORS_MISCONFIGURED,
|
|
101
|
-
title: 'CORS Misconfiguration',
|
|
102
|
-
description: 'Cross-Origin Resource Sharing is misconfigured with overly permissive Access-Control-Allow-Origin headers including wildcard (*) with credentials, or dynamic reflection of Origin header without proper validation, enabling cross-origin data theft.',
|
|
103
|
-
severity: 'high',
|
|
104
|
-
category: 'configuration',
|
|
105
|
-
scanner: 'security-headers',
|
|
106
|
-
cvss: {
|
|
107
|
-
score: 7.5,
|
|
108
|
-
vector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N',
|
|
109
|
-
severity: 'HIGH',
|
|
110
|
-
},
|
|
111
|
-
cwe: [
|
|
112
|
-
{ id: 'CWE-942', name: 'Permissive CORS Policy', url: 'https://cwe.mitre.org/data/definitions/942.html' },
|
|
113
|
-
],
|
|
114
|
-
owasp: [
|
|
115
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
116
|
-
],
|
|
117
|
-
remediation: 'Implement strict Origin validation with allowlist of trusted domains. Never reflect Origin header without validation. Do not use wildcard with Access-Control-Allow-Credentials.',
|
|
118
|
-
},
|
|
119
|
-
// ========================================
|
|
120
|
-
// DIRECTORY BROWSING
|
|
121
|
-
// ========================================
|
|
122
|
-
[error_codes_js_1.VulnerabilityCode.DIRBROWSE_ENABLED]: {
|
|
123
|
-
id: 74,
|
|
124
|
-
code: error_codes_js_1.VulnerabilityCode.DIRBROWSE_ENABLED,
|
|
125
|
-
title: 'Directory Listing Enabled',
|
|
126
|
-
description: 'Web server directory listing is enabled, exposing the contents of directories to anyone who browses to them without an index file. This reveals application structure, backup files, configuration files, and potentially sensitive data to attackers.',
|
|
127
|
-
severity: 'low',
|
|
128
|
-
category: 'configuration',
|
|
129
|
-
scanner: 'directory-browsing',
|
|
130
|
-
cvss: {
|
|
131
|
-
score: 3.7,
|
|
132
|
-
vector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N',
|
|
133
|
-
severity: 'LOW',
|
|
134
|
-
},
|
|
135
|
-
cwe: [
|
|
136
|
-
{ id: 'CWE-548', name: 'Directory Listing', url: 'https://cwe.mitre.org/data/definitions/548.html' },
|
|
137
|
-
],
|
|
138
|
-
owasp: [
|
|
139
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
140
|
-
],
|
|
141
|
-
remediation: 'Disable directory listing in web server configuration (Options -Indexes in Apache, autoindex off in nginx). Ensure all directories have proper index files.',
|
|
142
|
-
},
|
|
143
|
-
[error_codes_js_1.VulnerabilityCode.DIRBROWSE_SENSITIVE]: {
|
|
144
|
-
id: 75,
|
|
145
|
-
code: error_codes_js_1.VulnerabilityCode.DIRBROWSE_SENSITIVE,
|
|
146
|
-
title: 'Directory Listing Exposing Sensitive Content',
|
|
147
|
-
description: 'Directory listing is enabled on a directory containing sensitive files like backups, configuration files, source code, or credentials. This elevates the risk significantly as attackers can directly access sensitive information without guessing filenames.',
|
|
148
|
-
severity: 'medium',
|
|
149
|
-
category: 'configuration',
|
|
150
|
-
scanner: 'directory-browsing',
|
|
151
|
-
cvss: {
|
|
152
|
-
score: 5.3,
|
|
153
|
-
vector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N',
|
|
154
|
-
severity: 'MEDIUM',
|
|
155
|
-
},
|
|
156
|
-
cwe: [
|
|
157
|
-
{ id: 'CWE-548', name: 'Directory Listing', url: 'https://cwe.mitre.org/data/definitions/548.html' },
|
|
158
|
-
],
|
|
159
|
-
owasp: [
|
|
160
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
161
|
-
],
|
|
162
|
-
remediation: 'Immediately disable directory listing. Remove sensitive files from web-accessible directories. Implement proper access controls. Audit exposed content for credentials or sensitive data.',
|
|
163
|
-
},
|
|
164
|
-
// ========================================
|
|
165
|
-
// CLICKJACKING
|
|
166
|
-
// ========================================
|
|
167
|
-
[error_codes_js_1.VulnerabilityCode.CLICK_FRAMEABLE]: {
|
|
168
|
-
id: 76,
|
|
169
|
-
code: error_codes_js_1.VulnerabilityCode.CLICK_FRAMEABLE,
|
|
170
|
-
title: 'Clickjacking - Page Frameable',
|
|
171
|
-
description: 'The application pages can be embedded in iframes on malicious websites, enabling clickjacking attacks where attackers overlay transparent frames over deceptive UI elements to trick users into clicking hidden buttons or links that perform unintended actions.',
|
|
172
|
-
severity: 'medium',
|
|
173
|
-
category: 'configuration',
|
|
174
|
-
scanner: 'security-headers',
|
|
175
|
-
cvss: {
|
|
176
|
-
score: 4.7,
|
|
177
|
-
vector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N',
|
|
178
|
-
severity: 'MEDIUM',
|
|
179
|
-
},
|
|
180
|
-
cwe: [
|
|
181
|
-
{ id: 'CWE-1021', name: 'Improper Restriction of Rendered UI Layers', url: 'https://cwe.mitre.org/data/definitions/1021.html' },
|
|
182
|
-
],
|
|
183
|
-
owasp: [
|
|
184
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
185
|
-
],
|
|
186
|
-
remediation: 'Implement X-Frame-Options header with DENY or SAMEORIGIN value. Use Content-Security-Policy frame-ancestors directive. Add JavaScript frame-busting code as defense in depth.',
|
|
187
|
-
},
|
|
188
|
-
// ========================================
|
|
189
|
-
// DESERIALIZATION
|
|
190
|
-
// ========================================
|
|
191
|
-
[error_codes_js_1.VulnerabilityCode.DESER_JAVA]: {
|
|
192
|
-
id: 77,
|
|
193
|
-
code: error_codes_js_1.VulnerabilityCode.DESER_JAVA,
|
|
194
|
-
title: 'Insecure Deserialization - Java',
|
|
195
|
-
description: 'Critical Java deserialization vulnerability where untrusted serialized objects are processed, allowing attackers to achieve remote code execution through gadget chains in common libraries like Apache Commons Collections, Spring Framework, or other classpath dependencies.',
|
|
196
|
-
severity: 'critical',
|
|
197
|
-
category: 'injection',
|
|
198
|
-
scanner: 'deserialization',
|
|
199
|
-
cvss: {
|
|
200
|
-
score: 9.8,
|
|
201
|
-
vector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H',
|
|
202
|
-
severity: 'CRITICAL',
|
|
203
|
-
},
|
|
204
|
-
cwe: [
|
|
205
|
-
{ id: 'CWE-502', name: 'Deserialization of Untrusted Data', url: 'https://cwe.mitre.org/data/definitions/502.html' },
|
|
206
|
-
],
|
|
207
|
-
owasp: [
|
|
208
|
-
{ id: 'A08:2021', name: 'Software and Data Integrity Failures', url: 'https://owasp.org/Top10/A08_2021-Software_and_Data_Integrity_Failures/' },
|
|
209
|
-
],
|
|
210
|
-
remediation: 'Do not deserialize untrusted data. Use JSON or XML instead of Java serialization. Implement ObjectInputFilter (JEP 290) to restrict deserializable classes. Remove vulnerable gadget libraries.',
|
|
211
|
-
},
|
|
212
|
-
[error_codes_js_1.VulnerabilityCode.DESER_PHP]: {
|
|
213
|
-
id: 78,
|
|
214
|
-
code: error_codes_js_1.VulnerabilityCode.DESER_PHP,
|
|
215
|
-
title: 'Insecure Deserialization - PHP',
|
|
216
|
-
description: 'Critical PHP deserialization vulnerability where unserialize() processes attacker-controlled data, enabling object injection attacks through magic methods like __wakeup(), __destruct(), or __toString() in application or framework classes for remote code execution.',
|
|
217
|
-
severity: 'critical',
|
|
218
|
-
category: 'injection',
|
|
219
|
-
scanner: 'deserialization',
|
|
220
|
-
cvss: {
|
|
221
|
-
score: 9.8,
|
|
222
|
-
vector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H',
|
|
223
|
-
severity: 'CRITICAL',
|
|
224
|
-
},
|
|
225
|
-
cwe: [
|
|
226
|
-
{ id: 'CWE-502', name: 'Deserialization of Untrusted Data', url: 'https://cwe.mitre.org/data/definitions/502.html' },
|
|
227
|
-
],
|
|
228
|
-
owasp: [
|
|
229
|
-
{ id: 'A08:2021', name: 'Software and Data Integrity Failures', url: 'https://owasp.org/Top10/A08_2021-Software_and_Data_Integrity_Failures/' },
|
|
230
|
-
],
|
|
231
|
-
remediation: 'Never pass user input to unserialize(). Use json_decode() instead. If serialization is required, use allowed_classes option with explicit allowlist. Audit code for pop chains.',
|
|
232
|
-
},
|
|
233
|
-
[error_codes_js_1.VulnerabilityCode.DESER_PYTHON]: {
|
|
234
|
-
id: 79,
|
|
235
|
-
code: error_codes_js_1.VulnerabilityCode.DESER_PYTHON,
|
|
236
|
-
title: 'Insecure Deserialization - Python',
|
|
237
|
-
description: 'Critical Python deserialization vulnerability through pickle/cPickle processing of untrusted data, enabling remote code execution via __reduce__ method exploitation. Python pickle is inherently unsafe and should never process untrusted input.',
|
|
238
|
-
severity: 'critical',
|
|
239
|
-
category: 'injection',
|
|
240
|
-
scanner: 'deserialization',
|
|
241
|
-
cvss: {
|
|
242
|
-
score: 9.8,
|
|
243
|
-
vector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H',
|
|
244
|
-
severity: 'CRITICAL',
|
|
245
|
-
},
|
|
246
|
-
cwe: [
|
|
247
|
-
{ id: 'CWE-502', name: 'Deserialization of Untrusted Data', url: 'https://cwe.mitre.org/data/definitions/502.html' },
|
|
248
|
-
],
|
|
249
|
-
owasp: [
|
|
250
|
-
{ id: 'A08:2021', name: 'Software and Data Integrity Failures', url: 'https://owasp.org/Top10/A08_2021-Software_and_Data_Integrity_Failures/' },
|
|
251
|
-
],
|
|
252
|
-
remediation: 'Never pickle untrusted data. Use JSON or other safe formats. If pickle is required, use cryptographic signatures to verify data integrity before deserialization.',
|
|
253
|
-
},
|
|
254
|
-
[error_codes_js_1.VulnerabilityCode.DESER_DOTNET]: {
|
|
255
|
-
id: 80,
|
|
256
|
-
code: error_codes_js_1.VulnerabilityCode.DESER_DOTNET,
|
|
257
|
-
title: 'Insecure Deserialization - .NET',
|
|
258
|
-
description: 'Critical .NET deserialization vulnerability through BinaryFormatter, ObjectStateFormatter, LosFormatter, or other dangerous formatters processing untrusted data, enabling remote code execution through gadget chains in the .NET runtime or third-party libraries.',
|
|
259
|
-
severity: 'critical',
|
|
260
|
-
category: 'injection',
|
|
261
|
-
scanner: 'deserialization',
|
|
262
|
-
cvss: {
|
|
263
|
-
score: 9.8,
|
|
264
|
-
vector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H',
|
|
265
|
-
severity: 'CRITICAL',
|
|
266
|
-
},
|
|
267
|
-
cwe: [
|
|
268
|
-
{ id: 'CWE-502', name: 'Deserialization of Untrusted Data', url: 'https://cwe.mitre.org/data/definitions/502.html' },
|
|
269
|
-
],
|
|
270
|
-
owasp: [
|
|
271
|
-
{ id: 'A08:2021', name: 'Software and Data Integrity Failures', url: 'https://owasp.org/Top10/A08_2021-Software_and_Data_Integrity_Failures/' },
|
|
272
|
-
],
|
|
273
|
-
remediation: 'Avoid BinaryFormatter for untrusted data. Use System.Text.Json or XmlSerializer with known types. For legacy code, implement SerializationBinder to restrict deserializable types.',
|
|
274
|
-
},
|
|
275
|
-
[error_codes_js_1.VulnerabilityCode.DESER_RUBY]: {
|
|
276
|
-
id: 81,
|
|
277
|
-
code: error_codes_js_1.VulnerabilityCode.DESER_RUBY,
|
|
278
|
-
title: 'Insecure Deserialization - Ruby',
|
|
279
|
-
description: 'Critical Ruby deserialization vulnerability through Marshal.load or YAML.load processing untrusted data, enabling remote code execution through Ruby object instantiation gadgets that execute arbitrary code during object reconstruction.',
|
|
280
|
-
severity: 'critical',
|
|
281
|
-
category: 'injection',
|
|
282
|
-
scanner: 'deserialization',
|
|
283
|
-
cvss: {
|
|
284
|
-
score: 9.8,
|
|
285
|
-
vector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H',
|
|
286
|
-
severity: 'CRITICAL',
|
|
287
|
-
},
|
|
288
|
-
cwe: [
|
|
289
|
-
{ id: 'CWE-502', name: 'Deserialization of Untrusted Data', url: 'https://cwe.mitre.org/data/definitions/502.html' },
|
|
290
|
-
],
|
|
291
|
-
owasp: [
|
|
292
|
-
{ id: 'A08:2021', name: 'Software and Data Integrity Failures', url: 'https://owasp.org/Top10/A08_2021-Software_and_Data_Integrity_Failures/' },
|
|
293
|
-
],
|
|
294
|
-
remediation: 'Never Marshal.load untrusted data. Use JSON.parse instead. For YAML, use YAML.safe_load with permitted_classes option. Sign serialized data with HMAC for integrity.',
|
|
295
|
-
},
|
|
296
|
-
[error_codes_js_1.VulnerabilityCode.DESER_NODE]: {
|
|
297
|
-
id: 82,
|
|
298
|
-
code: error_codes_js_1.VulnerabilityCode.DESER_NODE,
|
|
299
|
-
title: 'Insecure Deserialization - Node.js',
|
|
300
|
-
description: 'Critical Node.js deserialization vulnerability through node-serialize, funcster, or similar libraries that execute JavaScript during deserialization, enabling remote code execution when attacker-controlled serialized data containing functions or IIFE is processed.',
|
|
301
|
-
severity: 'critical',
|
|
302
|
-
category: 'injection',
|
|
303
|
-
scanner: 'deserialization',
|
|
304
|
-
cvss: {
|
|
305
|
-
score: 9.8,
|
|
306
|
-
vector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H',
|
|
307
|
-
severity: 'CRITICAL',
|
|
308
|
-
},
|
|
309
|
-
cwe: [
|
|
310
|
-
{ id: 'CWE-502', name: 'Deserialization of Untrusted Data', url: 'https://cwe.mitre.org/data/definitions/502.html' },
|
|
311
|
-
],
|
|
312
|
-
owasp: [
|
|
313
|
-
{ id: 'A08:2021', name: 'Software and Data Integrity Failures', url: 'https://owasp.org/Top10/A08_2021-Software_and_Data_Integrity_Failures/' },
|
|
314
|
-
],
|
|
315
|
-
remediation: 'Never use serialization libraries that can deserialize functions. Use JSON.parse() for data interchange. Avoid node-serialize and similar libraries. Implement input validation.',
|
|
316
|
-
},
|
|
317
|
-
[error_codes_js_1.VulnerabilityCode.CLICK_PARTIAL_PROTECTION]: {
|
|
318
|
-
id: 83,
|
|
319
|
-
code: error_codes_js_1.VulnerabilityCode.CLICK_PARTIAL_PROTECTION,
|
|
320
|
-
title: 'Clickjacking - Partial Protection',
|
|
321
|
-
description: 'Incomplete clickjacking protection where X-Frame-Options or frame-ancestors CSP is only applied on some pages, uses weak values like ALLOW-FROM with bypassable origins, or has inconsistent implementation allowing certain pages to be framed.',
|
|
322
|
-
severity: 'low',
|
|
323
|
-
category: 'configuration',
|
|
324
|
-
scanner: 'security-headers',
|
|
325
|
-
cvss: {
|
|
326
|
-
score: 3.7,
|
|
327
|
-
vector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N',
|
|
328
|
-
severity: 'LOW',
|
|
329
|
-
},
|
|
330
|
-
cwe: [
|
|
331
|
-
{ id: 'CWE-1021', name: 'Improper Restriction of Rendered UI Layers', url: 'https://cwe.mitre.org/data/definitions/1021.html' },
|
|
332
|
-
],
|
|
333
|
-
owasp: [
|
|
334
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
335
|
-
],
|
|
336
|
-
remediation: 'Apply consistent frame protection across all pages. Use DENY or SAMEORIGIN rather than ALLOW-FROM. Audit all endpoints for missing protection. Use CSP frame-ancestors instead of X-Frame-Options.',
|
|
337
|
-
},
|
|
338
|
-
[error_codes_js_1.VulnerabilityCode.HEADER_MISSING_XCONTENT_TYPE]: {
|
|
339
|
-
id: 84,
|
|
340
|
-
code: error_codes_js_1.VulnerabilityCode.HEADER_MISSING_XCONTENT_TYPE,
|
|
341
|
-
title: 'Missing Security Header - X-Content-Type-Options',
|
|
342
|
-
description: 'The application does not set X-Content-Type-Options: nosniff header, allowing browsers to perform MIME-type sniffing that can lead to XSS attacks when user-uploaded content is served with incorrect Content-Type and browsers execute it as script.',
|
|
343
|
-
severity: 'low',
|
|
344
|
-
category: 'configuration',
|
|
345
|
-
scanner: 'security-headers',
|
|
346
|
-
cvss: {
|
|
347
|
-
score: 3.7,
|
|
348
|
-
vector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N',
|
|
349
|
-
severity: 'LOW',
|
|
350
|
-
},
|
|
351
|
-
cwe: [
|
|
352
|
-
{ id: 'CWE-693', name: 'Protection Mechanism Failure', url: 'https://cwe.mitre.org/data/definitions/693.html' },
|
|
353
|
-
],
|
|
354
|
-
owasp: [
|
|
355
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
356
|
-
],
|
|
357
|
-
remediation: 'Add X-Content-Type-Options: nosniff header to all responses. Ensure correct Content-Type headers are set for all resources. Validate file types before serving user uploads.',
|
|
358
|
-
},
|
|
359
|
-
[error_codes_js_1.VulnerabilityCode.HEADER_MISSING_REFERRER_POLICY]: {
|
|
360
|
-
id: 85,
|
|
361
|
-
code: error_codes_js_1.VulnerabilityCode.HEADER_MISSING_REFERRER_POLICY,
|
|
362
|
-
title: 'Missing Security Header - Referrer-Policy',
|
|
363
|
-
description: 'The application does not implement Referrer-Policy header, potentially leaking sensitive URL information including session tokens, user IDs, or query parameters to external sites when users click links or resources are loaded from third-party domains.',
|
|
364
|
-
severity: 'low',
|
|
365
|
-
category: 'configuration',
|
|
366
|
-
scanner: 'security-headers',
|
|
367
|
-
cvss: {
|
|
368
|
-
score: 3.1,
|
|
369
|
-
vector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N',
|
|
370
|
-
severity: 'LOW',
|
|
371
|
-
},
|
|
372
|
-
cwe: [
|
|
373
|
-
{ id: 'CWE-200', name: 'Information Exposure', url: 'https://cwe.mitre.org/data/definitions/200.html' },
|
|
374
|
-
],
|
|
375
|
-
owasp: [
|
|
376
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
377
|
-
],
|
|
378
|
-
remediation: 'Implement Referrer-Policy header with strict-origin-when-cross-origin or no-referrer policy. Avoid passing sensitive data in URLs. Use POST requests for sensitive operations.',
|
|
379
|
-
},
|
|
380
|
-
[error_codes_js_1.VulnerabilityCode.HEADER_MISSING_PERMISSIONS_POLICY]: {
|
|
381
|
-
id: 86,
|
|
382
|
-
code: error_codes_js_1.VulnerabilityCode.HEADER_MISSING_PERMISSIONS_POLICY,
|
|
383
|
-
title: 'Missing Security Header - Permissions-Policy',
|
|
384
|
-
description: 'The application does not implement Permissions-Policy (formerly Feature-Policy) header, allowing embedded frames or malicious scripts to access sensitive browser features like camera, microphone, geolocation, or payment APIs without explicit permission.',
|
|
385
|
-
severity: 'info',
|
|
386
|
-
category: 'configuration',
|
|
387
|
-
scanner: 'security-headers',
|
|
388
|
-
cvss: {
|
|
389
|
-
score: 2.0,
|
|
390
|
-
vector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N',
|
|
391
|
-
severity: 'LOW',
|
|
392
|
-
},
|
|
393
|
-
cwe: [
|
|
394
|
-
{ id: 'CWE-693', name: 'Protection Mechanism Failure', url: 'https://cwe.mitre.org/data/definitions/693.html' },
|
|
395
|
-
],
|
|
396
|
-
owasp: [
|
|
397
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
398
|
-
],
|
|
399
|
-
remediation: 'Add Permissions-Policy header restricting access to sensitive features. Disable features not needed by the application. Use () syntax to disallow features for all origins.',
|
|
400
|
-
},
|
|
401
|
-
[error_codes_js_1.VulnerabilityCode.HEADER_MISSING_XSS_PROTECTION]: {
|
|
402
|
-
id: 87,
|
|
403
|
-
code: error_codes_js_1.VulnerabilityCode.HEADER_MISSING_XSS_PROTECTION,
|
|
404
|
-
title: 'Missing Security Header - X-XSS-Protection',
|
|
405
|
-
description: 'The legacy X-XSS-Protection header is not set. While deprecated in modern browsers, it can provide defense-in-depth for older browsers that still honor this header for their built-in XSS auditor feature.',
|
|
406
|
-
severity: 'info',
|
|
407
|
-
category: 'configuration',
|
|
408
|
-
scanner: 'security-headers',
|
|
409
|
-
cvss: {
|
|
410
|
-
score: 0.0,
|
|
411
|
-
vector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:N',
|
|
412
|
-
severity: 'NONE',
|
|
413
|
-
},
|
|
414
|
-
cwe: [
|
|
415
|
-
{ id: 'CWE-693', name: 'Protection Mechanism Failure', url: 'https://cwe.mitre.org/data/definitions/693.html' },
|
|
416
|
-
],
|
|
417
|
-
owasp: [
|
|
418
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
419
|
-
],
|
|
420
|
-
remediation: 'Set X-XSS-Protection: 0 to disable (recommended per OWASP) or use CSP instead. The XSS auditor has been removed from modern browsers due to security issues with block mode.',
|
|
421
|
-
},
|
|
422
|
-
[error_codes_js_1.VulnerabilityCode.HEADER_COEP_WITHOUT_COOP]: {
|
|
423
|
-
id: 108,
|
|
424
|
-
code: error_codes_js_1.VulnerabilityCode.HEADER_COEP_WITHOUT_COOP,
|
|
425
|
-
title: 'Header Misconfiguration - COEP Without COOP',
|
|
426
|
-
description: 'Cross-Origin-Embedder-Policy (COEP) is set without Cross-Origin-Opener-Policy (COOP), which can create inconsistent cross-origin isolation behavior and indicate incomplete or misapplied security header strategy for isolation-sensitive applications.',
|
|
427
|
-
severity: 'info',
|
|
428
|
-
category: 'configuration',
|
|
429
|
-
scanner: 'security-headers',
|
|
430
|
-
cvss: {
|
|
431
|
-
score: 2.0,
|
|
432
|
-
vector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:N',
|
|
433
|
-
severity: 'LOW',
|
|
434
|
-
},
|
|
435
|
-
cwe: [
|
|
436
|
-
{ id: 'CWE-693', name: 'Protection Mechanism Failure', url: 'https://cwe.mitre.org/data/definitions/693.html' },
|
|
437
|
-
],
|
|
438
|
-
owasp: [
|
|
439
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
440
|
-
],
|
|
441
|
-
remediation: 'If cross-origin isolation is required, deploy COEP together with COOP and validate the intended policy combination. Otherwise remove COEP to avoid confusing or inconsistent isolation posture.',
|
|
442
|
-
},
|
|
443
|
-
[error_codes_js_1.VulnerabilityCode.HEADER_CORP_UNUSUAL]: {
|
|
444
|
-
id: 109,
|
|
445
|
-
code: error_codes_js_1.VulnerabilityCode.HEADER_CORP_UNUSUAL,
|
|
446
|
-
title: 'Header Misconfiguration - Unusual CORP Value',
|
|
447
|
-
description: 'Cross-Origin-Resource-Policy (CORP) is set to a non-standard value, which may indicate a misconfiguration that provides no effective protection or creates unpredictable resource loading behavior across origins.',
|
|
448
|
-
severity: 'info',
|
|
449
|
-
category: 'configuration',
|
|
450
|
-
scanner: 'security-headers',
|
|
451
|
-
cvss: {
|
|
452
|
-
score: 2.0,
|
|
453
|
-
vector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:N',
|
|
454
|
-
severity: 'LOW',
|
|
455
|
-
},
|
|
456
|
-
cwe: [
|
|
457
|
-
{ id: 'CWE-693', name: 'Protection Mechanism Failure', url: 'https://cwe.mitre.org/data/definitions/693.html' },
|
|
458
|
-
],
|
|
459
|
-
owasp: [
|
|
460
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
461
|
-
],
|
|
462
|
-
remediation: 'Use valid CORP values (same-origin, same-site, or cross-origin) and confirm the chosen policy aligns with the resource sharing model of the application.',
|
|
463
|
-
},
|
|
464
|
-
[error_codes_js_1.VulnerabilityCode.HEADER_EXPECT_CT_PRESENT]: {
|
|
465
|
-
id: 110,
|
|
466
|
-
code: error_codes_js_1.VulnerabilityCode.HEADER_EXPECT_CT_PRESENT,
|
|
467
|
-
title: 'Deprecated Header - Expect-CT Present',
|
|
468
|
-
description: 'The Expect-CT header is present even though the feature is deprecated and no longer enforced by major browsers, adding unnecessary configuration surface without meaningful security benefit.',
|
|
469
|
-
severity: 'info',
|
|
470
|
-
category: 'configuration',
|
|
471
|
-
scanner: 'security-headers',
|
|
472
|
-
cvss: {
|
|
473
|
-
score: 0.0,
|
|
474
|
-
vector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:N',
|
|
475
|
-
severity: 'NONE',
|
|
476
|
-
},
|
|
477
|
-
cwe: [
|
|
478
|
-
{ id: 'CWE-693', name: 'Protection Mechanism Failure', url: 'https://cwe.mitre.org/data/definitions/693.html' },
|
|
479
|
-
],
|
|
480
|
-
owasp: [
|
|
481
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
482
|
-
],
|
|
483
|
-
remediation: 'Remove Expect-CT unless you have a legacy operational requirement, and focus on TLS configuration and certificate transparency monitoring via modern tooling.',
|
|
484
|
-
},
|
|
485
|
-
[error_codes_js_1.VulnerabilityCode.HEADER_SERVER_HEADER_PRESENT]: {
|
|
486
|
-
id: 111,
|
|
487
|
-
code: error_codes_js_1.VulnerabilityCode.HEADER_SERVER_HEADER_PRESENT,
|
|
488
|
-
title: 'Information Exposure - Server Header Present',
|
|
489
|
-
description: 'The Server header reveals technology or version details that can assist attackers with fingerprinting and targeted exploitation, increasing the likelihood of tailored attacks against known software weaknesses.',
|
|
490
|
-
severity: 'info',
|
|
491
|
-
category: 'configuration',
|
|
492
|
-
scanner: 'security-headers',
|
|
493
|
-
cvss: {
|
|
494
|
-
score: 3.1,
|
|
495
|
-
vector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N',
|
|
496
|
-
severity: 'LOW',
|
|
497
|
-
},
|
|
498
|
-
cwe: [
|
|
499
|
-
{ id: 'CWE-200', name: 'Information Exposure', url: 'https://cwe.mitre.org/data/definitions/200.html' },
|
|
500
|
-
],
|
|
501
|
-
owasp: [
|
|
502
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
503
|
-
],
|
|
504
|
-
remediation: 'Configure the web server or reverse proxy to minimize or remove Server header details and avoid exposing version strings in responses.',
|
|
505
|
-
},
|
|
506
|
-
[error_codes_js_1.VulnerabilityCode.HEADER_X_POWERED_BY_PRESENT]: {
|
|
507
|
-
id: 112,
|
|
508
|
-
code: error_codes_js_1.VulnerabilityCode.HEADER_X_POWERED_BY_PRESENT,
|
|
509
|
-
title: 'Information Exposure - X-Powered-By Present',
|
|
510
|
-
description: 'The X-Powered-By header discloses framework or runtime information that can be used to fingerprint the application stack and target known vulnerabilities in specific platforms or versions.',
|
|
511
|
-
severity: 'info',
|
|
512
|
-
category: 'configuration',
|
|
513
|
-
scanner: 'security-headers',
|
|
514
|
-
cvss: {
|
|
515
|
-
score: 3.1,
|
|
516
|
-
vector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N',
|
|
517
|
-
severity: 'LOW',
|
|
518
|
-
},
|
|
519
|
-
cwe: [
|
|
520
|
-
{ id: 'CWE-200', name: 'Information Exposure', url: 'https://cwe.mitre.org/data/definitions/200.html' },
|
|
521
|
-
],
|
|
522
|
-
owasp: [
|
|
523
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
524
|
-
],
|
|
525
|
-
remediation: 'Disable X-Powered-By headers in application frameworks or reverse proxies to reduce stack fingerprinting exposure.',
|
|
526
|
-
},
|
|
527
|
-
[error_codes_js_1.VulnerabilityCode.HEADER_X_XSS_PROTECTION_ENABLED]: {
|
|
528
|
-
id: 113,
|
|
529
|
-
code: error_codes_js_1.VulnerabilityCode.HEADER_X_XSS_PROTECTION_ENABLED,
|
|
530
|
-
title: 'Deprecated Header - X-XSS-Protection Enabled',
|
|
531
|
-
description: 'The X-XSS-Protection header is enabled, which is deprecated and can introduce security risks or inconsistent behavior in legacy browsers due to the removed XSS auditor feature.',
|
|
532
|
-
severity: 'low',
|
|
533
|
-
category: 'configuration',
|
|
534
|
-
scanner: 'security-headers',
|
|
535
|
-
cvss: {
|
|
536
|
-
score: 3.1,
|
|
537
|
-
vector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N',
|
|
538
|
-
severity: 'LOW',
|
|
539
|
-
},
|
|
540
|
-
cwe: [
|
|
541
|
-
{ id: 'CWE-693', name: 'Protection Mechanism Failure', url: 'https://cwe.mitre.org/data/definitions/693.html' },
|
|
542
|
-
],
|
|
543
|
-
owasp: [
|
|
544
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
545
|
-
],
|
|
546
|
-
remediation: 'Prefer modern CSP protections and set X-XSS-Protection: 0 or remove the header to avoid relying on deprecated behavior.',
|
|
547
|
-
},
|
|
548
|
-
[error_codes_js_1.VulnerabilityCode.COOKIE_SAMESITE_NONE_WITHOUT_SECURE]: {
|
|
549
|
-
id: 114,
|
|
550
|
-
code: error_codes_js_1.VulnerabilityCode.COOKIE_SAMESITE_NONE_WITHOUT_SECURE,
|
|
551
|
-
title: 'Cookie Misconfiguration - SameSite=None Without Secure',
|
|
552
|
-
description: 'A cookie is configured with SameSite=None but lacks the Secure attribute, enabling cross-site transmission over unencrypted connections and undermining cookie integrity and confidentiality controls.',
|
|
553
|
-
severity: 'medium',
|
|
554
|
-
category: 'configuration',
|
|
555
|
-
scanner: 'security-headers',
|
|
556
|
-
cvss: {
|
|
557
|
-
score: 5.3,
|
|
558
|
-
vector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N',
|
|
559
|
-
severity: 'MEDIUM',
|
|
560
|
-
},
|
|
561
|
-
cwe: [
|
|
562
|
-
{ id: 'CWE-614', name: 'Sensitive Cookie in HTTPS Session Without Secure Attribute', url: 'https://cwe.mitre.org/data/definitions/614.html' },
|
|
563
|
-
],
|
|
564
|
-
owasp: [
|
|
565
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
566
|
-
],
|
|
567
|
-
remediation: 'Set Secure when SameSite=None is used and ensure the application is served exclusively over HTTPS.',
|
|
568
|
-
},
|
|
569
|
-
[error_codes_js_1.VulnerabilityCode.COOKIE_SESSION_MISSING_SECURE]: {
|
|
570
|
-
id: 115,
|
|
571
|
-
code: error_codes_js_1.VulnerabilityCode.COOKIE_SESSION_MISSING_SECURE,
|
|
572
|
-
title: 'Cookie Misconfiguration - Session Cookie Missing Secure',
|
|
573
|
-
description: 'Session or authentication cookies are missing the Secure attribute, allowing them to be transmitted over unencrypted connections and increasing the risk of session hijacking or credential theft.',
|
|
574
|
-
severity: 'high',
|
|
575
|
-
category: 'configuration',
|
|
576
|
-
scanner: 'security-headers',
|
|
577
|
-
cvss: {
|
|
578
|
-
score: 7.1,
|
|
579
|
-
vector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N',
|
|
580
|
-
severity: 'HIGH',
|
|
581
|
-
},
|
|
582
|
-
cwe: [
|
|
583
|
-
{ id: 'CWE-614', name: 'Sensitive Cookie in HTTPS Session Without Secure Attribute', url: 'https://cwe.mitre.org/data/definitions/614.html' },
|
|
584
|
-
],
|
|
585
|
-
owasp: [
|
|
586
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
587
|
-
],
|
|
588
|
-
remediation: 'Apply the Secure attribute to all session cookies and enforce HTTPS with HSTS to prevent downgrade to plaintext.',
|
|
589
|
-
},
|
|
590
|
-
[error_codes_js_1.VulnerabilityCode.COOKIE_MISSING_SECURE]: {
|
|
591
|
-
id: 116,
|
|
592
|
-
code: error_codes_js_1.VulnerabilityCode.COOKIE_MISSING_SECURE,
|
|
593
|
-
title: 'Cookie Misconfiguration - Missing Secure Attribute',
|
|
594
|
-
description: 'Cookies are set without the Secure attribute, permitting transmission over plaintext HTTP and exposing cookie contents to network interception or manipulation.',
|
|
595
|
-
severity: 'medium',
|
|
596
|
-
category: 'configuration',
|
|
597
|
-
scanner: 'security-headers',
|
|
598
|
-
cvss: {
|
|
599
|
-
score: 5.3,
|
|
600
|
-
vector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N',
|
|
601
|
-
severity: 'MEDIUM',
|
|
602
|
-
},
|
|
603
|
-
cwe: [
|
|
604
|
-
{ id: 'CWE-614', name: 'Sensitive Cookie in HTTPS Session Without Secure Attribute', url: 'https://cwe.mitre.org/data/definitions/614.html' },
|
|
605
|
-
],
|
|
606
|
-
owasp: [
|
|
607
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
608
|
-
],
|
|
609
|
-
remediation: 'Set the Secure attribute on cookies that should only be transmitted over HTTPS.',
|
|
610
|
-
},
|
|
611
|
-
[error_codes_js_1.VulnerabilityCode.COOKIE_SESSION_MISSING_HTTPONLY]: {
|
|
612
|
-
id: 117,
|
|
613
|
-
code: error_codes_js_1.VulnerabilityCode.COOKIE_SESSION_MISSING_HTTPONLY,
|
|
614
|
-
title: 'Cookie Misconfiguration - Session Cookie Missing HttpOnly',
|
|
615
|
-
description: 'Session or authentication cookies are missing the HttpOnly attribute, allowing client-side scripts to access sensitive cookie values and increasing the impact of XSS attacks.',
|
|
616
|
-
severity: 'high',
|
|
617
|
-
category: 'configuration',
|
|
618
|
-
scanner: 'security-headers',
|
|
619
|
-
cvss: {
|
|
620
|
-
score: 7.1,
|
|
621
|
-
vector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N',
|
|
622
|
-
severity: 'HIGH',
|
|
623
|
-
},
|
|
624
|
-
cwe: [
|
|
625
|
-
{ id: 'CWE-1004', name: 'Sensitive Cookie Without HttpOnly Flag', url: 'https://cwe.mitre.org/data/definitions/1004.html' },
|
|
626
|
-
],
|
|
627
|
-
owasp: [
|
|
628
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
629
|
-
],
|
|
630
|
-
remediation: 'Set HttpOnly on session cookies to reduce access from client-side scripts and pair with CSP to mitigate XSS risk.',
|
|
631
|
-
},
|
|
632
|
-
[error_codes_js_1.VulnerabilityCode.COOKIE_MISSING_HTTPONLY]: {
|
|
633
|
-
id: 118,
|
|
634
|
-
code: error_codes_js_1.VulnerabilityCode.COOKIE_MISSING_HTTPONLY,
|
|
635
|
-
title: 'Cookie Misconfiguration - Missing HttpOnly Attribute',
|
|
636
|
-
description: 'Cookies are missing the HttpOnly attribute, allowing JavaScript access to cookie values and increasing the potential impact of client-side script injection.',
|
|
637
|
-
severity: 'medium',
|
|
638
|
-
category: 'configuration',
|
|
639
|
-
scanner: 'security-headers',
|
|
640
|
-
cvss: {
|
|
641
|
-
score: 5.3,
|
|
642
|
-
vector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N',
|
|
643
|
-
severity: 'MEDIUM',
|
|
644
|
-
},
|
|
645
|
-
cwe: [
|
|
646
|
-
{ id: 'CWE-1004', name: 'Sensitive Cookie Without HttpOnly Flag', url: 'https://cwe.mitre.org/data/definitions/1004.html' },
|
|
647
|
-
],
|
|
648
|
-
owasp: [
|
|
649
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
650
|
-
],
|
|
651
|
-
remediation: 'Add HttpOnly to cookies that should not be accessed by JavaScript to reduce the impact of XSS.',
|
|
652
|
-
},
|
|
653
|
-
[error_codes_js_1.VulnerabilityCode.COOKIE_MISSING_SAMESITE]: {
|
|
654
|
-
id: 119,
|
|
655
|
-
code: error_codes_js_1.VulnerabilityCode.COOKIE_MISSING_SAMESITE,
|
|
656
|
-
title: 'Cookie Misconfiguration - Missing SameSite Attribute',
|
|
657
|
-
description: 'Cookies do not specify SameSite, which can allow cross-site requests to include cookies by default and increase exposure to CSRF-style attacks or cross-site leakage.',
|
|
658
|
-
severity: 'medium',
|
|
659
|
-
category: 'configuration',
|
|
660
|
-
scanner: 'security-headers',
|
|
661
|
-
cvss: {
|
|
662
|
-
score: 4.3,
|
|
663
|
-
vector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N',
|
|
664
|
-
severity: 'MEDIUM',
|
|
665
|
-
},
|
|
666
|
-
cwe: [
|
|
667
|
-
{ id: 'CWE-693', name: 'Protection Mechanism Failure', url: 'https://cwe.mitre.org/data/definitions/693.html' },
|
|
668
|
-
],
|
|
669
|
-
owasp: [
|
|
670
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
671
|
-
],
|
|
672
|
-
remediation: 'Set SameSite=Lax for general cookies or SameSite=Strict where appropriate to reduce cross-site cookie inclusion.',
|
|
673
|
-
},
|
|
674
|
-
[error_codes_js_1.VulnerabilityCode.COOKIE_HOST_PREFIX_INVALID]: {
|
|
675
|
-
id: 120,
|
|
676
|
-
code: error_codes_js_1.VulnerabilityCode.COOKIE_HOST_PREFIX_INVALID,
|
|
677
|
-
title: 'Cookie Misconfiguration - __Host- Prefix Violations',
|
|
678
|
-
description: 'Cookies with the __Host- prefix do not meet required attributes (Secure, Path=/, no Domain), weakening the protections provided by host-only cookie semantics.',
|
|
679
|
-
severity: 'medium',
|
|
680
|
-
category: 'configuration',
|
|
681
|
-
scanner: 'security-headers',
|
|
682
|
-
cvss: {
|
|
683
|
-
score: 5.3,
|
|
684
|
-
vector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N',
|
|
685
|
-
severity: 'MEDIUM',
|
|
686
|
-
},
|
|
687
|
-
cwe: [
|
|
688
|
-
{ id: 'CWE-693', name: 'Protection Mechanism Failure', url: 'https://cwe.mitre.org/data/definitions/693.html' },
|
|
689
|
-
],
|
|
690
|
-
owasp: [
|
|
691
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
692
|
-
],
|
|
693
|
-
remediation: 'Ensure __Host- cookies include Secure, Path=/, and omit the Domain attribute to preserve host-only guarantees.',
|
|
694
|
-
},
|
|
695
|
-
[error_codes_js_1.VulnerabilityCode.COOKIE_SECURE_PREFIX_INVALID]: {
|
|
696
|
-
id: 121,
|
|
697
|
-
code: error_codes_js_1.VulnerabilityCode.COOKIE_SECURE_PREFIX_INVALID,
|
|
698
|
-
title: 'Cookie Misconfiguration - __Secure- Prefix Violations',
|
|
699
|
-
description: 'Cookies with the __Secure- prefix are missing the Secure attribute, which defeats the prefix requirement and weakens transport security protections.',
|
|
700
|
-
severity: 'medium',
|
|
701
|
-
category: 'configuration',
|
|
702
|
-
scanner: 'security-headers',
|
|
703
|
-
cvss: {
|
|
704
|
-
score: 5.3,
|
|
705
|
-
vector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N',
|
|
706
|
-
severity: 'MEDIUM',
|
|
707
|
-
},
|
|
708
|
-
cwe: [
|
|
709
|
-
{ id: 'CWE-693', name: 'Protection Mechanism Failure', url: 'https://cwe.mitre.org/data/definitions/693.html' },
|
|
710
|
-
],
|
|
711
|
-
owasp: [
|
|
712
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
713
|
-
],
|
|
714
|
-
remediation: 'Set the Secure attribute for all __Secure- cookies and ensure HTTPS is enforced across the application.',
|
|
715
|
-
},
|
|
716
|
-
[error_codes_js_1.VulnerabilityCode.HEADER_DRIFT_CSP]: {
|
|
717
|
-
id: 122,
|
|
718
|
-
code: error_codes_js_1.VulnerabilityCode.HEADER_DRIFT_CSP,
|
|
719
|
-
title: 'Header Drift - Content-Security-Policy Inconsistent',
|
|
720
|
-
description: 'Content-Security-Policy is present on some paths but missing on others, creating uneven defenses and potentially exposing unprotected routes to script injection or content loading risks.',
|
|
721
|
-
severity: 'low',
|
|
722
|
-
category: 'configuration',
|
|
723
|
-
scanner: 'security-headers',
|
|
724
|
-
cvss: {
|
|
725
|
-
score: 3.1,
|
|
726
|
-
vector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N',
|
|
727
|
-
severity: 'LOW',
|
|
728
|
-
},
|
|
729
|
-
cwe: [
|
|
730
|
-
{ id: 'CWE-693', name: 'Protection Mechanism Failure', url: 'https://cwe.mitre.org/data/definitions/693.html' },
|
|
731
|
-
],
|
|
732
|
-
owasp: [
|
|
733
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
734
|
-
],
|
|
735
|
-
remediation: 'Apply CSP consistently across relevant responses, including error and authentication pages, to avoid gaps in policy coverage.',
|
|
736
|
-
},
|
|
737
|
-
[error_codes_js_1.VulnerabilityCode.HEADER_DRIFT_HSTS]: {
|
|
738
|
-
id: 123,
|
|
739
|
-
code: error_codes_js_1.VulnerabilityCode.HEADER_DRIFT_HSTS,
|
|
740
|
-
title: 'Header Drift - Strict-Transport-Security Inconsistent',
|
|
741
|
-
description: 'Strict-Transport-Security is present on some paths but missing on others, reducing the effectiveness of HTTPS enforcement and creating mixed transport behavior across the site.',
|
|
742
|
-
severity: 'low',
|
|
743
|
-
category: 'configuration',
|
|
744
|
-
scanner: 'security-headers',
|
|
745
|
-
cvss: {
|
|
746
|
-
score: 3.1,
|
|
747
|
-
vector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N',
|
|
748
|
-
severity: 'LOW',
|
|
749
|
-
},
|
|
750
|
-
cwe: [
|
|
751
|
-
{ id: 'CWE-693', name: 'Protection Mechanism Failure', url: 'https://cwe.mitre.org/data/definitions/693.html' },
|
|
752
|
-
],
|
|
753
|
-
owasp: [
|
|
754
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
755
|
-
],
|
|
756
|
-
remediation: 'Ensure HSTS is set uniformly on HTTPS responses so the browser can enforce strict transport for the entire origin.',
|
|
757
|
-
},
|
|
758
|
-
[error_codes_js_1.VulnerabilityCode.HEADER_DRIFT_XCONTENT_TYPE]: {
|
|
759
|
-
id: 124,
|
|
760
|
-
code: error_codes_js_1.VulnerabilityCode.HEADER_DRIFT_XCONTENT_TYPE,
|
|
761
|
-
title: 'Header Drift - X-Content-Type-Options Inconsistent',
|
|
762
|
-
description: 'X-Content-Type-Options is present on some paths but missing on others, allowing inconsistent MIME sniffing behavior that could expose unprotected routes to content-type confusion.',
|
|
763
|
-
severity: 'low',
|
|
764
|
-
category: 'configuration',
|
|
765
|
-
scanner: 'security-headers',
|
|
766
|
-
cvss: {
|
|
767
|
-
score: 3.1,
|
|
768
|
-
vector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N',
|
|
769
|
-
severity: 'LOW',
|
|
770
|
-
},
|
|
771
|
-
cwe: [
|
|
772
|
-
{ id: 'CWE-693', name: 'Protection Mechanism Failure', url: 'https://cwe.mitre.org/data/definitions/693.html' },
|
|
773
|
-
],
|
|
774
|
-
owasp: [
|
|
775
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
776
|
-
],
|
|
777
|
-
remediation: 'Apply X-Content-Type-Options: nosniff across all relevant responses to avoid inconsistent browser behavior.',
|
|
778
|
-
},
|
|
779
|
-
[error_codes_js_1.VulnerabilityCode.HEADER_DRIFT_REFERRER_POLICY]: {
|
|
780
|
-
id: 125,
|
|
781
|
-
code: error_codes_js_1.VulnerabilityCode.HEADER_DRIFT_REFERRER_POLICY,
|
|
782
|
-
title: 'Header Drift - Referrer-Policy Inconsistent',
|
|
783
|
-
description: 'Referrer-Policy is present on some paths but missing on others, leading to inconsistent referrer leakage controls and potential exposure of sensitive URL data.',
|
|
784
|
-
severity: 'low',
|
|
785
|
-
category: 'configuration',
|
|
786
|
-
scanner: 'security-headers',
|
|
787
|
-
cvss: {
|
|
788
|
-
score: 3.1,
|
|
789
|
-
vector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N',
|
|
790
|
-
severity: 'LOW',
|
|
791
|
-
},
|
|
792
|
-
cwe: [
|
|
793
|
-
{ id: 'CWE-693', name: 'Protection Mechanism Failure', url: 'https://cwe.mitre.org/data/definitions/693.html' },
|
|
794
|
-
],
|
|
795
|
-
owasp: [
|
|
796
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
797
|
-
],
|
|
798
|
-
remediation: 'Set a consistent Referrer-Policy across responses to standardize referrer leakage controls.',
|
|
799
|
-
},
|
|
800
|
-
[error_codes_js_1.VulnerabilityCode.HEADER_DRIFT_XFRAME]: {
|
|
801
|
-
id: 126,
|
|
802
|
-
code: error_codes_js_1.VulnerabilityCode.HEADER_DRIFT_XFRAME,
|
|
803
|
-
title: 'Header Drift - X-Frame-Options Inconsistent',
|
|
804
|
-
description: 'X-Frame-Options or equivalent framing controls are present on some paths but missing on others, creating uneven clickjacking protection across the site.',
|
|
805
|
-
severity: 'low',
|
|
806
|
-
category: 'configuration',
|
|
807
|
-
scanner: 'security-headers',
|
|
808
|
-
cvss: {
|
|
809
|
-
score: 3.1,
|
|
810
|
-
vector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N',
|
|
811
|
-
severity: 'LOW',
|
|
812
|
-
},
|
|
813
|
-
cwe: [
|
|
814
|
-
{ id: 'CWE-693', name: 'Protection Mechanism Failure', url: 'https://cwe.mitre.org/data/definitions/693.html' },
|
|
815
|
-
],
|
|
816
|
-
owasp: [
|
|
817
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
818
|
-
],
|
|
819
|
-
remediation: 'Apply X-Frame-Options or CSP frame-ancestors consistently to avoid unprotected pages.',
|
|
820
|
-
},
|
|
821
|
-
[error_codes_js_1.VulnerabilityCode.HEADER_DRIFT_PERMISSIONS_POLICY]: {
|
|
822
|
-
id: 127,
|
|
823
|
-
code: error_codes_js_1.VulnerabilityCode.HEADER_DRIFT_PERMISSIONS_POLICY,
|
|
824
|
-
title: 'Header Drift - Permissions-Policy Inconsistent',
|
|
825
|
-
description: 'Permissions-Policy is present on some paths but missing on others, leading to inconsistent controls over browser features such as geolocation, camera, or microphone.',
|
|
826
|
-
severity: 'low',
|
|
827
|
-
category: 'configuration',
|
|
828
|
-
scanner: 'security-headers',
|
|
829
|
-
cvss: {
|
|
830
|
-
score: 3.1,
|
|
831
|
-
vector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N',
|
|
832
|
-
severity: 'LOW',
|
|
833
|
-
},
|
|
834
|
-
cwe: [
|
|
835
|
-
{ id: 'CWE-693', name: 'Protection Mechanism Failure', url: 'https://cwe.mitre.org/data/definitions/693.html' },
|
|
836
|
-
],
|
|
837
|
-
owasp: [
|
|
838
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
839
|
-
],
|
|
840
|
-
remediation: 'Apply Permissions-Policy consistently for pages that should restrict access to sensitive browser features.',
|
|
841
|
-
},
|
|
842
|
-
[error_codes_js_1.VulnerabilityCode.HEADER_DRIFT_COOP]: {
|
|
843
|
-
id: 128,
|
|
844
|
-
code: error_codes_js_1.VulnerabilityCode.HEADER_DRIFT_COOP,
|
|
845
|
-
title: 'Header Drift - COOP Inconsistent',
|
|
846
|
-
description: 'Cross-Origin-Opener-Policy is present on some paths but missing on others, which can lead to uneven cross-origin isolation guarantees and inconsistent window isolation behavior.',
|
|
847
|
-
severity: 'low',
|
|
848
|
-
category: 'configuration',
|
|
849
|
-
scanner: 'security-headers',
|
|
850
|
-
cvss: {
|
|
851
|
-
score: 3.1,
|
|
852
|
-
vector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N',
|
|
853
|
-
severity: 'LOW',
|
|
854
|
-
},
|
|
855
|
-
cwe: [
|
|
856
|
-
{ id: 'CWE-693', name: 'Protection Mechanism Failure', url: 'https://cwe.mitre.org/data/definitions/693.html' },
|
|
857
|
-
],
|
|
858
|
-
owasp: [
|
|
859
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
860
|
-
],
|
|
861
|
-
remediation: 'Apply COOP consistently where cross-origin isolation is required and validate the policy across all relevant routes.',
|
|
862
|
-
},
|
|
863
|
-
[error_codes_js_1.VulnerabilityCode.HEADER_DRIFT_COEP]: {
|
|
864
|
-
id: 129,
|
|
865
|
-
code: error_codes_js_1.VulnerabilityCode.HEADER_DRIFT_COEP,
|
|
866
|
-
title: 'Header Drift - COEP Inconsistent',
|
|
867
|
-
description: 'Cross-Origin-Embedder-Policy is present on some paths but missing on others, resulting in inconsistent embedding restrictions and cross-origin isolation posture.',
|
|
868
|
-
severity: 'low',
|
|
869
|
-
category: 'configuration',
|
|
870
|
-
scanner: 'security-headers',
|
|
871
|
-
cvss: {
|
|
872
|
-
score: 3.1,
|
|
873
|
-
vector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N',
|
|
874
|
-
severity: 'LOW',
|
|
875
|
-
},
|
|
876
|
-
cwe: [
|
|
877
|
-
{ id: 'CWE-693', name: 'Protection Mechanism Failure', url: 'https://cwe.mitre.org/data/definitions/693.html' },
|
|
878
|
-
],
|
|
879
|
-
owasp: [
|
|
880
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
881
|
-
],
|
|
882
|
-
remediation: 'Apply COEP consistently on routes that are intended to enforce cross-origin embedding controls.',
|
|
883
|
-
},
|
|
884
|
-
[error_codes_js_1.VulnerabilityCode.HEADER_DRIFT_CORP]: {
|
|
885
|
-
id: 130,
|
|
886
|
-
code: error_codes_js_1.VulnerabilityCode.HEADER_DRIFT_CORP,
|
|
887
|
-
title: 'Header Drift - CORP Inconsistent',
|
|
888
|
-
description: 'Cross-Origin-Resource-Policy is present on some paths but missing on others, which can leave inconsistent controls on resource sharing and embedding across the application.',
|
|
889
|
-
severity: 'low',
|
|
890
|
-
category: 'configuration',
|
|
891
|
-
scanner: 'security-headers',
|
|
892
|
-
cvss: {
|
|
893
|
-
score: 3.1,
|
|
894
|
-
vector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N',
|
|
895
|
-
severity: 'LOW',
|
|
896
|
-
},
|
|
897
|
-
cwe: [
|
|
898
|
-
{ id: 'CWE-693', name: 'Protection Mechanism Failure', url: 'https://cwe.mitre.org/data/definitions/693.html' },
|
|
899
|
-
],
|
|
900
|
-
owasp: [
|
|
901
|
-
{ id: 'A05:2021', name: 'Security Misconfiguration', url: 'https://owasp.org/Top10/A05_2021-Security_Misconfiguration/' },
|
|
902
|
-
],
|
|
903
|
-
remediation: 'Apply CORP consistently where resource sharing policies should be enforced across all relevant responses.',
|
|
904
|
-
},
|
|
905
|
-
};
|
|
906
|
-
exports.default = exports.CONFIG_VULNERABILITIES;
|