Skip to content

Episode 92: Local/Remote File Inclusion (LFI/RFI)

July 15, 2025 · 15 min

Show notes

Sometimes attackers don’t need to upload malicious files—they just need to include them. In this episode, we explore Local File Inclusion (LFI) and Remote File Inclusion (RFI) vulnerabilities, which allow attackers to manipulate file paths in application inputs and force systems to load unintended or external code. You’ll learn how LFI can be used to read sensitive server-side files, and how RFI opens the door for full remote code execution.

We also cover common exploit techniques, such as null byte injection and PHP wrappers, and walk through ways to mitigate these flaws through strict input validation, allowlists, and isolation of executable directories. CySA+ regularly tests awareness of LFI and RFI in web applications and server configurations—making this episode essential listening for any aspiring analyst or secure code reviewer. Brought to you by BareMetalCyber.com

All episodes of Certified – CompTIA CYSA+ Audio Course

Settings

Display

Language

Decides which stations you see first on the home page.

History

Recently played stations and episodes and your latest searches are only stored in this browser.

Notifications

A short notice when a podcast you follow has a new episode. Turn off single podcasts with the bell on their page.

Account

Save favorites – in the app and on the website.

Keyboard shortcuts

/
Open search
Space
Play or pause
← →
In the player: back 15 s, forward 30 s (episodes) · in a row: next tile
↑ ↓
In a row: target within the tile
Home / End
In a row: first or last tile
Esc
Close window or menu
?
This overview
Now playing

Go to station page

Play next

    Add episodes with “Play next” – they play after the current episode.