XSS and Content Injection in HTC Windows Mobile SMS Preview PopUp
Windows Mobile shows message previews if configured to do so. Due to missing input validation the contents of a sms is not properly sanitized and interpreted as it is. This can lead to content injection and xss.
Send a sms with the following sample contents to a Windows Mobile based device which has message preview enabled:
1. <html><head><meta http-equiv=”refresh” content=”0; URL=http://www.google.de/”></head></html>
2. <script>alert(‘Thats evil’)</script>
3. You know waht you can do with that, find your own…
– Tested on
HTC Touch Pro 2, Windows Mobile 6.5
Other devices from HTC are vulnerable too
Disable the “Show Message” Option in the notification settings, or if the device is from HTC install the supplied patch for your device (which does the same).
The vulnerability was discovered by Michael Mueller from Integralis
Inspired by the Palm WebOS SMS Hack by intrepidusgroup
22.04.2010 – Vulnerabilities discovered
22.04.2010 – Public release