hardMultiple ChoiceObjective-mapped
PT0-002 Practice Question: A penetration tester is using a vulnerability…
A penetration tester is using a vulnerability scanner to assess an internal network. The scanner reports a critical vulnerability in a custom web application, but manual verification shows the application is not vulnerable. Which of the following is the MOST likely cause of this false positive?
⚠ Common exam trap
A common mix-up: candidates assume a scanner's version-based detection is definitive, overlooking the fact that a vulnerable library may be present but not actively used in a way that exposes the vulnerability.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The scanner detected a vulnerable library used by the application, but the application's implementation does not expose the vulnerable code path
Vulnerability scanners often identify libraries or components with known CVEs, but they cannot determine whether the application's code actually invokes the vulnerable functions. In this case, the scanner flagged a library with a known vulnerability, but the custom web application's implementation does not expose the vulnerable code path, resulting in a false positive. This is a common limitation of static or version-based detection versus dynamic, context-aware analysis.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The scanner used an outdated vulnerability database that does not match the application's patches
Why it's wrong here
An outdated vulnerability database commonly produces false negatives because newly published CVEs are absent, not false positives. Although a stale database can in principle flag a CVE that was already patched in an update the scanner does not recognize, such a mis-match would affect many hosts with the same software equally and does not explain why a custom application would be singled out; the more precise cause is version-based detection that ignores custom code modifications.
- ✗
The scanner identified the application version from the HTTP response header, but the vulnerability was already patched in that version
Why it's wrong here
Reading the application version from an HTTP response header can cause a false positive when a backported security fix is applied but the version string remains unchanged, or when the banner reflects a generic framework instead of the exact patch level. While possible, this mechanism is less common in custom applications because enterprise scanners typically corroborate header fingerprints with multiple additional signatures, so the more probable explanation is a vulnerable bundled library whose code path is not actually reachable.
- ✓
The scanner detected a vulnerable library used by the application, but the application's implementation does not expose the vulnerable code path
Why this is correct
This is the classic false-positive scenario: a scanner identifies a third-party library (such as a JavaScript framework or open-source component) by its version string and matches it against known CVEs, but it cannot determine whether the application's code ever calls the vulnerable function or passes attacker-controlled data into it. Even when a library has a security flaw, if the custom application either implements the code path safely or never exposes it, the finding is not actually exploitable. A penetration tester must manually trace the application's logic and confirm reachability before reporting a confirmed vulnerability.
- ✗
The scanner performed an exploit attempt that succeeded on a different service on the same host
Why it's wrong here
If an exploit attempt succeeds against a different service on the same host, that outcome is a true positive for that co-located service, not a false positive for the custom application. The scanner might have presented the finding under the application's asset, but the exploit actually affected a separate component such as an adjacent database or API endpoint, meaning the finding needs to be re-attributed to the proper service. By definition, a confirmed successful exploit proves a real vulnerability exists, so it cannot be labeled a false positive in any context.
Go deeper
Related to this question
Learn chapter
Penetration Testing Methodology
Key term
Vulnerability scanner
A vulnerability scanner is an automated tool that identifies security weaknesses in systems, networks, and applications by comparing their configurations and software versions against known vulnerability databases.
Key term
False positive
A false positive is an alert or result that indicates a security threat or vulnerability exists when in fact there is no real issue.
About these practice questions
This PT0-003 question is part of Courseiva's 185-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This PT0-003 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PT0-003 exam.