dradis-calculator_cvss 3.15.0 → 3.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/app/assets/javascripts/dradis/plugins/calculators/cvss/calculator.js.coffee +48 -19
- data/app/assets/javascripts/dradis/plugins/calculators/cvss/manifests/{application.js.coffee → application.js} +2 -1
- data/app/assets/javascripts/dradis/plugins/calculators/cvss/manifests/{snowcrash.js.coffee → tylium.js} +0 -0
- data/app/assets/javascripts/dradis/plugins/calculators/cvss/vendor/cvsscalc30.js +21 -25
- data/app/assets/stylesheets/dradis/plugins/calculators/cvss/manifests/application.css.scss +0 -7
- data/app/models/dradis/plugins/calculators/cvss/v3.rb +12 -0
- data/app/views/dradis/plugins/calculators/cvss/base/_base.html.erb +41 -41
- data/app/views/dradis/plugins/calculators/cvss/base/_environmental.html.erb +67 -67
- data/app/views/dradis/plugins/calculators/cvss/base/_temporal.html.erb +23 -23
- data/app/views/dradis/plugins/calculators/cvss/base/index.html.erb +20 -5
- data/app/views/dradis/plugins/calculators/cvss/issues/_show-content.html.erb +4 -5
- data/app/views/dradis/plugins/calculators/cvss/issues/_show-tabs.html.erb +3 -1
- data/app/views/dradis/plugins/calculators/cvss/issues/edit.html.erb +84 -59
- data/app/views/layouts/dradis/plugins/calculators/cvss/base.html.erb +10 -12
- data/lib/dradis/plugins/calculators/cvss/gem_version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 749f7ba2cf0a250585b5527dc45a2a8f23ca443f24bd656d20923eb1f03e836c
|
4
|
+
data.tar.gz: cf3ab5b2e19e17bb115aa777d139d9c1d1bcaae71c04926391d07b6b7545e453
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 654d36b17403e2b552895e6f2b1a1004ccdf2cc56fe30ac002b08a8a4108299807c8377c33410e5272de22d8049ab24e8905d235842780ff4eb49c6c89bb936c
|
7
|
+
data.tar.gz: db029e025be0f6ccabb8cc08f580234d5bea1f3055fedda372c859dc6c19d94de5fe6732a70765cd3afb58e860635dbdbeeb6e52eb6a5884f4cbfefe56ee94fb
|
data/CHANGELOG.md
CHANGED
@@ -38,7 +38,7 @@
|
|
38
38
|
|
39
39
|
if output.success == true
|
40
40
|
$('input[type=submit]').attr('disabled', null)
|
41
|
-
$('[data-behavior~=cvss-error]').
|
41
|
+
$('[data-behavior~=cvss-error]').addClass('d-none').text('')
|
42
42
|
$('#base-score').text("#{output.baseMetricScore} (#{output.baseSeverity})")
|
43
43
|
$('#temporal-score').text("#{output.temporalMetricScore} (#{output.temporalSeverity})")
|
44
44
|
$('#environmental-score').text("#{output.environmentalMetricScore} (#{output.environmentalSeverity})")
|
@@ -57,27 +57,58 @@
|
|
57
57
|
issue_cvss += "#{output.environmentalMetricScore}\n\n"
|
58
58
|
issue_cvss += "#[CVSSv3.EnvironmentalSeverity]#\n"
|
59
59
|
issue_cvss += "#{output.environmentalSeverity}\n\n"
|
60
|
-
|
60
|
+
|
61
|
+
# Base metrics
|
61
62
|
issue_cvss += "#[CVSSv3.BaseAttackVector]#\n"
|
62
|
-
issue_cvss += "#{
|
63
|
+
issue_cvss += "#{$("button[name=av].btn-primary").data('label')}\n\n"
|
63
64
|
issue_cvss += "#[CVSSv3.BaseAttackComplexity]#\n"
|
64
|
-
issue_cvss += "#{
|
65
|
+
issue_cvss += "#{$("button[name=ac].btn-primary").data('label')}\n\n"
|
65
66
|
issue_cvss += "#[CVSSv3.BasePrivilegesRequired]#\n"
|
66
|
-
issue_cvss += "#{
|
67
|
+
issue_cvss += "#{$("button[name=pr].btn-primary").data('label')}\n\n"
|
67
68
|
issue_cvss += "#[CVSSv3.BaseUserInteraction]#\n"
|
68
|
-
issue_cvss += "#{
|
69
|
+
issue_cvss += "#{$("button[name=ui].btn-primary").data('label')}\n\n"
|
69
70
|
issue_cvss += "#[CVSSv3.BaseScope]#\n"
|
70
|
-
issue_cvss += "#{
|
71
|
+
issue_cvss += "#{$("button[name=s].btn-primary").data('label')}\n\n"
|
71
72
|
issue_cvss += "#[CVSSv3.BaseConfidentiality]#\n"
|
72
|
-
issue_cvss += "#{
|
73
|
+
issue_cvss += "#{$("button[name=c].btn-primary").data('label')}\n\n"
|
73
74
|
issue_cvss += "#[CVSSv3.BaseIntegrity]#\n"
|
74
|
-
issue_cvss += "#{
|
75
|
+
issue_cvss += "#{$("button[name=i].btn-primary").data('label')}\n\n"
|
75
76
|
issue_cvss += "#[CVSSv3.BaseAvailability]#\n"
|
76
|
-
issue_cvss += "#{
|
77
|
+
issue_cvss += "#{$("button[name=a].btn-primary").data('label')}\n\n"
|
78
|
+
|
79
|
+
# Temporal metrics
|
80
|
+
issue_cvss += "#[CVSSv3.TemporalExploitCodeMaturity]#\n"
|
81
|
+
issue_cvss += "#{$("button[name=e].btn-primary").data('label')}\n\n"
|
82
|
+
issue_cvss += "#[CVSSv3.TemporalRemediationLevel]#\n"
|
83
|
+
issue_cvss += "#{$("button[name=rl].btn-primary").data('label')}\n\n"
|
84
|
+
issue_cvss += "#[CVSSv3.TemporalReportConfidence]#\n"
|
85
|
+
issue_cvss += "#{$("button[name=rc].btn-primary").data('label')}\n\n"
|
86
|
+
|
87
|
+
# Environmental metrics
|
77
88
|
issue_cvss += "#[CVSSv3.EnvironmentalConfidentialityRequirement]#\n"
|
78
|
-
issue_cvss += "#{
|
89
|
+
issue_cvss += "#{$("button[name=cr].btn-primary").data('label')}\n\n"
|
79
90
|
issue_cvss += "#[CVSSv3.EnvironmentalIntegrityRequirement]#\n"
|
80
|
-
issue_cvss += "#{
|
91
|
+
issue_cvss += "#{$("button[name=ir].btn-primary").data('label')}\n\n"
|
92
|
+
issue_cvss += "#[CVSSv3.EnvironmentalAvailabilityRequirement]#\n"
|
93
|
+
issue_cvss += "#{$("button[name=ar].btn-primary").data('label')}\n\n"
|
94
|
+
|
95
|
+
issue_cvss += "#[CVSSv3.ModifiedAttackVector]#\n"
|
96
|
+
issue_cvss += "#{$("button[name=mav].btn-primary").data('label')}\n\n"
|
97
|
+
issue_cvss += "#[CVSSv3.ModifiedAttackComplexity]#\n"
|
98
|
+
issue_cvss += "#{$("button[name=mac].btn-primary").data('label')}\n\n"
|
99
|
+
issue_cvss += "#[CVSSv3.ModifiedPrivilegesRequired]#\n"
|
100
|
+
issue_cvss += "#{$("button[name=mpr].btn-primary").data('label')}\n\n"
|
101
|
+
issue_cvss += "#[CVSSv3.ModifiedUserInteraction]#\n"
|
102
|
+
issue_cvss += "#{$("button[name=mui].btn-primary").data('label')}\n\n"
|
103
|
+
issue_cvss += "#[CVSSv3.ModifiedScope]#\n"
|
104
|
+
issue_cvss += "#{$("button[name=ms].btn-primary").data('label')}\n\n"
|
105
|
+
issue_cvss += "#[CVSSv3.ModifiedConfidentiality]#\n"
|
106
|
+
issue_cvss += "#{$("button[name=mc].btn-primary").data('label')}\n\n"
|
107
|
+
issue_cvss += "#[CVSSv3.ModifiedIntegrity]#\n"
|
108
|
+
issue_cvss += "#{$("button[name=mi].btn-primary").data('label')}\n\n"
|
109
|
+
issue_cvss += "#[CVSSv3.ModifiedAvailability]#\n"
|
110
|
+
issue_cvss += "#{$("button[name=ma].btn-primary").data('label')}\n\n"
|
111
|
+
|
81
112
|
$('textarea[name=cvss_fields]').val(issue_cvss)
|
82
113
|
else
|
83
114
|
errorMessage = ''
|
@@ -88,19 +119,17 @@
|
|
88
119
|
errorMessage = "All Base metrics are required"
|
89
120
|
|
90
121
|
$('input[type=submit]').attr('disabled', 'disabled')
|
91
|
-
$('[data-behavior~=cvss-error]')
|
92
|
-
.show()
|
93
|
-
.text(errorMessage)
|
94
|
-
|
122
|
+
$('[data-behavior~=cvss-error]').removeClass('d-none').text(errorMessage)
|
95
123
|
|
96
124
|
document.addEventListener "turbolinks:load", ->
|
97
125
|
if $('[data-behavior~=cvss-buttons]').length
|
98
126
|
CVSSCalculator.calculate()
|
99
|
-
$('[data-behavior~=cvss-error]').
|
127
|
+
$('[data-behavior~=cvss-error]').addClass('d-none')
|
100
128
|
|
101
129
|
$('[data-behavior~=cvss-buttons] button').on 'click', ->
|
130
|
+
|
102
131
|
$this = $(this)
|
103
|
-
$this.parent().find('button').removeClass('btn-primary');
|
104
|
-
$this.addClass('btn-primary');
|
132
|
+
$this.parent().find('button').removeClass('active btn-primary');
|
133
|
+
$this.addClass('active btn-primary');
|
105
134
|
$("input[name=#{$this.attr('name')}]").val($this.val())
|
106
135
|
CVSSCalculator.calculate()
|
File without changes
|
@@ -27,6 +27,11 @@
|
|
27
27
|
*
|
28
28
|
* Changelog
|
29
29
|
*
|
30
|
+
* 2018-02-15 Darius Wiles Added a missing pair of parantheses in the Environmental score, specifically
|
31
|
+
* in the code setting envScore in the main clause (not the else clause). It was changed
|
32
|
+
* from "min (...), 10" to "min ((...), 10)". This correction does not alter any final
|
33
|
+
* Environmental scores.
|
34
|
+
*
|
30
35
|
* 2015-08-04 Darius Wiles Added CVSS.generateXMLFromMetrics and CVSS.generateXMLFromVector functions to return
|
31
36
|
* XML string representations of: a set of metric values; or a Vector String respectively.
|
32
37
|
* Moved all constants and functions to an object named "CVSS" to
|
@@ -69,7 +74,7 @@ CVSS.Weight = {
|
|
69
74
|
AV: { N: 0.85, A: 0.62, L: 0.55, P: 0.2},
|
70
75
|
AC: { H: 0.44, L: 0.77},
|
71
76
|
PR: { U: {N: 0.85, L: 0.62, H: 0.27}, // These values are used if Scope is Unchanged
|
72
|
-
|
77
|
+
C: {N: 0.85, L: 0.68, H: 0.5}}, // These values are used if Scope is Changed
|
73
78
|
UI: { N: 0.85, R: 0.62},
|
74
79
|
S: { U: 6.42, C: 7.52}, // Note: not defined as constants in specification
|
75
80
|
CIA: { N: 0, L: 0.22, H: 0.56}, // C, I and A have the same weights
|
@@ -303,7 +308,7 @@ CVSS.calculateCVSSFromMetrics = function (
|
|
303
308
|
if (MS === "U" ||
|
304
309
|
(MS === "X" && S === "U")) {
|
305
310
|
envModifiedImpactSubScore = metricWeightMS * envImpactSubScoreMultiplier;
|
306
|
-
envScore = CVSS.roundUp1(CVSS.roundUp1(Math.min(envModifiedImpactSubScore + envModifiedExploitabalitySubScore), 10) *
|
311
|
+
envScore = CVSS.roundUp1(CVSS.roundUp1(Math.min((envModifiedImpactSubScore + envModifiedExploitabalitySubScore), 10)) *
|
307
312
|
metricWeightE * metricWeightRL * metricWeightRC);
|
308
313
|
} else {
|
309
314
|
envModifiedImpactSubScore = metricWeightMS * (envImpactSubScoreMultiplier - 0.029) - 3.25 * Math.pow(envImpactSubScoreMultiplier - 0.02, 15);
|
@@ -352,22 +357,13 @@ CVSS.calculateCVSSFromMetrics = function (
|
|
352
357
|
success: true,
|
353
358
|
baseMetricScore: baseScore.toFixed(1),
|
354
359
|
baseSeverity: CVSS.severityRating( baseScore.toFixed(1) ),
|
360
|
+
|
355
361
|
temporalMetricScore: temporalScore.toFixed(1),
|
356
362
|
temporalSeverity: CVSS.severityRating( temporalScore.toFixed(1) ),
|
363
|
+
|
357
364
|
environmentalMetricScore: envScore.toFixed(1),
|
358
365
|
environmentalSeverity: CVSS.severityRating( envScore.toFixed(1) ),
|
359
366
|
|
360
|
-
baseAttackVector: CVSS.XML_MetricNames["MAV"][AttackVector],
|
361
|
-
baseAttackComplexity: CVSS.XML_MetricNames["MAC"][AttackComplexity],
|
362
|
-
basePrivilegesRequired: CVSS.XML_MetricNames["MPR"][PrivilegesRequired],
|
363
|
-
baseUserInteraction: CVSS.XML_MetricNames["MUI"][UserInteraction],
|
364
|
-
baseScope: CVSS.XML_MetricNames["MS"][Scope],
|
365
|
-
baseConfidentiality: CVSS.XML_MetricNames["MCIA"][Confidentiality],
|
366
|
-
baseIntegrity: CVSS.XML_MetricNames["MCIA"][Integrity],
|
367
|
-
baseAvailability: CVSS.XML_MetricNames["MCIA"][Availability],
|
368
|
-
environmentalConfidentialityRequirement: CVSS.XML_MetricNames["CIAR"][ConfidentialityRequirement || "X"],
|
369
|
-
environmentalIntegrityRequirement: CVSS.XML_MetricNames["CIAR"][IntegrityRequirement || "X"],
|
370
|
-
|
371
367
|
vectorString: vectorString
|
372
368
|
};
|
373
369
|
};
|
@@ -492,17 +488,17 @@ CVSS.severityRating = function (score) {
|
|
492
488
|
// because the latter is the same as the former, except it also includes a "NOT_DEFINED" value.
|
493
489
|
|
494
490
|
CVSS.XML_MetricNames = {
|
495
|
-
E: { X: "
|
496
|
-
RL: { X: "
|
497
|
-
RC: { X: "
|
498
|
-
|
499
|
-
CIAR: { X: "
|
500
|
-
MAV: { N: "
|
501
|
-
MAC: { H: "
|
502
|
-
MPR: { N: "
|
503
|
-
MUI: { N: "
|
504
|
-
MS: { U: "
|
505
|
-
MCIA: { N: "
|
491
|
+
E: { X: "NOT_DEFINED", U: "UNPROVEN", P: "PROOF_OF_CONCEPT", F: "FUNCTIONAL", H: "HIGH"},
|
492
|
+
RL: { X: "NOT_DEFINED", O: "OFFICIAL_FIX", T: "TEMPORARY_FIX", W: "WORKAROUND", U: "UNAVAILABLE"},
|
493
|
+
RC: { X: "NOT_DEFINED", U: "UNKNOWN", R: "REASONABLE", C: "CONFIRMED"},
|
494
|
+
|
495
|
+
CIAR: { X: "NOT_DEFINED", L: "LOW", M: "MEDIUM", H: "HIGH"}, // CR, IR and AR use the same metric names
|
496
|
+
MAV: { N: "NETWORK", A: "ADJACENT_NETWORK", L: "LOCAL", P: "PHYSICAL", X: "NOT_DEFINED" },
|
497
|
+
MAC: { H: "HIGH", L: "LOW", X: "NOT_DEFINED" },
|
498
|
+
MPR: { N: "NONE", L: "LOW", H: "HIGH", X: "NOT_DEFINED" },
|
499
|
+
MUI: { N: "NONE", R: "REQUIRED", X: "NOT_DEFINED" },
|
500
|
+
MS: { U: "UNCHANGED", C: "CHANGED", X: "NOT_DEFINED" },
|
501
|
+
MCIA: { N: "NONE", L: "LOW", H: "HIGH", X: "NOT_DEFINED" } // C, I and A use the same metric names
|
506
502
|
};
|
507
503
|
|
508
504
|
|
@@ -598,7 +594,7 @@ CVSS.generateXMLFromMetrics = function (
|
|
598
594
|
}
|
599
595
|
|
600
596
|
var xmlOutput = xmlTemplate;
|
601
|
-
xmlOutput = xmlOutput.replace ("__AttackVector__", CVSS.XML_MetricNames["
|
597
|
+
xmlOutput = xmlOutput.replace ("__AttackVector__", CVSS.XML_MetricNames["MAV"][AttackVector]);
|
602
598
|
xmlOutput = xmlOutput.replace ("__AttackComplexity__", CVSS.XML_MetricNames["MAC"][AttackComplexity]);
|
603
599
|
xmlOutput = xmlOutput.replace ("__PrivilegesRequired__", CVSS.XML_MetricNames["MPR"][PrivilegesRequired]);
|
604
600
|
xmlOutput = xmlOutput.replace ("__UserInteraction__", CVSS.XML_MetricNames["MUI"][UserInteraction]);
|
@@ -11,10 +11,22 @@ module Dradis::Plugins::Calculators::CVSS
|
|
11
11
|
BaseScore
|
12
12
|
BaseSeverity
|
13
13
|
BaseUserInteraction
|
14
|
+
TemporalExploitCodeMaturity
|
15
|
+
TemporalRemediationLevel
|
16
|
+
TemporalReportConfidence
|
14
17
|
EnvironmentalConfidentialityRequirement
|
15
18
|
EnvironmentalIntegrityRequirement
|
19
|
+
EnvironmentalAvailabilityRequirement
|
16
20
|
EnvironmentalScore
|
17
21
|
EnvironmentalSeverity
|
22
|
+
ModifiedAttackVector
|
23
|
+
ModifiedAttackComplexity
|
24
|
+
ModifiedPrivilegesRequired
|
25
|
+
ModifiedUserInteraction
|
26
|
+
ModifiedScope
|
27
|
+
ModifiedConfidentiality
|
28
|
+
ModifiedIntegrity
|
29
|
+
ModifiedAvailability
|
18
30
|
TemporalScore
|
19
31
|
TemporalSeverity
|
20
32
|
Vector
|
@@ -1,113 +1,113 @@
|
|
1
1
|
<section data-behavior="cvss-buttons">
|
2
|
-
<div class="row
|
2
|
+
<div class="row">
|
3
3
|
|
4
|
-
<div class="
|
4
|
+
<div class="col-6">
|
5
5
|
<div class="inner">
|
6
|
-
<
|
6
|
+
<h5 class="header-underline mt-0" title="This metric reflects the context by which vulnerability exploitation is possible. The Base Score increases the more remote (logically, and physically) an attacker can be in order to exploit the vulnerable component.">Attack Vector (AV)</h5>
|
7
7
|
|
8
8
|
<%= hidden_field_tag :av, @cvss_vector['AV'] %>
|
9
9
|
|
10
|
-
<div class="btn-group" data-toggle="buttons-radio">
|
11
|
-
<button type="button" class="btn
|
10
|
+
<div class="btn-group mb-4 text-nowrap" data-toggle="buttons-radio">
|
11
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['AV'] == 'N' %>" name="av" value="N" data-label="Network" title="(N) A vulnerability exploitable with network access means the vulnerable component is bound to the network stack and the attacker's path is through OSI layer 3 (the network layer). Such a vulnerability is often termed 'remotely exploitable' and can be thought of as an attack being exploitable one or more network hops away.">Net. <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
12
12
|
|
13
|
-
<button type="button" class="btn
|
13
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['AV'] == 'A' %>" name="av" value="A" data-label="Adjacent" title="(A) A vulnerability exploitable with adjacent network access means the vulnerable component is bound to the network stack, however the attack is limited to the same shared physical (e.g. Bluetooth, IEEE 802.11), or logical (e.g. local IP subnet) network, and cannot be performed across an OSI layer 3 boundary (e.g. a router).">Adjacent <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
14
14
|
|
15
|
-
<button type="button" class="btn
|
15
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['AV'] == 'L' %>" name="av" value="L" data-label="Local" title="(L) A vulnerability exploitable with local access means that the vulnerable component is not bound to the network stack, and the attacker’s path is via read/write/execute capabilities. In some cases, the attacker may be logged in locally in order to exploit the vulnerability, otherwise, she may rely on User Interaction to execute a malicious file.">Local <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
16
16
|
|
17
|
-
<button type="button" class="btn
|
17
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['AV'] == 'P' %>" name="av" value="P" data-label="Physical" title="(P) A vulnerability exploitable with physical access requires the attacker to physically touch or manipulate the vulnerable component. Physical interaction may be brief or persistent.">Physical <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
18
18
|
</div>
|
19
19
|
</div>
|
20
20
|
|
21
21
|
<div class="inner">
|
22
|
-
<
|
22
|
+
<h5 class="header-underline mt-0" title="This metric describes the conditions beyond the attacker’s control that must exist in order to exploit the vulnerability. Such conditions may require the collection of more information about the target, the presence of certain system configuration settings, or computational exceptions.">Attack Complexity (AC)</h5>
|
23
23
|
|
24
24
|
<%= hidden_field_tag :ac, @cvss_vector['AC'] %>
|
25
25
|
|
26
|
-
<div class="btn-group" data-toggle="buttons-radio">
|
27
|
-
<button type="button" class="btn
|
26
|
+
<div class="btn-group mb-4" data-toggle="buttons-radio">
|
27
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['AC'] == 'L' %>" name="ac" value="L" data-label="Low" title="(L) Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success against the vulnerable component.">Low <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
28
28
|
|
29
|
-
<button type="button" class="btn
|
29
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['AC'] == 'H' %>" name="ac" value="H" data-label="High" title="(H) A successful attack depends on conditions beyond the attacker's control. That is, a successful attack cannot be accomplished at will, but requires the attacker to invest in some measurable amount of effort in preparation or execution against the vulnerable component before a successful attack can be expected. For example, a successful attack may require the attacker: to perform target-specific reconnaissance; to prepare the target environment to improve exploit reliability; or to inject herself into the logical network path between the target and the resource requested by the victim in order to read and/or modify network communications (e.g. a man in the middle attack).">High <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
30
30
|
</div>
|
31
31
|
</div>
|
32
32
|
|
33
33
|
<div class="inner">
|
34
|
-
<
|
34
|
+
<h5 class="header-underline mt-0" title="This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability. This Base Score increases as fewer privileges are required.">Privileges Required (PR)</h5>
|
35
35
|
|
36
36
|
<%= hidden_field_tag :pr, @cvss_vector['PR'] %>
|
37
37
|
|
38
|
-
<div class="btn-group" data-toggle="buttons-radio">
|
39
|
-
<button type="button" class="btn
|
38
|
+
<div class="btn-group mb-4" data-toggle="buttons-radio">
|
39
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['PR'] == 'N' %>" name="pr" value="N" data-label="None" title="(N) The attacker is unauthorized prior to attack, and therefore does not require any access to settings or files to carry out an attack.">None <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
40
40
|
|
41
|
-
<button type="button" class="btn
|
41
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['PR'] == 'L' %>" name="pr" value="L" data-label="Low" title="(L) The attacker is authorized with (i.e. requires) privileges that provide basic user capabilities that could normally affect only settings and files owned by a user. Alternatively, an attacker with Low privileges may have the ability to cause an impact only to non-sensitive resources.">Low <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
42
42
|
|
43
|
-
<button type="button" class="btn
|
43
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['PR'] == 'H' %>" name="pr" value="H" data-label="High" title="(H) The attacker is authorized with (i.e. requires) privileges that provide significant (e.g. administrative) control over the vulnerable component that could affect component-wide settings and files.">High <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
44
44
|
</div>
|
45
45
|
</div>
|
46
46
|
|
47
47
|
<div class="inner">
|
48
|
-
<
|
48
|
+
<h5 class="header-underline mt-0" title="This metric captures the requirement for a user, other than the attacker, to participate in the successful compromise the vulnerable component. This metric determines whether the vulnerability can be exploited solely at the will of the attacker, or whether a separate user (or user-initiated process) must participate in some manner. The Base Score is highest when no user interaction is required.">User Interaction (UI)</h5>
|
49
49
|
|
50
50
|
<%= hidden_field_tag :ui, @cvss_vector['UI'] %>
|
51
51
|
|
52
|
-
<div class="btn-group" data-toggle="buttons-radio">
|
53
|
-
<button type="button" class="btn
|
54
|
-
<button type="button" class="btn
|
52
|
+
<div class="btn-group mb-4" data-toggle="buttons-radio">
|
53
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['UI'] == 'N' %>" name="ui" value="N" data-label="None" title="(N) The vulnerable system can be exploited without any interaction from any user.">None <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
54
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['UI'] == 'R' %>" name="ui" value="R" data-label="Required" title="(R) Successful exploitation of this vulnerability requires a user to take some action before the vulnerability can be exploited.">Required <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
55
55
|
</div>
|
56
56
|
</div>
|
57
57
|
</div>
|
58
58
|
|
59
|
-
<div class="
|
59
|
+
<div class="col-6">
|
60
60
|
<div class="inner">
|
61
|
-
<
|
61
|
+
<h5 class="header-underline mt-0" title="Does a successful attack impact a component other than the vulnerable component? If so, the Base Score increases and the Confidentiality, Integrity and Authentication metrics should be scored relative to the impacted component.">Scope (S)</h5>
|
62
62
|
|
63
63
|
<%= hidden_field_tag :s, @cvss_vector['S'] %>
|
64
64
|
|
65
|
-
<div class="btn-group" data-toggle="buttons-radio">
|
66
|
-
<button type="button" class="btn
|
65
|
+
<div class="btn-group mb-4" data-toggle="buttons-radio">
|
66
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['S'] == 'U' %>" name="s" value="U" data-label="Unchanged" title="(U) An exploited vulnerability can only affect resources managed by the same authority. In this case the vulnerable component and the impacted component are the same.">Unchanged <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
67
67
|
|
68
|
-
<button type="button" class="btn
|
68
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['S'] == 'C' %>" name="s" value="C" data-label="Changed" title="(C) An exploited vulnerability can affect resources beyond the authorization privileges intended by the vulnerable component. In this case the vulnerable component and the impacted component are different.">Changed <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
69
69
|
</div>
|
70
70
|
</div>
|
71
71
|
|
72
72
|
<div class="inner">
|
73
|
-
<
|
73
|
+
<h5 class="header-underline mt-0" title="This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability. Confidentiality refers to limiting information access and disclosure to only authorized users, as well as preventing access by, or disclosure to, unauthorized ones.">Confidentiality (C)</h5>
|
74
74
|
|
75
75
|
<%= hidden_field_tag :c, @cvss_vector['C'] %>
|
76
76
|
|
77
|
-
<div class="btn-group" data-toggle="buttons-radio">
|
78
|
-
<button type="button" class="btn
|
77
|
+
<div class="btn-group mb-4" data-toggle="buttons-radio">
|
78
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['C'] == 'N' %>" name="c" value="N" data-label="None" title="(N) There is no loss of confidentiality within the impacted component.">None <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
79
79
|
|
80
|
-
<button type="button" class="btn
|
80
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['C'] == 'L' %>" name="c" value="L" data-label="Low" title="(L) There is some loss of confidentiality. Access to some restricted information is obtained, but the attacker does not have control over what information is obtained, or the amount or kind of loss is constrained. The information disclosure does not cause a direct, serious loss to the impacted component.">Low <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
81
81
|
|
82
|
-
<button type="button" class="btn
|
82
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['C'] == 'H' %>" name="c" value="H" data-label="High" title="(H) There is total loss of confidentiality, resulting in all resources within the impacted component being divulged to the attacker. Alternatively, access to only some restricted information is obtained, but the disclosed information presents a direct, serious impact.">High <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
83
83
|
</div>
|
84
84
|
</div>
|
85
85
|
|
86
86
|
<div class="inner">
|
87
|
-
<
|
87
|
+
<h5 class="header-underline mt-0" title="This metric measures the impact to integrity of a successfully exploited vulnerability. Integrity refers to the trustworthiness and veracity of information.">Integrity (I)</h5>
|
88
88
|
|
89
89
|
<%= hidden_field_tag :i, @cvss_vector['I'] %>
|
90
90
|
|
91
|
-
<div class="btn-group" data-toggle="buttons-radio">
|
92
|
-
<button type="button" class="btn
|
91
|
+
<div class="btn-group mb-4" data-toggle="buttons-radio">
|
92
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['I'] == 'N' %>" name="i" value="N" data-label="None" title="(N) There is no loss of integrity within the impacted component.">None <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
93
93
|
|
94
|
-
<button type="button" class="btn
|
94
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['I'] == 'L' %>" name="i" value="L" data-label="Low" title="(L) Modification of data is possible, but the attacker does not have control over the consequence of a modification, or the amount of modification is constrained. The data modification does not have a direct, serious impact on the impacted component.">Low <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
95
95
|
|
96
|
-
<button type="button" class="btn
|
96
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['I'] == 'H' %>" name="i" value="H" data-label="High" title="(H) There is a total loss of integrity, or a complete loss of protection. For example, the attacker is able to modify any/all files protected by the impacted component. Alternatively, only some files can be modified, but malicious modification would present a direct, serious consequence to the impacted component.">High <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
97
97
|
</div>
|
98
98
|
</div>
|
99
99
|
|
100
100
|
<div class="inner">
|
101
|
-
<
|
101
|
+
<h5 class="header-underline mt-0" title="This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability. It refers to the loss of availability of the impacted component itself, such as a networked service (e.g., web, database, email). Since availability refers to the accessibility of information resources, attacks that consume network bandwidth, processor cycles, or disk space all impact the availability of an impacted component.">Availability (A)</h5>
|
102
102
|
|
103
103
|
<%= hidden_field_tag :a, @cvss_vector['A'] %>
|
104
104
|
|
105
|
-
<div class="btn-group" data-toggle="buttons-radio">
|
106
|
-
<button type="button" class="btn
|
105
|
+
<div class="btn-group mb-4" data-toggle="buttons-radio">
|
106
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['A'] == 'N' %>" name="a" value="N" data-label="None" title="(N) There is no impact to availability within the impacted component.">None <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
107
107
|
|
108
|
-
<button type="button" class="btn
|
108
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['A'] == 'L' %>" name="a" value="L" data-label="Low" title="(L) There is reduced performance or interruptions in resource availability. Even if repeated exploitation of the vulnerability is possible, the attacker does not have the ability to completely deny service to legitimate users. The resources in the impacted component are either partially available all of the time, or fully available only some of the time, but overall there is no direct, serious consequence to the impacted component.">Low <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
109
109
|
|
110
|
-
<button type="button" class="btn
|
110
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['A'] == 'H' %>" name="a" value="H" data-label="High" title="(H) There is total loss of availability, resulting in the attacker being able to fully deny access to resources in the impacted component; this loss is either sustained (while the attacker continues to deliver the attack) or persistent (the condition persists even after the attack has completed). Alternatively, the attacker has the ability to deny some availability, but the loss of availability presents a direct, serious consequence to the impacted component (e.g., the attacker cannot disrupt existing connections, but can prevent new connections; the attacker can repeatedly exploit a vulnerability that, in each instance of a successful attack, leaks a only small amount of memory, but after repeated exploitation causes a service to become completely unavailable).">High <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
111
111
|
</div>
|
112
112
|
</div>
|
113
113
|
</div>
|
@@ -1,180 +1,180 @@
|
|
1
1
|
<section data-behavior="cvss-buttons">
|
2
2
|
|
3
|
-
<div class="row
|
3
|
+
<div class="row">
|
4
4
|
|
5
|
-
<div class="
|
5
|
+
<div class="col-6">
|
6
6
|
<div class="inner">
|
7
|
-
<
|
7
|
+
<h5 class="header-underline mt-0" title="These metrics enable the analyst to customize the CVSS score depending on the importance of the Confidentiality of the affected IT asset to a user’s organization, relative to other impacts. This metric modifies the environmental score by reweighting the Modified Confidentiality impact metric versus the other modified impacts.">Confidentiality Req. (CR)</h5>
|
8
8
|
|
9
9
|
<%= hidden_field_tag :cr, @cvss_vector['CR'] %>
|
10
10
|
|
11
|
-
<div class="btn-group" data-toggle="buttons-radio">
|
12
|
-
<button type="button" class="btn
|
11
|
+
<div class="btn-group mb-4" data-toggle="buttons-radio">
|
12
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['CR'] == 'X' %>" name="cr" value="X" data-label="Not Defined" title="(X) Assigning this value to the metric will not influence the score.">N/D <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
13
13
|
|
14
|
-
<button type="button" class="btn
|
14
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['CR'] == 'L' %>" name="cr" value="L" data-label="Low" title="(L) Loss of Confidentiality is likely to have only a limited adverse effect on the organization or individuals associated with the organization (e.g., employees, customers).">Low <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
15
15
|
|
16
|
-
<button type="button" class="btn
|
16
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['CR'] == 'M' %>" name="cr" value="M" data-label="Medium" title="(M) Loss of Confidentiality is likely to have a serious adverse effect on the organization or individuals associated with the organization (e.g., employees, customers).">Med <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
17
17
|
|
18
|
-
<button type="button" class="btn
|
18
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['CR'] == 'H' %>" name="cr" value="H" data-label="High" title="(H) Loss of Confidentiality is likely to have a catastrophic adverse effect on the organization or individuals associated with the organization (e.g., employees, customers).">High <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
19
19
|
</div>
|
20
20
|
</div>
|
21
21
|
|
22
22
|
<div class="inner">
|
23
|
-
<
|
23
|
+
<h5 class="header-underline mt-0" title="These metrics enable the analyst to customize the CVSS score depending on the importance of the Integrity of the affected IT asset to a user’s organization, relative to other impacts. This metric modifies the environmental score by reweighting the Modified Integrity impact metric versus the other modified impacts.">Integrity Req. (IR)</h5>
|
24
24
|
|
25
25
|
<%= hidden_field_tag :ir, @cvss_vector['IR'] %>
|
26
26
|
|
27
|
-
<div class="btn-group" data-toggle="buttons-radio">
|
28
|
-
<button type="button" class="btn
|
27
|
+
<div class="btn-group mb-4" data-toggle="buttons-radio">
|
28
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['IR'] == 'X' %>" name="ir" value="X" data-label="Not Defined" title="(X) Assigning this value to the metric will not influence the score.">N/D <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
29
29
|
|
30
|
-
<button type="button" class="btn
|
30
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['IR'] == 'L' %>" name="ir" value="L" data-label="Low" title="(L) Loss of Integrity is likely to have only a limited adverse effect on the organization or individuals associated with the organization (e.g., employees, customers).">Low <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
31
31
|
|
32
|
-
<button type="button" class="btn
|
32
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['IR'] == 'M' %>" name="ir" value="M" data-label="Medium" title="(M) Loss of Integrity is likely to have a serious adverse effect on the organization or individuals associated with the organization (e.g., employees, customers).">Med <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
33
33
|
|
34
|
-
<button type="button" class="btn
|
34
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['IR'] == 'H' %>" name="ir" value="H" data-label="High" title="(H) Loss of Integrity is likely to have a catastrophic adverse effect on the organization or individuals associated with the organization (e.g., employees, customers).">High <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
35
35
|
</div>
|
36
36
|
</div>
|
37
37
|
|
38
38
|
<div class="inner">
|
39
|
-
<
|
39
|
+
<h5 class="header-underline mt-0" title="These metrics enable the analyst to customize the CVSS score depending on the importance of the Availability of the affected IT asset to a user’s organization, relative to other impacts. This metric modifies the environmental score by reweighting the Modified Availability impact metric versus the other modified impacts.">Availability Req. (AR)</h5>
|
40
40
|
|
41
41
|
<%= hidden_field_tag :ar, @cvss_vector['AR'] %>
|
42
42
|
|
43
|
-
<div class="btn-group" data-toggle="buttons-radio">
|
44
|
-
<button type="button" class="btn
|
43
|
+
<div class="btn-group mb-4" data-toggle="buttons-radio">
|
44
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['AR'] == 'X' %>" name="ar" value="X" data-label="Not Defined" title="(X) Assigning this value to the metric will not influence the score.">N/D <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
45
45
|
|
46
|
-
<button type="button" class="btn
|
46
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['AR'] == 'L' %>" name="ar" value="L" data-label="Low" title="(L) Loss of Availability is likely to have only a limited adverse effect on the organization or individuals associated with the organization (e.g., employees, customers).">Low <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
47
47
|
|
48
|
-
<button type="button" class="btn
|
48
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['AR'] == 'M' %>" name="ar" value="M" data-label="Medium" title="(M) Loss of availability is likely to have a serious adverse effect on the organization or individuals associated with the organization (e.g., employees, customers).">Med <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
49
49
|
|
50
|
-
<button type="button" class="btn
|
50
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['AR'] == 'H' %>" name="ar" value="H" data-label="High" title="(H) Loss of Availability is likely to have a catastrophic adverse effect on the organization or individuals associated with the organization (e.g., employees, customers).">High <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
51
51
|
</div>
|
52
52
|
</div>
|
53
53
|
</div>
|
54
54
|
|
55
|
-
<div class="
|
55
|
+
<div class="col-6">
|
56
56
|
|
57
57
|
<div class="inner">
|
58
|
-
<
|
58
|
+
<h5 class="header-underline mt-0" title="This metric reflects the context by which vulnerability exploitation is possible. The Base Score increases the more remote (logically, and physically) an attacker can be in order to exploit the vulnerable component.">Mod. Attack Vector (MAV)</h5>
|
59
59
|
|
60
60
|
<%= hidden_field_tag :mav, @cvss_vector['MAV'] %>
|
61
61
|
|
62
|
-
<div class="btn-group" data-toggle="buttons-radio">
|
63
|
-
<button type="button" class="btn
|
62
|
+
<div class="btn-group mb-4" data-toggle="buttons-radio">
|
63
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MAV'] == 'X' %>" name="mav" value="X" data-label="Not Defined" title="(X) Use the value assigned to the corresponding Base Score metric.">N/D <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
64
64
|
|
65
|
-
<button type="button" class="btn
|
65
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MAV'] == 'N' %>" name="mav" value="N" data-label="Network" title="(N) A vulnerability exploitable with network access means the vulnerable component is bound to the network stack and the attacker's path is through OSI layer 3 (the network layer). Such a vulnerability is often termed 'remotely exploitable' and can be thought of as an attack being exploitable one or more network hops away.">Net. <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
66
66
|
|
67
|
-
<button type="button" class="btn
|
67
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MAV'] == 'A' %>" name="mav" value="A" data-label="Adjacent" title="(A) A vulnerability exploitable with adjacent network access means the vulnerable component is bound to the network stack, however the attack is limited to the same shared physical (e.g. Bluetooth, IEEE 802.11), or logical (e.g. local IP subnet) network, and cannot be performed across an OSI layer 3 boundary (e.g. a router).">Adjacent <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
68
68
|
|
69
|
-
<button type="button" class="btn
|
69
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MAV'] == 'L' %>" name="mav" value="L" data-label="Local" title="(L) A vulnerability exploitable with local access means that the vulnerable component is not bound to the network stack, and the attacker’s path is via read/write/execute capabilities. In some cases, the attacker may be logged in locally in order to exploit the vulnerability, otherwise, she may rely on User Interaction to execute a malicious file.">Local <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
70
70
|
|
71
|
-
<button type="button" class="btn
|
71
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MAV'] == 'P' %>" name="mav" value="P" data-label="Physical" title="(P) A vulnerability exploitable with physical access requires the attacker to physically touch or manipulate the vulnerable component. Physical interaction may be brief or persistent.">Physical <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
72
72
|
</div>
|
73
73
|
</div>
|
74
74
|
|
75
75
|
<div class="inner">
|
76
|
-
<
|
76
|
+
<h5 class="header-underline mt-0" title="This metric describes the conditions beyond the attacker’s control that must exist in order to exploit the vulnerability. Such conditions may require the collection of more information about the target, the presence of certain system configuration settings, or computational exceptions.">Mod. Attack Complexity (MAC)</h5>
|
77
77
|
|
78
78
|
<%= hidden_field_tag :mac, @cvss_vector['MAC'] %>
|
79
79
|
|
80
|
-
<div class="btn-group" data-toggle="buttons-radio">
|
81
|
-
<button type="button" class="btn
|
80
|
+
<div class="btn-group mb-4" data-toggle="buttons-radio">
|
81
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MAC'] == 'X' %>" name="mac" value="X" data-label="Not Defined" title="(X) Use the value assigned to the corresponding Base Score metric.">N/D <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
82
82
|
|
83
|
-
<button type="button" class="btn
|
83
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MAC'] == 'L' %>" name="mac" value="L" data-label="Low" title="(L) Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success against the vulnerable component.">Low <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
84
84
|
|
85
|
-
<button type="button" class="btn
|
85
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MAC'] == 'H' %>" name="mac" value="H" data-label="High" title="(H) A successful attack depends on conditions beyond the attacker's control. That is, a successful attack cannot be accomplished at will, but requires the attacker to invest in some measurable amount of effort in preparation or execution against the vulnerable component before a successful attack can be expected. For example, a successful attack may require the attacker: to perform target-specific reconnaissance; to prepare the target environment to improve exploit reliability; or to inject herself into the logical network path between the target and the resource requested by the victim in order to read and/or modify network communications (e.g. a man in the middle attack).">High <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
86
86
|
</div>
|
87
87
|
</div>
|
88
88
|
|
89
89
|
<div class="inner">
|
90
|
-
<
|
90
|
+
<h5 class="header-underline mt-0" title="This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability. This Base Score increases as fewer privileges are required.">Mod. Privileges Required (MPR)</h5>
|
91
91
|
|
92
92
|
<%= hidden_field_tag :mpr, @cvss_vector['MPR'] %>
|
93
93
|
|
94
|
-
<div class="btn-group" data-toggle="buttons-radio">
|
95
|
-
<button type="button" class="btn
|
94
|
+
<div class="btn-group mb-4" data-toggle="buttons-radio">
|
95
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MPR'] == 'X' %>" name="mpr" value="X" data-label="Not Defined" title="(X) Use the value assigned to the corresponding Base Score metric.">N/D <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
96
96
|
|
97
|
-
<button type="button" class="btn
|
97
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MPR'] == 'N' %>" name="mpr" value="N" data-label="None" title="(N) The attacker is unauthorized prior to attack, and therefore does not require any access to settings or files to carry out an attack.">None <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
98
98
|
|
99
|
-
<button type="button" class="btn
|
99
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MPR'] == 'L' %>" name="mpr" value="L" data-label="Low" title="(L) The attacker is authorized with (i.e. requires) privileges that provide basic user capabilities that could normally affect only settings and files owned by a user. Alternatively, an attacker with Low privileges may have the ability to cause an impact only to non-sensitive resources.">Low <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
100
100
|
|
101
|
-
<button type="button" class="btn
|
101
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MPR'] == 'H' %>" name="mpr" value="H" data-label="High" title="(H) The attacker is authorized with (i.e. requires) privileges that provide significant (e.g. administrative) control over the vulnerable component that could affect component-wide settings and files.">High <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
102
102
|
</div>
|
103
103
|
</div>
|
104
104
|
|
105
105
|
<div class="inner">
|
106
|
-
<
|
106
|
+
<h5 class="header-underline mt-0" title="This metric captures the requirement for a user, other than the attacker, to participate in the successful compromise the vulnerable component. This metric determines whether the vulnerability can be exploited solely at the will of the attacker, or whether a separate user (or user-initiated process) must participate in some manner. The Base Score is highest when no user interaction is required.">Mod. User Interaction (MUI)</h5>
|
107
107
|
|
108
108
|
<%= hidden_field_tag :mui, @cvss_vector['MUI'] %>
|
109
109
|
|
110
|
-
<div class="btn-group" data-toggle="buttons-radio">
|
111
|
-
<button type="button" class="btn
|
110
|
+
<div class="btn-group mb-4" data-toggle="buttons-radio">
|
111
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MUI'] == 'X' %>" name="mui" value="X" data-label="Not Defined" title="(X) Use the value assigned to the corresponding Base Score metric.">N/D <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
112
112
|
|
113
|
-
<button type="button" class="btn
|
113
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MUI'] == 'N' %>" name="mui" value="N" data-label="None" title="(N) The vulnerable system can be exploited without any interaction from any user.">None <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
114
114
|
|
115
|
-
<button type="button" class="btn
|
115
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MUI'] == 'R' %>" name="mui" value="R" data-label="Required" title="(R) Successful exploitation of this vulnerability requires a user to take some action before the vulnerability can be exploited.">Required <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
116
116
|
</div>
|
117
117
|
</div>
|
118
118
|
|
119
119
|
<div class="inner">
|
120
|
-
<
|
120
|
+
<h5 class="header-underline mt-0" title="Does a successful attack impact a component other than the vulnerable component? If so, the Base Score increases and the Confidentiality, Integrity and Authentication metrics should be scored relative to the impacted component.">Mod. Scope (MS)</h5>
|
121
121
|
|
122
122
|
<%= hidden_field_tag :ms, @cvss_vector['MS'] %>
|
123
123
|
|
124
|
-
<div class="btn-group" data-toggle="buttons-radio">
|
125
|
-
<button type="button" class="btn
|
124
|
+
<div class="btn-group mb-4" data-toggle="buttons-radio">
|
125
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MS'] == 'X' %>" name="ms" value="X" data-label="Not Defined" title="(X) Use the value assigned to the corresponding Base Score metric.">N/D <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
126
126
|
|
127
|
-
<button type="button" class="btn
|
127
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MS'] == 'U' %>" name="ms" value="U" data-label="Unchanged" title="(U) An exploited vulnerability can only affect resources managed by the same authority. In this case the vulnerable component and the impacted component are the same.">Unchanged <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
128
128
|
|
129
|
-
<button type="button" class="btn
|
129
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MS'] == 'C' %>" name="ms" value="C" data-label="Changed" title="(C) An exploited vulnerability can affect resources beyond the authorization privileges intended by the vulnerable component. In this case the vulnerable component and the impacted component are different.">Changed <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
130
130
|
</div>
|
131
131
|
</div>
|
132
132
|
|
133
133
|
<div class="inner">
|
134
|
-
<
|
134
|
+
<h5 class="header-underline mt-0" title="This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability. Confidentiality refers to limiting information access and disclosure to only authorized users, as well as preventing access by, or disclosure to, unauthorized ones.">Mod. Confidentiality (MC)</h5>
|
135
135
|
|
136
136
|
<%= hidden_field_tag :mc, @cvss_vector['MC'] %>
|
137
137
|
|
138
|
-
<div class="btn-group" data-toggle="buttons-radio">
|
139
|
-
<button type="button" class="btn
|
138
|
+
<div class="btn-group mb-4" data-toggle="buttons-radio">
|
139
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MC'] == 'X' %>" name="mc" value="X" data-label="Not Defined" title="(X) Use the value assigned to the corresponding Base Score metric.">N/D <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
140
140
|
|
141
|
-
<button type="button" class="btn
|
141
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MC'] == 'N' %>" name="mc" value="N" data-label="None" title="(N) There is no loss of confidentiality within the impacted component.">None <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
142
142
|
|
143
|
-
<button type="button" class="btn
|
143
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MC'] == 'L' %>" name="mc" value="L" data-label="Low" title="(L) There is some loss of confidentiality. Access to some restricted information is obtained, but the attacker does not have control over what information is obtained, or the amount or kind of loss is constrained. The information disclosure does not cause a direct, serious loss to the impacted component.">Low<i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
144
144
|
|
145
|
-
<button type="button" class="btn
|
145
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MC'] == 'H' %>" name="mc" value="H" data-label="High" title="(H) There is total loss of confidentiality, resulting in all resources within the impacted component being divulged to the attacker. Alternatively, access to only some restricted information is obtained, but the disclosed information presents a direct, serious impact.">High <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
146
146
|
</div>
|
147
147
|
</div>
|
148
148
|
|
149
149
|
<div class="inner">
|
150
|
-
<
|
150
|
+
<h5 class="header-underline mt-0" title="This metric measures the impact to integrity of a successfully exploited vulnerability. Integrity refers to the trustworthiness and veracity of information.">Mod. Integrity (MI)</h5>
|
151
151
|
|
152
152
|
<%= hidden_field_tag :mi, @cvss_vector['MI'] %>
|
153
153
|
|
154
|
-
<div class="btn-group" data-toggle="buttons-radio">
|
155
|
-
<button type="button" class="btn
|
154
|
+
<div class="btn-group mb-4" data-toggle="buttons-radio">
|
155
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MI'] == 'X' %>" name="mi" value="X" data-label="Not Defined" title="(X) Use the value assigned to the corresponding Base Score metric.">N/D <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
156
156
|
|
157
|
-
<button type="button" class="btn
|
157
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MI'] == 'N' %>" name="mi" value="N" data-label="None" title="(N) There is no loss of integrity within the impacted component.">None <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
158
158
|
|
159
|
-
<button type="button" class="btn
|
159
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MI'] == 'L' %>" name="mi" value="L" data-label="Low" title="(L) Modification of data is possible, but the attacker does not have control over the consequence of a modification, or the amount of modification is constrained. The data modification does not have a direct, serious impact on the impacted component.">Low <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
160
160
|
|
161
|
-
<button type="button" class="btn
|
161
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MI'] == 'H' %>" name="mi" value="H" data-label="High" title="(H) There is a total loss of integrity, or a complete loss of protection. For example, the attacker is able to modify any/all files protected by the impacted component. Alternatively, only some files can be modified, but malicious modification would present a direct, serious consequence to the impacted component.">High <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
162
162
|
</div>
|
163
163
|
</div>
|
164
164
|
|
165
165
|
<div class="inner">
|
166
|
-
<
|
166
|
+
<h5 class="header-underline mt-0" title="This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability. It refers to the loss of availability of the impacted component itself, such as a networked service (e.g., web, database, email). Since availability refers to the accessibility of information resources, attacks that consume network bandwidth, processor cycles, or disk space all impact the availability of an impacted component.">Mod. Availability (MA)</h5>
|
167
167
|
|
168
168
|
<%= hidden_field_tag :ma, @cvss_vector['MA'] %>
|
169
169
|
|
170
|
-
<div class="btn-group" data-toggle="buttons-radio">
|
171
|
-
<button type="button" class="btn
|
170
|
+
<div class="btn-group mb-4" data-toggle="buttons-radio">
|
171
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MA'] == 'X' %>" name="ma" value="X" data-label="Not Defined" title="(X) Use the value assigned to the corresponding Base Score metric.">N/D <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
172
172
|
|
173
|
-
<button type="button" class="btn
|
173
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MA'] == 'N' %>" name="ma" value="N" data-label="None" title="(N) There is no impact to availability within the impacted component.">None <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
174
174
|
|
175
|
-
<button type="button" class="btn
|
175
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MA'] == 'L' %>" name="ma" value="L" data-label="Low" title="(L) There is reduced performance or interruptions in resource availability. Even if repeated exploitation of the vulnerability is possible, the attacker does not have the ability to completely deny service to legitimate users. The resources in the impacted component are either partially available all of the time, or fully available only some of the time, but overall there is no direct, serious consequence to the impacted component.">Low <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
176
176
|
|
177
|
-
<button type="button" class="btn
|
177
|
+
<button type="button" class="btn <%= 'active btn-primary' if @cvss_vector['MA'] == 'H' %>" name="ma" value="H" data-label="High" title="(H) There is total loss of availability, resulting in the attacker being able to fully deny access to resources in the impacted component; this loss is either sustained (while the attacker continues to deliver the attack) or persistent (the condition persists even after the attack has completed). Alternatively, the attacker has the ability to deny some availability, but the loss of availability presents a direct, serious consequence to the impacted component (e.g., the attacker cannot disrupt existing connections, but can prevent new connections; the attacker can repeatedly exploit a vulnerability that, in each instance of a successful attack, leaks a only small amount of memory, but after repeated exploitation causes a service to become completely unavailable).">High <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
|
178
178
|
</div>
|
179
179
|
</div>
|
180
180
|
</div>
|