Common Vulnerability Scoring System – CVSS

The Common Vulnerability Scoring System (CVSS) v3 came out a while ago, as an enhancement for CVSS v2. The big question is: why do you need to calculate it, if it's already done by the tool (for example, Burp)? Let me give you an example. Suppose that you have found an SQL Injection vulnerability, and the report tells you that the score is high. In reality, the server that was tested was disconnected from the internet and available on a specific VLAN, and on top of that, the data stored in the database was not confidential. Should you still consider the score to be high? Of course not! That's why you always need to recalculate your score, to make sure that it matches the reality.

Here, I'm using CVSS v3, but you can use the online calculator at https://www.first.org/cvss/calculator/3.0.

The CVSS takes the following variables into consideration (you will understand the meaning of each one of them later):

  • Attack Vector (AV): Network (N), Adjacent (A), Local (L), Physical (P)
  • Attack Complexity (AC): Low (L), High (H)
  • Privileges Required (PR): None (N), Low (L), High (H)
  • User Interaction (UI): None (N), Required (R)
  • Scope (S): Unchanged (U), Changed (C)
  • Confidentiality (C): None (N), Low (L), High (H)
  • Integrity (I): None (N), Low (L), High (H)
  • Availability (A): None (N), Low (L), High (H)
Some people prefer to use the DREAD methodology to calculate the score. It's a personal choice; in the end, you need to make sure that you have an accurate measure that helps your organization (or client). Also, you can use both at the same time, it's an overhead; but again, there is no preference. Discuss it with the team to find out what their favorite method is. In the end, you need to take it into consideration that most of the tools use the National Vulnerability Database (NVD), and this uses CVSS to calculate the score.

How can we say that a score of 9 is high, or critical? You don't need to bump your head against the wall; here's the score guidance:
CVSS V3 Base Score: 0-10

Severity Base Score Range
None 0
Low 0.1 - 3.9
Medium
High 7.0 - 8.9
Critical 9.0 - 10.0

 

Let's look at a practical example to calculate the CVSS scores of two vulnerabilities:

  • SQL Injection
  • Reflected XSS

The web server is accessible through the internet, and the database stores confidential data(Clients personal information).

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.1.158