Lucene search
K

Dream Gallery 2.0 Authentication Bypass

🗓️ 13 Jun 2016 00:00:00Reported by Ali BawazeEerType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 17 Views

Dream Gallery 2.0 Admin panel Authentication bypass. Attackers gain full access to admin panel without authentication

Code
`<!--  
# Exploit Title: Dream Gallery 2.0 - Admin panel Authentication bypass  
# Date: 13th June 2016  
# Exploit Author: Ali BawazeEer  
# Vendor Homepage: http://phpstaff.com.br/  
# Version: 2.0  
  
--!>  
  
  
=======================================================================================================  
  
Dream Gallery 2.0 Admin panel Authentication bypass   
  
Description : An Attackers are able to completely compromise the web application built upon  
Dream Gallery as they can gain access to the admin panel and   
manage the website as an admin without prior authentication!  
  
  
Step 1: Create a rule in No-Redirect Add-on: ^http://example.com/path/admin/login.php  
Step 2: Access http://example.com/path/admin/index.php  
  
  
Risk : Unauthenticated attackers are able to gain full access to the administrator panel  
and thus have total control over the web application, including content change,add admin user .. etc  
  
=======================================================================================================  
potential fix   
  
  
<?php   
session_start();   
if (!isset($_SESSION["auth"])) {   
exit(header('Location: admin/login.php'));   
}   
  
?>  
  
  
  
  
[+] Exploit by: Ali BawazeEer  
[+] Twitter:@AlibawazeEer  
[+] Linkedin : https://www.linkedin.com/in/AliBawazeEer  
`

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