---
title: "2. CVSS"
date: 2024-07-19
draft: false
---

# Common Vulnerability Scoring System (CVSS)
There are various ways to score or calculate severity ratings of vulnerabilities. The [Common Vulnerability Scoring System (CVSS)](https://www.first.org/cvss/) is an industry standard for performing these calculations. Many scanning tools will apply these scores to each finding as a part of the scan results, but it's important that we understand how these scores are derived in case we ever need to calculate one by hand or justify the score applied to a given vulnerability. The CVSS is often used together with the so-called [Microsoft DREAD](https://en.wikipedia.org/wiki/DREAD_(risk_assessment_model)). `DREAD` is a risk assessment system developed by Microsoft to help IT security professionals evaluate the severity of security threats and vulnerabilities. It is used to perform a risk analysis by using a scale of 10 points to assess the severity of security threats and vulnerabilities. With this, we calculate the risk of a threat or vulnerability based on five main factors:

- Damage Potential
- Reproducibility
- Exploitability
- Affected Users
- Discoverability


#### Risk Scoring
Categorize risk associated w/ an issue 
Consists of the Exploitability and impact of an issue
Exploitability:
- Access vector
- Access complexity
- Authentication
Impact:
- CIA Triad
	- Confidentiality
	- Integrity
	- Availability
![](/img/Pasted image 20240719125410.png|1000)

#### Base metric group
Represents vuln characteristics and consists of exploitability metrics, and impact metrics. 

Exploitability metrics (Way to evaluate technical means needed to exploit an issue)
- Attack vector
- Attack complexity
- Privileges required
- User interaction

#### Impact metrics
![](/img/Pasted image 20240719125530.png|1000)

- Confidentiality impact
	- Securing info and ensuring only authorized principles access (IE Attacker stealing passwords, encryption keys)
- Integrity impact
	- Information not being changed/tampered to maintain accuracy (IE Modified crucial biz files in org environment)
- Availability impact
	- Information readily attainable for biz requirements. (IE High value if attacker caused an environment to be completely unavailable for biz)

## Calculating CVSS Severity

The calculation of a CVSS v3.1 score takes into account all the metrics discussed in this section. The National Vulnerability Database has a calculator available to the public [here](https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator).

#### CVSS Calculation Example

For example, for the Windows Print Spooler Remote Code Execution Vulnerability, CVSS Base Metrics is 8.8. You can reference the values of each metric value [here](https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-34527).

# temporal metric group
https://academy.hackthebox.com/module/108/section/1228
