Cyber Security /Ethical Security Practice / Lesson
Cyber Security

Vulnerability Identification

Learn how security professionals identify, validate, document, classify, and prioritize vulnerabilities during an authorized security assessment.

🎯

Learning Objectives

By the end of this lesson, students should be able to:

1. Define a vulnerability.
2. Distinguish between vulnerabilities, threats, and risks.
3. Explain the vulnerability identification process.
4. Identify common sources of vulnerabilities.
5. Explain the role of automated vulnerability scanning.
6. Explain the importance of manual security analysis.
7. Understand CVE and CVSS at a high level.
8. Explain false positives and false negatives.
9. Document vulnerability evidence appropriately.
10. Prioritize vulnerabilities using technical and business context.

📖

Lesson Content

Vulnerability Identification

Vulnerability identification is the process of discovering weaknesses
in systems, applications, networks, configurations, processes, or
security controls that could potentially be exploited or abused.

In ethical security practice, vulnerability identification must always
be performed within an authorized scope and according to the approved
rules of engagement.


1. What Is a Vulnerability?

A vulnerability is a weakness or condition that could reduce the
security of a system or make it easier for a threat to cause harm.

Vulnerabilities may exist in software, hardware, configurations,
authentication systems, access controls, network architecture, human
processes, or organizational procedures.

2. Examples of Vulnerabilities

  • Outdated software
  • Weak authentication controls
  • Excessive user permissions
  • Insecure configurations
  • Missing security updates
  • Exposed sensitive information
  • Weak security policies
  • Improper access controls
  • Inadequate logging
  • Insecure application behavior

3. Vulnerability vs Threat vs Risk

These terms are related but have different meanings.

  • Vulnerability:
    A weakness that could potentially be exploited.
  • Threat:
    A potential cause of harm or an event that could take advantage
    of a weakness.
  • Risk:
    The potential effect of a threat exploiting a vulnerability.

4. Vulnerability Identification Process

A structured vulnerability identification process can include:

  1. Define the authorized scope.
  2. Understand the environment.
  3. Collect relevant information.
  4. Identify potential weaknesses.
  5. Analyze findings.
  6. Validate findings.
  7. Document evidence.
  8. Classify severity.
  9. Assess risk.
  10. Prepare recommendations.

5. Asset Identification

Before identifying vulnerabilities, security professionals need to
understand what assets are being assessed.

Assets may include:

  • Web applications
  • Servers
  • Workstations
  • Databases
  • Cloud resources
  • Network devices
  • Mobile devices
  • APIs
  • Source code
  • Business processes

6. Asset Inventory

An accurate asset inventory helps security teams understand what should
be protected and what should be included in an assessment.

Organizations should maintain accurate information about their systems,
ownership, purpose, location, and criticality.

7. Configuration Review

Security weaknesses are frequently caused by configuration problems.

Configuration reviews can examine:

  • User permissions
  • Authentication settings
  • Firewall rules
  • Security headers
  • Encryption settings
  • Logging configuration
  • Cloud permissions
  • Database security settings
  • Operating system configuration

8. Software and Patch Review

Outdated software may contain publicly known security weaknesses.

During an authorized assessment, security professionals may review
software versions and compare them with approved security baselines
and vendor security information.

9. Automated Vulnerability Scanning

Vulnerability scanners can help identify potential weaknesses across
authorized systems.

Automated scanners can be useful for discovering:

  • Known vulnerable software versions
  • Configuration weaknesses
  • Missing security controls
  • Exposed services
  • Common application weaknesses

Scanner results must be reviewed carefully because automated tools can
produce inaccurate results.

10. Manual Vulnerability Identification

Manual analysis allows security professionals to evaluate business
logic, application behavior, access control relationships, and
configurations that automated tools may not understand.

Manual assessment is especially valuable when evaluating complex
applications and business processes.

11. Source Code Review

When authorized source code is available, a security review can help
identify weaknesses before software reaches production.

Review areas may include:

  • Input validation
  • Authentication
  • Authorization
  • Session management
  • Data handling
  • Error handling
  • Cryptographic usage
  • Secrets management

12. Dependency Review

Modern applications often depend on third-party libraries and packages.

Security teams should identify outdated or vulnerable dependencies and
determine whether updates or compensating controls are required.

13. Web Application Vulnerability Identification

Authorized web application assessments may examine security controls
such as:

  • Authentication
  • Authorization
  • Session management
  • Input validation
  • Output encoding
  • File handling
  • Access control
  • Security headers
  • Error handling
  • Data protection

14. Authentication Weaknesses

Authentication weaknesses can allow unauthorized users to gain access
to accounts or services.

