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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 912b5a86b2f57a26bc2dd4d70ca966323227e0b7497381ed55e251095055a471
4
- data.tar.gz: 33e8a1309ef62b5d38cda24380409ac3550a707b70b756b431bda16c36a93dd4
3
+ metadata.gz: 749f7ba2cf0a250585b5527dc45a2a8f23ca443f24bd656d20923eb1f03e836c
4
+ data.tar.gz: cf3ab5b2e19e17bb115aa777d139d9c1d1bcaae71c04926391d07b6b7545e453
5
5
  SHA512:
6
- metadata.gz: 8f94d6ae408ac003d520292420e15e9256558db151492b3e5eb49f0e9d28c9d15ac9e8c61837e4f4af191331531d8d8b95dde5040684c333511122101f6a7c57
7
- data.tar.gz: f4aed43299f79e886e35bba9de650e39bd48ee440eba13f148c35310a2a10d175c1d8e42e7c161aef50ceb3880ca501239c315533bc0741f11c383822387f6b8
6
+ metadata.gz: 654d36b17403e2b552895e6f2b1a1004ccdf2cc56fe30ac002b08a8a4108299807c8377c33410e5272de22d8049ab24e8905d235842780ff4eb49c6c89bb936c
7
+ data.tar.gz: db029e025be0f6ccabb8cc08f580234d5bea1f3055fedda372c859dc6c19d94de5fe6732a70765cd3afb58e860635dbdbeeb6e52eb6a5884f4cbfefe56ee94fb
@@ -1,3 +1,8 @@
1
+ # Dradis Framework 3.16 (February, 2020) ##
2
+
3
+ * Update for compatibility with Tylium
4
+
5
+
1
6
  # Dradis Framework 3.15 (November, 2019) ##
2
7
 
3
8
  * No changes.
@@ -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]').hide().text('')
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 += "#{output.baseAttackVector}\n\n"
63
+ issue_cvss += "#{$("button[name=av].btn-primary").data('label')}\n\n"
63
64
  issue_cvss += "#[CVSSv3.BaseAttackComplexity]#\n"
64
- issue_cvss += "#{output.baseAttackComplexity}\n\n"
65
+ issue_cvss += "#{$("button[name=ac].btn-primary").data('label')}\n\n"
65
66
  issue_cvss += "#[CVSSv3.BasePrivilegesRequired]#\n"
66
- issue_cvss += "#{output.basePrivilegesRequired}\n\n"
67
+ issue_cvss += "#{$("button[name=pr].btn-primary").data('label')}\n\n"
67
68
  issue_cvss += "#[CVSSv3.BaseUserInteraction]#\n"
68
- issue_cvss += "#{output.baseUserInteraction}\n\n"
69
+ issue_cvss += "#{$("button[name=ui].btn-primary").data('label')}\n\n"
69
70
  issue_cvss += "#[CVSSv3.BaseScope]#\n"
70
- issue_cvss += "#{output.baseScope}\n\n"
71
+ issue_cvss += "#{$("button[name=s].btn-primary").data('label')}\n\n"
71
72
  issue_cvss += "#[CVSSv3.BaseConfidentiality]#\n"
72
- issue_cvss += "#{output.baseConfidentiality}\n\n"
73
+ issue_cvss += "#{$("button[name=c].btn-primary").data('label')}\n\n"
73
74
  issue_cvss += "#[CVSSv3.BaseIntegrity]#\n"
74
- issue_cvss += "#{output.baseIntegrity}\n\n"
75
+ issue_cvss += "#{$("button[name=i].btn-primary").data('label')}\n\n"
75
76
  issue_cvss += "#[CVSSv3.BaseAvailability]#\n"
76
- issue_cvss += "#{output.baseAvailability}\n\n"
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 += "#{output.environmentalConfidentialityRequirement}\n\n"
89
+ issue_cvss += "#{$("button[name=cr].btn-primary").data('label')}\n\n"
79
90
  issue_cvss += "#[CVSSv3.EnvironmentalIntegrityRequirement]#\n"
80
- issue_cvss += "#{output.environmentalIntegrityRequirement}\n\n"
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]').hide()
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()
@@ -1,4 +1,5 @@
1
- //= require jquery
1
+ //= require jquery3
2
+ //= require popper
2
3
  //= require bootstrap
