TEC-CYBE44-02 · Lesson 9 · 15 clock hours · lab
Vulnerability Scanning and CVSS Scoring
Objective. Students will run a credentialed vulnerability scan against an isolated lab target using OpenVAS or a comparable open-source scanner, interpret the results, and prioritize findings by CVSS score.
⚠ Pending professional review
This lesson, its worked examples and its practice questions has not yet been verified by an industry-certified professional or by a certification or approval body. It is a study draft and may contain errors. Do not use it as instructions for work on a job site or on live equipment. Always follow your instructor, your supervising professional, and current official references and regulations.
VoTechWorks program approval and accreditation are still in progress. Credentials are issued only by the certifying bodies named in each program, after their own exams.
What Is Vulnerability Scanning?
A vulnerability scan is an automated process that probes a system, network, or application and compares what it finds against a database of known weaknesses. The scanner checks software versions, configurations, open ports, and missing patches, then produces a report that ranks findings by severity. Unlike a penetration test, a vulnerability scan does not exploit the weaknesses it finds — it only identifies and reports them.
Credentialed vs. non-credentialed scans. A non-credentialed scan sees only what an unauthenticated attacker sees from the network. A credentialed scan logs in to the target using a service account and inspects the system from the inside — installed software, registry keys, local users, patch levels — producing far fewer false negatives. For internal vulnerability management programs, credentialed scans are the standard because they give a more complete picture.
OpenVAS / Greenbone Community Edition
OpenVAS (Open Vulnerability Assessment System), distributed as the Greenbone Community Edition (GCE), is a widely used open-source vulnerability scanner. It maintains a feed of Network Vulnerability Tests (NVTs) synchronized from Greenbone's servers. You configure a scan target (one or more IP addresses), a scan config (the set of tests to run), optionally attach credentials so the scanner can log in, and then create and launch a task. When the task finishes you export a report in PDF, XML, or CSV format.
Lab safety rule — critical: Before launching any scan, confirm that the target IP range belongs only to the isolated lab subnet. Scanning outside the designated subnet — especially against production systems or systems you do not own — is unauthorized under the Computer Fraud and Abuse Act and similar laws and will result in immediate removal from the lab exercise. Your instructor will verify scan scope before you press Start.
Understanding CVSS v3.1
The Common Vulnerability Scoring System (CVSS), maintained by FIRST (Forum of Incident Response and Security Teams), gives each vulnerability a numerical score from 0.0 to 10.0 and a matching severity label:
| Score range | Label |
|---|---|
| 0.0 | None |
| 0.1 – 3.9 | Low |
| 4.0 – 6.9 | Medium |
| 7.0 – 8.9 | High |
| 9.0 – 10.0 | Critical |
The Base Score captures the intrinsic characteristics of the vulnerability, independent of environment or time. It is calculated from two metric groups:
- Exploitability metrics — Attack Vector (AV), Attack Complexity (AC), Privileges Required (PR), User Interaction (UI)
- Impact metrics — Confidentiality Impact (C), Integrity Impact (I), Availability Impact (A), plus the Scope (S) value that indicates whether a successful exploit can affect resources beyond the vulnerable component
Each metric has a small set of defined values, each with a numeric weight. You pick the correct value for each metric based on how the vulnerability works, then the formula combines them into the Base Score. FIRST publishes a free calculator at first.org/cvss/calculator/3.1 that performs the arithmetic for you once you select the metric values.
Reading the vector string. Every CVSS v3.1 Base Score is accompanied by a vector string that encodes all metric choices in a compact, human-readable form. Example:
`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
This reads: Attack Vector = Network, Attack Complexity = Low, Privileges Required = None, User Interaction = None, Scope = Unchanged, Confidentiality = High, Integrity = High, Availability = High — which calculates to a Base Score of 9.8 (Critical).
NVD and CVE Entries
The National Vulnerability Database (NVD) at nvd.nist.gov is the US government repository for CVE (Common Vulnerabilities and Exposures) records. Each CVE entry includes a description, affected products, references, and the CVSS score. When your scanner flags a finding, you can look up the CVE number in NVD to read the full description and verify the score. OpenVAS links findings to CVE IDs in its report, making this cross-reference straightforward.
Prioritizing Findings
After a scan you will typically have dozens or hundreds of findings. Prioritization is essential:
1. Sort by CVSS Base Score descending. Address Critical and High findings first.
2. Check exploitability. A Critical finding on a system with no network exposure may rank lower in practice than a High finding on an internet-facing host.
3. Consider asset value. A vulnerability on a database server storing sensitive data deserves faster remediation than the same vulnerability on a test workstation.
4. Look for public exploits. If the NVD entry or threat intelligence feeds show a known exploit in the wild, escalate urgency.
CVSS alone does not tell you which vulnerability to fix first — it tells you how severe the flaw is in isolation. A mature vulnerability management program layers CVSS with asset criticality and threat intelligence to produce a prioritized remediation list.
Completing This Lab Safely
Metasploitable2 is a deliberately vulnerable Linux VM used only for authorized training. Keep it on the isolated host-only or internal network adapter — never bridge it to the internet or the campus LAN. Take a snapshot before scanning so you can restore the VM to a clean state. Document every step using the setup checklist; your instructor will sign off on scope before you launch.
Key terms10
Vulnerability ScanAn automated process that probes systems and compares findings against a database of known weaknesses to produce a prioritized list of security issues without exploiting them.
Credentialed ScanA vulnerability scan that authenticates to the target using valid credentials, allowing the scanner to inspect the system from the inside for a more complete and accurate result.
CVSS (Common Vulnerability Scoring System)An open framework maintained by FIRST that assigns a numeric score from 0.0 to 10.0 to vulnerabilities based on their intrinsic characteristics, enabling consistent severity comparisons across different systems.
CVSS Base ScoreThe component of a CVSS score that reflects only the intrinsic properties of a vulnerability — its exploitability and impact — independent of time or deployment environment.
Vector StringA compact text representation of all CVSS metric choices for a vulnerability, such as CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, used to document and communicate how a score was derived.
CVE (Common Vulnerabilities and Exposures)A standardized identifier and record for a publicly known security vulnerability, maintained by MITRE and enriched with CVSS scores and references in the National Vulnerability Database.
NVD (National Vulnerability Database)The US government repository at nvd.nist.gov that stores CVE entries with CVSS scores, affected product lists, and remediation references.
OpenVAS / Greenbone Community EditionAn open-source vulnerability scanner that uses a regularly updated feed of Network Vulnerability Tests to identify security weaknesses in hosts and networks.
Attack Vector (AV)A CVSS exploitability metric that describes how the vulnerability is accessed — options include Network, Adjacent, Local, and Physical — with Network representing the broadest and most severe exposure.
Scope (S)A CVSS metric indicating whether a successfully exploited vulnerability can affect resources beyond the vulnerable component itself; values are Unchanged or Changed.
Worked examples4
1. Derive the CVSS v3.1 Base Score for a vulnerability with the following characteristics: it is exploitable over the network (AV:N), requires no special privileges (PR:N), no user interaction (UI:N), has low attack complexity (AC:L), scope is unchanged (S:U), and all three impact metrics are High (C:H, I:H, A:H). What is the Base Score and severity label?
- Step 1 — Open the CVSS v3.1 calculator at first.org/cvss/calculator/3.1.
- Step 2 — Set Attack Vector = Network, Attack Complexity = Low, Privileges Required = None, User Interaction = None.
- Step 3 — Set Scope = Unchanged, Confidentiality Impact = High, Integrity Impact = High, Availability Impact = High.
- Step 4 — Read the calculator output. With these exact metric values the calculator returns a Base Score of 9.8.
- Step 5 — Apply the severity table: 9.0–10.0 = Critical. The label is Critical.
Answer: Base Score 9.8 — Critical. Vector string: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2. A vulnerability requires the attacker to have local access (AV:L), low attack complexity (AC:L), low privileges (PR:L), no user interaction (UI:N), scope is unchanged (S:U), confidentiality impact is High (C:H), integrity impact is None (I:N), and availability impact is None (A:N). Use the CVSS v3.1 calculator to find the Base Score and severity label.
- Step 1 — Open the CVSS v3.1 calculator at first.org/cvss/calculator/3.1.
- Step 2 — Set Attack Vector = Local, Attack Complexity = Low, Privileges Required = Low, User Interaction = None.
- Step 3 — Set Scope = Unchanged, Confidentiality = High, Integrity = None, Availability = None.
- Step 4 — Read the calculator output. These metric values produce a Base Score of 5.5.
- Step 5 — Apply the severity table: 4.0–6.9 = Medium. The label is Medium.
Answer: Base Score 5.5 — Medium. Vector string: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
3. A web application flaw is exploitable over the network (AV:N), has low complexity (AC:L), requires no privileges (PR:N), but does require a user to click a malicious link (UI:R). Scope changes (S:C), and all three impacts are Low (C:L, I:L, A:L). Calculate the Base Score and severity label.
- Step 1 — Open the CVSS v3.1 calculator at first.org/cvss/calculator/3.1.
- Step 2 — Set Attack Vector = Network, Attack Complexity = Low, Privileges Required = None, User Interaction = Required.
- Step 3 — Set Scope = Changed, Confidentiality = Low, Integrity = Low, Availability = Low.
- Step 4 — Read the calculator output. With Scope Changed and all impacts Low, the calculator returns a Base Score of 6.3.
- Step 5 — Apply the severity table: 4.0–6.9 = Medium. The label is Medium.
Answer: Base Score 6.3 — Medium. Vector string: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
4. Your OpenVAS scan returns five findings with CVSS Base Scores of 9.8, 7.2, 6.5, 4.1, and 2.3. List the severity label for each and state which two you should remediate first.
- Step 1 — Apply the CVSS severity table to each score: 9.8 = Critical, 7.2 = High, 6.5 = Medium, 4.1 = Medium, 2.3 = Low.
- Step 2 — Sort by descending score: 9.8 (Critical) → 7.2 (High) → 6.5 (Medium) → 4.1 (Medium) → 2.3 (Low).
- Step 3 — The two highest-scoring findings (9.8 Critical and 7.2 High) should be remediated first because they pose the greatest intrinsic risk.
- Step 4 — Note that additional factors such as asset criticality and availability of public exploits would further refine this order in a real program.
Answer: Severity labels: 9.8 = Critical, 7.2 = High, 6.5 = Medium, 4.1 = Medium, 2.3 = Low. Remediate the Critical (9.8) and High (7.2) findings first.
In class: Instructor demonstrates the OpenVAS (Greenbone Community Edition) scanning interface on a projected screen, configuring a credentialed scan task against Metasploitable2; students follow along using their own lab VMs and complete a setup checklist confirming scan scope is limited to the isolated subnet. · Students launch their own credentialed scan, wait for completion, then export and review the report; they list the top five findings by CVSS score, record the CVSS vector string for each, and identify the vulnerable component. · Students complete a CVSS scoring worksheet: given three vulnerability descriptions (instructor-authored, modeled on real CVE entries but anonymized), students manually derive a CVSS v3.1 base score using the CVSS calculator at first.org/cvss/calculator/3.1 and compare their scores to the instructor's key.
Materials: OpenVAS / Greenbone Community Edition (open-source, installed on lab VM), Metasploitable2 VM (isolated subnet), CVSS v3.1 calculator (first.org), CVSS scoring worksheet, NVD (nvd.nist.gov) for reference, CompTIA CySA+ study guide — vulnerability management chapter
Check: Submitted scan report export and completed CVSS worksheet; pass requires scan scope confirmed to isolated subnet (instructor verifies), top five findings listed with correct CVSS scores, and manual CVSS scores within 0.5 of instructor key for at least 2 of 3 worksheet items — 80% rubric score.
Practice check8
Answer each question, then check it. Nothing is recorded; this is your own practice.
Record this lesson on my transcript. Sign in with your key and enrollment email to record lessons (enroll free if you have no key). This page stays open to read and practise.