An assessment may review password policies, MFA implementation,
account lockout controls, session security, and authentication flows.

15. Authorization Weaknesses

Authorization determines what an authenticated user is allowed to do.

A system may have strong authentication but weak authorization.
Therefore, access permissions should be reviewed independently.

16. Input Validation

Applications should validate data received from users and other
external sources.

Security professionals can review whether applications properly
validate expected data types, lengths, formats, and allowed values.

17. Sensitive Data Exposure

Vulnerability identification may include checking whether sensitive
information is unnecessarily exposed through applications, logs,
configuration files, error messages, or public resources.

18. Network Vulnerability Identification

In an authorized network assessment, security professionals may review:

  • Network segmentation
  • Firewall configurations
  • Service exposure
  • Encryption
  • Remote access controls
  • Administrative interfaces
  • Network monitoring

19. Vulnerability Databases

Security professionals can use reputable vulnerability databases and
vendor security advisories to research known vulnerabilities.

Common vulnerability information may include a vulnerability identifier,
affected software, severity information, and remediation guidance.

20. CVE

CVE stands for Common Vulnerabilities and Exposures.

CVE identifiers provide standardized references for publicly known
cybersecurity vulnerabilities.

A CVE reference can help organizations identify affected software and
research appropriate remediation.

21. CVSS

CVSS stands for Common Vulnerability Scoring System.

CVSS provides a standardized approach for describing the technical
severity of vulnerabilities.

Organizations should still consider their own environment and business
context when determining overall risk.

22. Vulnerability Validation

A potential vulnerability should be validated before it is treated as
a confirmed finding.

Validation should be performed carefully and with minimal disruption.

The objective is to establish whether the weakness actually exists,
understand its conditions, and collect sufficient evidence.

23. False Positives

A false positive occurs when a tool or analyst identifies something as
a vulnerability when the condition does not actually represent a
security weakness.

False positives should be investigated and documented appropriately.

24. False Negatives

A false negative occurs when a vulnerability exists but is not detected
during an assessment.

Multiple assessment techniques can reduce the possibility of missed
findings.

25. Vulnerability Severity

Vulnerabilities can be classified according to their potential severity.

A simple classification may use:

  • Critical: Very serious security weakness requiring urgent attention.
  • High: Significant security weakness with substantial potential impact.
  • Medium: Meaningful weakness requiring planned remediation.
  • Low: Lower-impact weakness that should still be addressed.
  • Informational: Observation or recommendation without direct vulnerability impact.

26. Business Context

Technical severity does not always represent the complete business
risk.

For example, a vulnerability affecting a critical financial application
may deserve greater priority than a similar weakness affecting a
non-critical internal test system.

27. Evidence Collection

A vulnerability finding should have enough evidence to allow reviewers
to understand the issue.

Evidence may include:

  • Screenshots
  • Configuration information
  • Application responses
  • Version information
  • Relevant logs
  • Security scanner output
  • Source code observations

Evidence should be handled securely and should not unnecessarily expose
passwords, tokens, personal information, or other sensitive data.

28. Vulnerability Documentation

A good vulnerability record should be clear enough for another
security professional to understand the finding.

A vulnerability record may include:

  • Finding title
  • Affected asset
  • Description
  • Technical details
  • Evidence
  • Severity
  • Business impact
  • Recommendation
  • Reference information

29. Vulnerability Identification Workflow

  1. Confirm authorization.
  2. Confirm scope.
  3. Identify assets.
  4. Gather approved information.
  5. Review configurations.
  6. Review software and dependencies.
  7. Perform appropriate automated checks.
  8. Perform manual analysis.
  9. Validate potential findings.
  10. Collect evidence.
  11. Classify severity.
  12. Document the finding.
  13. Recommend remediation.

30. Example Vulnerability Record

FieldExample
FindingMissing Multi-Factor Authentication
AssetAuthorized administrative application
SeverityHigh
Description Administrative accounts do not have an additional
authentication factor configured.
Impact Compromise of an administrator password could provide
unauthorized access.
Recommendation Implement MFA for privileged and administrative accounts.

31. Prioritizing Vulnerabilities

Not every vulnerability can be fixed immediately. Organizations should
prioritize vulnerabilities according to factors such as:

  • Technical severity
  • Business impact
  • Asset criticality
  • Likelihood of exploitation
  • Exposure
  • Availability of remediation
  • Regulatory requirements
  • Existing compensating controls

32. Vulnerability Management

Vulnerability identification is one part of a larger vulnerability
management process.

Vulnerability management generally includes identification,
prioritization, remediation, verification, and continuous monitoring.

33. Responsible Vulnerability Handling