3
4
  //= require turbolinks
4
5
 
@@ -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
- C: {N: 0.85, L: 0.68, H: 0.5}}, // These values are used if Scope is Changed
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: "Not Defined", U: "Unproven", P: "Proof of Concept", F: "Functional", H: "High"},
496
- RL: { X: "Not Defined", O: "Official Fix", T: "Temporary Fix", W: "Workaround", U: "Unavailable"},
497
- RC: { X: "Not Defined", U: "Unknown", R: "Reasonable", C: "Confirmed"},
498
-
499
- CIAR: { X: "Not Defined", L: "Low", M: "Medium", H: "High"}, // CR, IR and AR use the same metric names
500
- MAV: { N: "Network", A: "Adjacent Network", L: "Local", P: "Physical", X: "Not Defined" },
501
- MAC: { H: "High", L: "Low", X: "Not Defined" },
502
- MPR: { N: "None", L: "Low", H: "High", X: "Not Defined" },
503
- MUI: { N: "None", R: "Required", X: "Not Defined" },
504
- MS: { U: "Unchanged", C: "Changed", X: "Not Defined" },
505
- MCIA: { N: "None", L: "Low", H: "High", X: "Not Defined" } // C, I and A use the same metric names
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["MAC"][AttackVector]);
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]);
@@ -1,11 +1,4 @@
1
1
  @import 'bootstrap';
2
- @import 'bootstrap-responsive';
3
2
 
4
3
  @import 'font-awesome-sprockets';
5
4
  @import "font-awesome";
6
-
7
- section {
8
- border-bottom: 1px solid #ccc;
9
- margin-bottom: 3em;
10
- padding-bottom: 2em;
11
- }
@@ -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-fluid">
2
+ <div class="row">
3
3
 
4
- <div class="span6">
4
+ <div class="col-6">
5
5
  <div class="inner">
6
- <h3 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)</h3>
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 btn-med<%= ' active btn-primary' if @cvss_vector['AV'] == 'N' %>" name="av" value="N" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['AV'] == 'A' %>" name="av" value="A" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['AV'] == 'L' %>" name="av" value="L" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['AV'] == 'P' %>" name="av" value="P" 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>
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
- <h3 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)</h3>
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 btn-med<%= ' active btn-primary' if @cvss_vector['AC'] == 'L' %>" name="ac" value="L" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['AC'] == 'H' %>" name="ac" value="H" 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>
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
- <h3 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)</h3>
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 btn-med<%= ' active btn-primary' if @cvss_vector['PR'] == 'N' %>" name="pr" value="N" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['PR'] == 'L' %>" name="pr" value="L" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['PR'] == 'H' %>" name="pr" value="H" 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>
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
- <h3 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)</h3>
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 btn-med<%= ' active btn-primary' if @cvss_vector['UI'] == 'N' %>" name="ui" value="N" 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 btn-med<%= ' active btn-primary' if @cvss_vector['UI'] == 'R' %>" name="ui" value="R" 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>
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="span6">
59
+ <div class="col-6">
60
60
  <div class="inner">
61
- <h3 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)</h3>
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 btn-med<%= ' active btn-primary' if @cvss_vector['S'] == 'U' %>" name="s" value="U" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['S'] == 'C' %>" name="s" value="C" 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>
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
- <h3 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)</h3>
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 btn-med<%= ' active btn-primary' if @cvss_vector['C'] == 'N' %>" name="c" value="N" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['C'] == 'L' %>" name="c" value="L" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['C'] == 'H' %>" name="c" value="H" 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>
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
- <h3 title="This metric measures the impact to integrity of a successfully exploited vulnerability. Integrity refers to the trustworthiness and veracity of information.">Integrity (I)</h3>
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 btn-med<%= ' active btn-primary' if @cvss_vector['I'] == 'N' %>" name="i" value="N" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['I'] == 'L' %>" name="i" value="L" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['I'] == 'H' %>" name="i" value="H" 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>
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
- <h3 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)</h3>
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 btn-med<%= ' active btn-primary' if @cvss_vector['A'] == 'N' %>" name="a" value="N" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['A'] == 'L' %>" name="a" value="L" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['A'] == 'H' %>" name="a" value="H" 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>
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-fluid">
3
+ <div class="row">
4
4
 
