app/views/dradis/plugins/calculators/cvss/base/index.html.erb in dradis-calculator_cvss-3.11.0 vs app/views/dradis/plugins/calculators/cvss/base/index.html.erb in dradis-calculator_cvss-3.12.0
- old
+ new
@@ -2,240 +2,34 @@
<h1>CVSSv3 score calculator</h1>
<% end %>
<p class="lead">Use this page to calculate the <abbr title="Common Vulnerability Scoring System">CVSS</abbr> score of a given finding.</p>
+<p class="alert alert-error text-error hide" data-behavior="cvss-error"></p>
+
+
<div class="row">
<div class="span8">
- <section>
- <h2 title="The Base Metric group represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. Determine the vulnerable component and score Attack Vector, Attack Complexity, Privileges Required and User Interaction relative to this.">Base: <span id="base-score">0</span></h2>
- <p id="missing-base-metric-error" class="text-error hide"><strong>Warning</strong>: all Base metrics are required</p>
- <div class="row-fluid">
- <div class="span6">
- <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>
- <input type="hidden" id="av" />
- <div class="btn-group" data-toggle="buttons-radio">
- <div class="btn-group-vertical">
- <button type="button" class="btn btn-med" name="av" value="N" title="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.">Network (N) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="av" value="A" title="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 (A) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- </div>
- <div class="btn-group-vertical">
- <button type="button" class="btn btn-med" name="av" value="L" title="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 (L) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="av" value="P" title="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 (P) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- </div>
- </div>
+ <h2 title="The Base Metric group represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. Determine the vulnerable component and score Attack Vector, Attack Complexity, Privileges Required and User Interaction relative to this.">
+ Base: <span id="base-score">0</span>
+ </h2>
+ <%= render 'dradis/plugins/calculators/cvss/base/base' %>
- <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>
- <input type="hidden" id="ac" />
- <div class="btn-group btn-group-justified" data-toggle="buttons-radio">
- <button type="button" class="btn btn-med" name="ac" value="L" title="Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success against the vulnerable component.">Low (L) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="ac" value="H" title="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 (H) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- </div>
+ <h2 title="The Temporal metrics measure the current state of exploit techniques or code availability, the existence of any patches or workarounds, or the confidence that one has in the description of a vulnerability.">
+ Temporal: <span id="temporal-score">0</span>
+ </h2>
+ <%= render 'dradis/plugins/calculators/cvss/base/temporal' %>
- <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>
- <input type="hidden" id="pr" />
- <div class="btn-group" data-toggle="buttons-radio">
- <button type="button" class="btn btn-med" name="pr" value="N" title="The attacker is unauthorized prior to attack, and therefore does not require any access to settings or files to carry out an attack.">None (N) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="pr" value="L" title="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 (L) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="pr" value="H" title="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 (H) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- </div>
-
- <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>
- <input type="hidden" id="ui" />
- <div class="btn-group" data-toggle="buttons-radio">
- <button type="button" class="btn btn-med" name="ui" value="N" title="The vulnerable system can be exploited without any interaction from any user.">None (N) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="ui" value="R" title="Successful exploitation of this vulnerability requires a user to take some action before the vulnerability can be exploited.">Required (R) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- </div>
- </div>
-
- <div class="span6">
- <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>
- <input type="hidden" id="s" />
- <div class="btn-group" data-toggle="buttons-radio">
- <button type="button" class="btn btn-med" name="s" value="U" title="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 (U) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="s" value="C" title="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 (C) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- </div>
-
- <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>
- <input type="hidden" id="c" />
- <div class="btn-group" data-toggle="buttons-radio">
- <button type="button" class="btn btn-med" name="c" value="N" title="There is no loss of confidentiality within the impacted component.">None (N) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="c" value="L" title="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 (L) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="c" value="H" title="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 (H) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- </div>
-
- <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>
- <input type="hidden" id="i" />
- <div class="btn-group" data-toggle="buttons-radio">
- <button type="button" class="btn btn-med" name="i" value="N" title="There is no loss of integrity within the impacted component.">None (N) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="i" value="L" title="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 (L) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="i" value="H" title="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 (H) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- </div>
-
- <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>
- <input type="hidden" id="a" />
- <div class="btn-group" data-toggle="buttons-radio">
- <button type="button" class="btn btn-med" name="a" value="N" title="There is no impact to availability within the impacted component.">None (N) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="a" value="L" title="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 (L) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="a" value="H" title="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 (H) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- </div>
-
- </div>
- </div>
-
- </section>
-
- <section>
- <h2 title="The Temporal metrics measure the current state of exploit techniques or code availability, the existence of any patches or workarounds, or the confidence that one has in the description of a vulnerability.">Temporal: <span id="temporal-score">0</span></h2>
-
- <h3 title="This metric measures the likelihood of the vulnerability being attacked, and is typically based on the current state of exploit techniques, exploit code availability, or active, 'in-the-wild' exploitation.">Exploit Code Maturity (E)</h3>
- <input type="hidden" id="e" />
- <div class="btn-group" data-toggle="buttons-radio">
- <button type="button" class="btn btn-med active" name="e" value="X" title="Assigning this value to the metric will not influence the score.">Not Defined (X) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="e" value="U" title="No exploit code is available, or an exploit is theoretical.">Unproven (U) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="e" value="P" title="Proof-of-concept exploit code is available, or an attack demonstration is not practical for most systems. The code or technique is not functional in all situations and may require substantial modification by a skilled attacker.">Proof-of-Concept (P) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="e" value="F" title="Functional exploit code is available. The code works in most situations where the vulnerability exists.">Functional (F) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="e" value="H" title="Functional autonomous code exists, or no exploit is required (manual trigger) and details are widely available. Exploit code works in every situation, or is actively being delivered via an autonomous agent (such as a worm or virus). Network-connected systems are likely to encounter scanning or exploitation attempts. Exploit development has reached the level of reliable, widely-available, easy-to-use automated tools.">High (H) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- </div>
-
- <h3 title="The Remediation Level of a vulnerability is an important factor for prioritization. The typical vulnerability is unpatched when initially published. Workarounds or hotfixes may offer interim remediation until an official patch or upgrade is issued. Each of these respective stages adjusts the temporal score downwards, reflecting the decreasing urgency as remediation becomes final.">Remediation Level (RL)</h3>
- <input type="hidden" id="rl" />
- <div class="btn-group" data-toggle="buttons-radio">
- <button type="button" class="btn btn-med active" name="rl" value="X" title="Assigning this value to the metric will not influence the score.">Not Defined (X) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="rl" value="O" title="A complete vendor solution is available. Either the vendor has issued an official patch, or an upgrade is available.">Official Fix (O) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="rl" value="T" title="There is an official but temporary fix available. This includes instances where the vendor issues a temporary hotfix, tool, or workaround.">Temporary Fix (T) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="rl" value="W" title="There is an unofficial, non-vendor solution available. In some cases, users of the affected technology will create a patch of their own or provide steps to work around or otherwise mitigate the vulnerability.">Workaround (W) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="rl" value="U" title="There is either no solution available or it is impossible to apply.">Unavailable (U) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- </div>
-
- <h3 title="This metric measures the degree of confidence in the existence of the vulnerability and the credibility of the known technical details. Sometimes only the existence of vulnerabilities are publicized, but without specific details. For example, an impact may be recognized as undesirable, but the root cause may not be known. The vulnerability may later be corroborated by research which suggests where the vulnerability may lie, though the research may not be certain. Finally, a vulnerability may be confirmed through acknowledgement by the author or vendor of the affected technology. The urgency of a vulnerability is higher when a vulnerability is known to exist with certainty. This metric also suggests the level of technical knowledge available to would-be attackers.">Report Confidence (RC)</h3>
- <input type="hidden" id="rc" />
- <div class="btn-group" data-toggle="buttons-radio">
- <button type="button" class="btn btn-med active" name="rc" value="X" title="Assigning this value to the metric will not influence the score.">Not Defined (X) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="rc" value="U" title="There are reports of impacts that indicate a vulnerability is present. The reports indicate that the cause of the vulnerability is unknown, or reports may differ on the cause or impacts of the vulnerability. Reporters are uncertain of the true nature of the vulnerability, and there is little confidence in the validity of the reports or whether a static Base score can be applied given the differences described. An example is a bug report which notes that an intermittent but non-reproducible crash occurs, with evidence of memory corruption suggesting that denial of service, or possible more serious impacts, may result.">Unknown (U) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="rc" value="R" title="Significant details are published, but researchers either do not have full confidence in the root cause, or do not have access to source code to fully confirm all of the interactions that may lead to the result. Reasonable confidence exists, however, that the bug is reproducible and at least one impact is able to be verified (Proof-of-concept exploits may provide this). An example is a detailed write-up of research into a vulnerability with an explanation (possibly obfuscated or 'left as an exercise to the reader') that gives assurances on how to reproduce the results.">Reasonable (R) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="rc" value="C" title="Detailed reports exist, or functional reproduction is possible (functional exploits may provide this). Source code is available to independently verify the assertions of the research, or the author or vendor of the affected code has confirmed the presence of the vulnerability.">Confirmed (C) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- </div>
- </section>
-
- <section>
- <h2 title="These metrics enable the analyst to customize the CVSS score depending on the importance of the affected IT asset to a user’s organization, measured in terms of complementary/alternative security controls in place, Confidentiality, Integrity, and Availability. The metrics are the modified equivalent of base metrics and are assigned metric values based on the component placement in organization infrastructure.">Environmental: <span id="environmental-score">0</span></h2>
-
- <div class="row-fluid">
- <div class="span6">
- <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>
- <input type="hidden" id="cr" />
- <div class="btn-group-vertical" data-toggle="buttons-radio">
- <button type="button" class="btn btn-med active" name="cr" value="X" title="Assigning this value to the metric will not influence the score.">Not Defined (X) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="cr" value="L" title="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 (L) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="cr" value="M" title="Loss of Confidentiality is likely to have a serious adverse effect on the organization or individuals associated with the organization (e.g., employees, customers).">Medium (M) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="cr" value="H" title="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 (H) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- </div>
-
- <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>
- <input type="hidden" id="ir" />
- <div class="btn-group-vertical" data-toggle="buttons-radio">
- <button type="button" class="btn btn-med active" name="ir" value="X" title="Assigning this value to the metric will not influence the score.">Not Defined (X) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="ir" value="L" title="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 (L) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="ir" value="M" title="Loss of Integrity is likely to have a serious adverse effect on the organization or individuals associated with the organization (e.g., employees, customers).">Medium (M) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="ir" value="H" title="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 (H) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- </div>
-
- <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>
- <input type="hidden" id="ar" />
- <div class="btn-group-vertical" data-toggle="buttons-radio">
- <button type="button" class="btn btn-med active" name="ar" value="X" title="Assigning this value to the metric will not influence the score.">Not Defined (X) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="ar" value="L" title="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 (L) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="ar" value="M" title="Loss of availability is likely to have a serious adverse effect on the organization or individuals associated with the organization (e.g., employees, customers).">Medium (M) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="ar" value="H" title="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 (H) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- </div>
-
- </div>
- <div class="span6">
- <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>
- <input type="hidden" id="mav" />
- <div class="btn-group" data-toggle="buttons-radio">
- <div class="btn-group-vertical">
- <button type="button" class="btn btn-med active" name="mav" value="X" title="Use the value assigned to the corresponding Base Score metric.">Not Defined (X) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="mav" value="N" title="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.">Network (N) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="mav" value="A" title="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 (A) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- </div>
- <div class="btn-group-vertical">
- <button type="button" class="btn btn-med" name="mav" value="L" title="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 (L) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="mav" value="P" title="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 (P) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- </div>
- </div>
-
- <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>
- <input type="hidden" id="mac" />
- <div class="btn-group" data-toggle="buttons-radio">
- <button type="button" class="btn btn-med active" name="mac" value="X" title="Use the value assigned to the corresponding Base Score metric.">Not Defined (X) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="mac" value="L" title="Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success against the vulnerable component.">Low (L) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="mac" value="H" title="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 (H) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- </div>
-
- <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>
- <input type="hidden" id="mpr" />
- <div class="btn-group" data-toggle="buttons-radio">
- <button type="button" class="btn btn-med active" name="mpr" value="X" title="Use the value assigned to the corresponding Base Score metric.">Not Defined (X) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="mpr" value="N" title="The attacker is unauthorized prior to attack, and therefore does not require any access to settings or files to carry out an attack.">None (N) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="mpr" value="L" title="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 (L) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="mpr" value="H" title="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 (H) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- </div>
-
- <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>
- <input type="hidden" id="mui" />
- <div class="btn-group" data-toggle="buttons-radio">
- <button type="button" class="btn btn-med active" name="mui" value="X" title="Use the value assigned to the corresponding Base Score metric.">Not Defined (X) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="mui" value="N" title="The vulnerable system can be exploited without any interaction from any user.">None (N) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="mui" value="R" title="Successful exploitation of this vulnerability requires a user to take some action before the vulnerability can be exploited.">Required (R) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- </div>
-
- <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>
- <input type="hidden" id="ms" />
- <div class="btn-group" data-toggle="buttons-radio">
- <button type="button" class="btn btn-med active" name="ms" value="X" title="Use the value assigned to the corresponding Base Score metric.">Not Defined (X) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="ms" value="U" title="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 (U) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="ms" value="C" title="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 (C) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- </div>
-
- <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>
- <input type="hidden" id="mc" />
- <div class="btn-group" data-toggle="buttons-radio">
- <button type="button" class="btn btn-med active" name="mc" value="X" title="Use the value assigned to the corresponding Base Score metric.">Not Defined (X) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="mc" value="N" title="There is no loss of confidentiality within the impacted component.">None (N) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="mc" value="L" title="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 (L) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="mc" value="H" title="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 (H) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- </div>
-
- <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>
- <input type="hidden" id="mi" />
- <div class="btn-group" data-toggle="buttons-radio">
- <button type="button" class="btn btn-med active" name="mi" value="X" title="Use the value assigned to the corresponding Base Score metric.">Not Defined (X) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="mi" value="N" title="There is no loss of integrity within the impacted component.">None (N) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="mi" value="L" title="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 (L) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="mi" value="H" title="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 (H) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- </div>
-
- <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>
- <input type="hidden" id="ma" />
- <div class="btn-group" data-toggle="buttons-radio">
- <button type="button" class="btn btn-med active" name="ma" value="X" title="Use the value assigned to the corresponding Base Score metric.">Not Defined (X) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="ma" value="N" title="There is no impact to availability within the impacted component.">None (N) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="ma" value="L" title="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 (L) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-med" name="ma" value="H" title="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 (H) <i class="fa fa-question-circle-o" aria-hidden="true"></i></button>
- </div>
-
- </div>
- </div>
-
- </section>
+ <h2 title="These metrics enable the analyst to customize the CVSS score depending on the importance of the affected IT asset to a user’s organization, measured in terms of complementary/alternative security controls in place, Confidentiality, Integrity, and Availability. The metrics are the modified equivalent of base metrics and are assigned metric values based on the component placement in organization infrastructure.">
+ Environmental: <span id="environmental-score">0</span>
+ </h2>
+ <%= render 'dradis/plugins/calculators/cvss/base/environmental' %>
</div>
<div class="span4">
-<pre id="blob">#[CVSSv3Vector]#
+ <textarea name="cvss_fields" rows="52" style="width:100%">#[CVSSv3.Vector]#
N/A
#[CVSSv3.BaseScore]#
N/A
@@ -263,8 +57,8 @@
#[CVSSv3.BaseIntegrity]#
#[CVSSv3.BaseAvailability]#
#[CVSSv3.EnvironmentalConfidentialityRequirement]#
#[CVSSv3.EnvironmentalIntegrityRequirement]#
-</pre>
+</textarea>
</div>
</div>