Security professionals must handle discovered vulnerabilities
responsibly.

  • Respect authorization.
  • Do not exceed the approved scope.
  • Protect discovered sensitive information.
  • Avoid unnecessary disruption.
  • Document findings accurately.
  • Report vulnerabilities through approved channels.
  • Do not disclose confidential findings improperly.

34. Common Mistakes

  • Testing systems without authorization.
  • Ignoring the approved scope.
  • Trusting scanner results without validation.
  • Failing to document evidence.
  • Ignoring business context.
  • Exposing sensitive information in reports.
  • Failing to communicate serious findings promptly.
  • Failing to retest remediation.

35. Safe Defensive Example

The following PHP example demonstrates how a defensive application
could maintain a simple vulnerability record for internal tracking.

<?php

$vulnerability = array(
    'title'      => 'Missing MFA',
    'asset'      => 'Admin Application',
    'severity'   => 'High',
    'status'     => 'Open',
    'recommendation' => 'Enable MFA for privileged accounts'
);

echo 'Finding: ' . $vulnerability['title'] . PHP_EOL;
echo 'Severity: ' . $vulnerability['severity'] . PHP_EOL;
echo 'Status: ' . $vulnerability['status'] . PHP_EOL;

?>

36. Practical Lab

Create a vulnerability register for a fictional application that you
own or have explicit authorization to assess.

Create at least five fictional findings using the following fields:

  1. Finding title
  2. Affected asset
  3. Description
  4. Evidence
  5. Severity
  6. Business impact
  7. Recommendation
  8. Status

Do not test or scan systems without explicit authorization.

37. Knowledge Check

  1. What is a vulnerability?
  2. What is the difference between a vulnerability and a threat?
  3. Why is asset identification important?
  4. What is vulnerability scanning?
  5. Why should automated findings be validated?
  6. What is a false positive?
  7. What is a false negative?
  8. What does CVE stand for?
  9. What does CVSS help security professionals describe?
  10. Why should business context be considered when prioritizing vulnerabilities?

38. Key Terms

  • Vulnerability:
    A weakness that could affect the security of a system.
  • Threat:
    A potential cause of harm.
  • Risk:
    Potential impact resulting from a threat exploiting a vulnerability.
  • Vulnerability Scanner:
    A tool used to identify potential security weaknesses.
  • CVE:
    Common Vulnerabilities and Exposures.
  • CVSS:
    Common Vulnerability Scoring System.
  • False Positive:
    A reported issue that is not actually a vulnerability.
  • False Negative:
    A vulnerability that was not detected.
  • Validation:
    Confirmation that a suspected vulnerability actually exists.
  • Remediation:
    The process of correcting a vulnerability.

39. Summary

Vulnerability identification is a fundamental part of ethical security
assessment.

Security professionals identify assets, review configurations,
evaluate applications and software, use appropriate automated tools,
perform manual analysis, validate findings, collect evidence, classify
severity, and document recommendations.

The process must always remain within an authorized scope and should
minimize unnecessary disruption.

Accurate vulnerability identification enables organizations to
understand their security weaknesses and prioritize remediation.

Next Lesson:
Risk Assessment
💻

Code Example

<?php

/*
 * Safe defensive example:
 * Create a simple vulnerability record
 * for internal security tracking.
 */

$vulnerability = array(
    'title'          => 'Missing MFA',
    'asset'          => 'Administrative Application',
    'severity'       => 'High',
    'status'         => 'Open',
    'recommendation' => 'Enable MFA for privileged accounts'
);

echo 'Finding: ' . $vulnerability['title'] . PHP_EOL;
echo 'Asset: ' . $vulnerability['asset'] . PHP_EOL;
echo 'Severity: ' . $vulnerability['severity'] . PHP_EOL;
echo 'Status: ' . $vulnerability['status'] . PHP_EOL;
echo 'Recommendation: ' . $vulnerability['recommendation'] . PHP_EOL;

?>
⭐

Key Takeaways

• A vulnerability is a weakness that could affect security.
• Vulnerability identification must be authorized and scoped.
• Asset identification is an important first step.
• Automated scanners can discover potential weaknesses but require validation.
• Manual analysis helps identify weaknesses that automated tools may miss.
• CVE provides standardized references for known vulnerabilities.
• CVSS helps describe technical vulnerability severity.
• False positives must be investigated.
• Evidence should support every confirmed finding.
• Business context should be considered when prioritizing vulnerabilities.
• Responsible vulnerability handling protects both organizations and users.

Enjoying this lesson?

Sign in to your Dwallnet Academy student account to track your learning progress and mark lessons as complete.

Sign In to Track Progress