5
- <div class="span5">
5
+ <div class="col-6">
6
6
  <div class="inner">
7
- <h3 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)</h3>
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 btn-med<%= ' active btn-primary' if @cvss_vector['CR'] == 'X' %>" name="cr" value="X" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['CR'] == 'L' %>" name="cr" value="L" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['CR'] == 'M' %>" name="cr" value="M" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['CR'] == 'H' %>" name="cr" value="H" 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>
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
- <h3 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)</h3>
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 btn-med<%= ' active btn-primary' if @cvss_vector['IR'] == 'X' %>" name="ir" value="X" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['IR'] == 'L' %>" name="ir" value="L" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['IR'] == 'M' %>" name="ir" value="M" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['IR'] == 'H' %>" name="ir" value="H" 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>
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
- <h3 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)</h3>
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 btn-med<%= ' active btn-primary' if @cvss_vector['AR'] == 'X' %>" name="ar" value="X" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['AR'] == 'L' %>" name="ar" value="L" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['AR'] == 'M' %>" name="ar" value="M" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['AR'] == 'H' %>" name="ar" value="H" 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>
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="span7">
55
+ <div class="col-6">
56
56
 
57
57
  <div class="inner">
58
- <h3 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)</h3>
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 btn-med<%= ' active btn-primary' if @cvss_vector['MAV'] == 'X' %>" name="mav" value="X" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['MAV'] == 'N' %>" name="mav" value="N" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['MAV'] == 'A' %>" name="mav" value="A" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['MAV'] == 'L' %>" name="mav" value="L" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['MAV'] == 'P' %>" name="mav" value="P" 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>
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
- <h3 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)</h3>
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 btn-med<%= ' active btn-primary' if @cvss_vector['MAC'] == 'X' %>" name="mac" value="X" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['MAC'] == 'L' %>" name="mac" value="L" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['MAC'] == 'H' %>" name="mac" value="H" 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>
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
- <h3 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)</h3>
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 btn-med<%= ' active btn-primary' if @cvss_vector['MPR'] == 'X' %>" name="mpr" value="X" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['MPR'] == 'N' %>" name="mpr" value="N" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['MPR'] == 'L' %>" name="mpr" value="L" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['MPR'] == 'H' %>" name="mpr" value="H" 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>
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
- <h3 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)</h3>
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 btn-med<%= ' active btn-primary' if @cvss_vector['MUI'] == 'X' %>" name="mui" value="X" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['MUI'] == 'N' %>" name="mui" value="N" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['MUI'] == 'R' %>" name="mui" value="R" 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>
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
- <h3 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)</h3>
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 btn-med<%= ' active btn-primary' if @cvss_vector['MS'] == 'X' %>" name="ms" value="X" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['MS'] == 'U' %>" name="ms" value="U" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['MS'] == 'C' %>" name="ms" value="C" 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>
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
- <h3 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)</h3>
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 btn-med<%= ' active btn-primary' if @cvss_vector['MC'] == 'X' %>" name="mc" value="X" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['MC'] == 'N' %>" name="mc" value="N" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['MC'] == 'L' %>" name="mc" value="L" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['MC'] == 'H' %>" name="mc" value="H" 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>
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
- <h3 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)</h3>
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 btn-med<%= ' active btn-primary' if @cvss_vector['MI'] == 'X' %>" name="mi" value="X" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['MI'] == 'N' %>" name="mi" value="N" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['MI'] == 'L' %>" name="mi" value="L" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['MI'] == 'H' %>" name="mi" value="H" 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>
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
- <h3 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)</h3>
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 btn-med<%= ' active btn-primary' if @cvss_vector['MA'] == 'X' %>" name="ma" value="X" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['MA'] == 'N' %>" name="ma" value="N" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['MA'] == 'L' %>" name="ma" value="L" 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>
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 btn-med<%= ' active btn-primary' if @cvss_vector['MA'] == 'H' %>" name="ma" value="H" 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>
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>