Skip to content

In-depth lesson · Path traversal

Reports behind this point

For inclusion, feed user-controlled data into a PHP include or a template and page name parameter and try to include a local file outside the theme directory. Language, theme and module parameters are the usual carriers, and an allow-list is the usual fix, so a parameter that accepts arbitrary names is the target.