CY.II · CySA+ CS0-004 practice question

An attacker manipulates a web application's `page=` parameter to load a local system file and execute it within the web server's PHP interpreter. Which vulnerability is being exploited?

Choose one answer
Check answer and explanation

Correct answer: Local File Inclusion (LFI)

Explanation

Local File Inclusion (LFI) allows an attacker to include and potentially execute local files on the web server via unsanitized file-path parameters.

Common trap

Local File Inclusion (LFI) allows an attacker to include and potentially execute local files on the web server via unsanitized file-path parameters.

Source: Original unofficial practice; not an official CompTIA exam item
Checked against the cited text on 2026-11-30.

Report an error in this question