Vulnerability Types and Misconfiguration

Key Takeaways

  • A vulnerability is a weakness that can be exploited; misconfiguration is the single most common source CompTIA tests, ahead of zero-days.
  • SY0-701 objective 2.3 names application, OS, web, hardware, virtualization, cloud, supply-chain, cryptographic, and misconfiguration vulnerability families by name.
  • Cloud and container weaknesses almost always trace to identity, network, storage, image, or logging configuration rather than novel exploits.
  • Supply-chain vulnerabilities include vulnerable dependencies, typosquatting, compromised updates, and weak hardware-provider controls.
  • On scenario questions, name the root-cause weakness first, then pick the control that closes that exact condition.
Last updated: June 2026

Why This Section Carries Weight

Domain 2 (Threats, Vulnerabilities, and Mitigations) is 22% of the SY0-701 exam, second only to Security Operations at 28%, and vulnerability concepts (objective 2.3) appear in scenario form across all five domains. The exam is a maximum of 90 questions in 90 minutes with a passing score of 750 on a 100-900 scale (roughly 83%), so you cannot afford to misread the question. CompTIA hides the answer in the root cause: do not just name the attack, name the weakness that made it possible.

A vulnerability is a weakness in an asset; a threat is the actor or event that could exploit it; risk is the probability and impact of that pairing. Misconfiguration is the most commonly tested vulnerability source because it is preventable, human-caused, and present in nearly every breach scenario CompTIA writes.

Vulnerability typeConcrete exampleWhy it mattersTypical mitigation
Missing patchInternet-facing VPN has a known RCE CVEPublic exploit code likely existsPatch, isolate, or apply vendor workaround
Default configurationDefault admin/admin still enabled on a switchTrivial unauthorized accessChange defaults, apply a hardening baseline
Open permissionsEveryone group has write on a shareTampering and data exposureLeast privilege, periodic access reviews
Insecure protocolTelnet or FTP used for admin accessCredentials sent in cleartextSSH, SFTP, or a secure management plane
Weak/legacy cryptographyTLS 1.0 or RC4 still enabledDecryption or downgrade attacksDisable weak protocols and ciphers
End-of-life (EOL) systemVendor no longer issues fixesUnpatched known flaws persist foreverUpgrade, replace, segment, monitor
Unnecessary serviceTest service left running in productionExtra attack surfaceDisable or restrict the service
Exposed management portRDP 3389 or SSH 22 reachable from the internetDirect credential-stuffing pathVPN, bastion host, allow list, MFA

Misconfiguration Patterns CompTIA Loves

Most objective 2.3 questions reduce to one of these. Memorize the "better state" column because that is usually the correct answer choice.

AreaCommon mistakeBetter state
IdentityOverly broad admin rolesLeast privilege, role reviews, just-in-time access
NetworkAny-to-any firewall rulesNarrow source, destination, port, and protocol
StoragePublic read on a sensitive object storeBlock-public-access plus explicit policies
LoggingAudit logs disabled or 1-day retentionCentral logging with protected, longer retention
EndpointAll users are local administratorsStandard users plus a privileged-elevation workflow
DatabaseDatabase listener exposed to the internetPrivate subnet, application-only access
ContainerRuns as root with --privilegedNon-root user, dropped Linux capabilities
CloudLong-lived static access keysWorkload identity, short-lived credentials

Cloud and Container Worked Example

A containerized web app is breached. Investigation finds three weaknesses at once: the image runs as root, it bundles a vulnerable package (an outdated logging library with a known CVE), and an environment variable holds a cloud access key. CompTIA will ask for the best or most immediate control.

FindingVulnerability categoryBest mitigation
Vulnerable packageSoftware/dependency vulnerabilityRebuild from a patched base image
Root containerConfiguration weaknessRun as non-root, drop capabilities
Access key in env varSecret exposureRotate the key now, move to a secret manager or workload identity

Urgency drives the answer: an exposed key that may already be in attacker hands is rotated first, because exposure is active. Then you fix the build pipeline and secret-handling process so the condition does not recur. Picking only "patch the package" would leave the live credential usable.

Supply-Chain Weaknesses

Objective 2.3 explicitly lists supply chain (suppliers, vendors, managed service providers). Look for the clue word in the stem.

WeaknessStem clueMitigation
Vulnerable dependencyAn SCA report flags a library CVEUpdate the dependency and re-test
Typosquatting packagePackage name almost matches a popular one (reqeusts)Trusted registries, package allow lists
Compromised updateA legitimate vendor channel delivers malwareVendor validation, code signing, monitoring
Unpinned dependencyBuild pulls "latest" unreviewed packagePin versions, use lock files
Unverified artifactBinary's origin cannot be confirmedSignature verification and hash checks
Hardware/firmware trustCounterfeit or tampered componentTrusted suppliers, attestation, firmware validation

Common Traps

TrapBetter exam reasoning
Treat a scan as remediationScanning finds; remediation changes the risky condition
Patch a system with no vendor patchUse compensating controls while replacing or upgrading
Encrypt data but leave public access onEncryption helps, but public exposure is still a config failure
Disable logs for performanceLogs are required for detection, investigation, accountability
Name the attack, not the weaknessThe objective asks for the vulnerability, then the fix

Quick Drill

Name the weakness, then the mitigation:

  1. A router still uses the vendor default password: default configuration; change credentials, apply hardening baseline.
  2. A payroll database accepts connections from any internet address: exposed service; restrict network reachability, require a controlled admin path.
  3. A server runs an unsupported OS: legacy/EOL system; replace or isolate with monitoring until replacement.
  4. A lock file is missing and builds pull unreviewed versions: supply-chain weakness; pin and review dependencies.
  5. A storage bucket holding reports allows anonymous reads: misconfiguration; block public access and apply explicit policy.
Test Your Knowledge

A production object storage bucket containing internal reports allows anonymous public read access. What is the main weakness?

A
B
C
D
Test Your Knowledge

A vendor no longer releases security patches for a server operating system. Which mitigation is usually best long term?

A
B
C
D
Test Your KnowledgeMulti-Select

Which items are common cloud misconfigurations? Select two.

Select all that apply

Overly permissive IAM role
Public access to sensitive storage
Use of salted password hashes
A tested backup restore