Lesson 04 of 5
Vulnerabilities, CVEs and CVSS: How Ethical Hackers Think About Risk
4 min read
Vulnerability vs exploit vs threat vs risk, how to research a CVE, read a CVSS score and report responsibly.
Finding open ports is only the start. The real skill is deciding which weaknesses matter, how serious they are, and what to do about them. This lesson covers the words and databases every ethical hacker and SOC analyst uses daily.
Four words people mix up
- Vulnerability – a weakness, such as an outdated version, a misconfiguration or a coding mistake
- Exploit – a method or piece of code that takes advantage of a vulnerability
- Threat – someone or something that could cause harm, like a ransomware group or a careless insider
- Risk – how likely it is that a threat uses a vulnerability, multiplied by how bad the impact would be
A vulnerability on a test server with no data is low risk. The same vulnerability on a public payment server is critical.
CVE: a name for every known vulnerability
CVE (Common Vulnerabilities and Exposures) gives each publicly known vulnerability an ID like CVE-2021-44228 (Log4Shell). Useful places to look one up:
- nvd.nist.gov – the US National Vulnerability Database, with descriptions, scores and references
- cve.org – the official CVE list
- The vendor's security advisory – usually the best source for the fix
CVSS: how serious is it?
The Common Vulnerability Scoring System rates vulnerabilities from 0 to 10:
- 0.1–3.9 Low
- 4.0–6.9 Medium
- 7.0–8.9 High
- 9.0–10.0 Critical
The score considers things like whether the attack works over the network, whether it needs a login or user interaction, and how badly it hurts confidentiality, integrity and availability. CVSS is a starting point. Your own context, like how exposed and how important the system is, decides the final priority.
Research exercise: from scan to CVE
In your home lab, a version scan of Metasploitable 2 shows an FTP service:
nmap -sV -p 21 192.168.56.101
It reports vsftpd 2.3.4. Search NVD for "vsftpd 2.3.4" and you'll find CVE-2011-2523, a famous case where the official download was briefly replaced with a backdoored version. Read the entry and note the CVSS score, what's affected and what the fix is (use a clean, current version). This is exactly what you do on a real test for every version you find: research it, judge the risk, and recommend the fix.
How vulnerabilities get fixed
- Patching and updating – the most common fix by far
- Configuration changes – turning off unused services, changing default passwords
- Compensating controls – a firewall rule or WAF while a patch is prepared
- Defence in depth – several layers (patching, MFA, monitoring, backups), so one failure isn't a disaster
Responsible disclosure
If you find a vulnerability in something outside a test, for example while using a website normally, don't exploit it or share it publicly. Report it privately:
- Look for a security.txt file, a bug bounty programme or a security contact on the site
- In India, you can also report to CERT-In, which has a responsible vulnerability disclosure policy
- Give the owner reasonable time to fix it before talking about it
Simple words mein (Hinglish)
Vulnerability ek kamzori hai, exploit us kamzori ka fayda uthane ka tareeka, threat nuksaan pahunchane wala, aur risk = chance × impact. Har known vulnerability ka ek CVE ID hota hai aur CVSS score 0 se 10 tak batata hai ki kitna serious hai. Scan mein jo version mile, use NVD par search karo, risk samjho aur fix recommend karo. Agar kahin galti se bug mil jaye to responsibly report karo, exploit nahi.
FAQ
What is a CVE? A unique ID for a publicly known vulnerability, like CVE-2021-44228.
What is a good CVSS score? Lower is better. 9.0 and above is Critical and should be fixed first.
What is the difference between a vulnerability and an exploit? A vulnerability is the weakness. An exploit is the way of taking advantage of it.
Where can I report a vulnerability in India? To the organisation's security contact or bug bounty programme, or to CERT-In.
Practice task
- Look up CVE-2021-44228 on nvd.nist.gov and write a two-line summary
- Research two other versions from your Metasploitable 2 scan and note their CVEs and scores
- Check whether a website you use has a /.well-known/security.txt file
Next lesson: pentest reports, bug bounty and the ethical hacking career roadmap.