Advertisement
KingSkrupellos

Kementerian Pekerjaan Umum dan Perumahan Rakyat XSS SQL Inj

May 2nd, 2019
371
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.96 KB | None | 0 0
  1. ###################################################################
  2.  
  3. # Exploit Title : Kementerian Pekerjaan Umum dan Perumahan Rakyat Indonesia XSS SQL Injection
  4. # Author [ Discovered By ] : KingSkrupellos
  5. # Team : Cyberizm Digital Security Army
  6. # Date : 03/05/2019
  7. # Vendor Homepage : birohukum.pu.go.id
  8. # Tested On : Windows and Linux
  9. # Category : WebApps
  10. # Exploit Risk : Medium
  11. # Google Dorks : Biro Hukum PU - Kementerian Pekerjaan Umum dan Perumahan Rakyat 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 Web Page Generation ('Cross-site Scripting')
  15. # PacketStormSecurity : packetstormsecurity.com/files/authors/13968
  16. # CXSecurity : cxsecurity.com/author/KingSkrupellos/1/
  17. # Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos
  18.  
  19. ###################################################################
  20.  
  21. # Impact :
  22. ***********
  23. Biro Hukum Kementerian Pekerjaan Umum dan Perumahan Rakyat Indonesia is prone
  24. to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied
  25. 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. # Admin Panel and For Members Login Path :
  48. ****************************************
  49. /library/index.php?menu=login
  50.  
  51. /pustaka/pawon/
  52.  
  53. # SQL Injection Exploit :
  54. **********************
  55. /pustaka/detail.php?cat=[SQL Injection]
  56.  
  57. # Cross Site Scripting XSS Exploit :
  58. ********************************
  59. /pustaka/detail.php?cat=1%27<marquee><font%20color=lime%20size=32>
  60. XSS-Vulnerability-Discovered-By%20KingSkrupellos</font></marquee>
  61.  
  62. ###################################################################
  63.  
  64. # Example Vulnerable Sites :
  65. *************************
  66. Biro Hukum Jaringan Dokumentasi dan informasi hukum
  67. kementerian pekarjaan umum republic indonesia
  68.  
  69. [+] birohukum.pu.go.id/pustaka/detail.php?cat=1%27
  70.  
  71. [+] birohukum.pu.go.id/pustaka/detail.php?cat=1%27%3C
  72. marquee%3E%3Cfont%20color=lime%20size=32%3EXSS-Vulnerability-
  73. Discovered-By%20KingSkrupellos%3C/font%3E%3C/marquee%3E
  74.  
  75. ###################################################################
  76.  
  77. # Example SQL Database Error :
  78. ****************************
  79. You have an error in your SQL syntax; check the manual that corresponds to your
  80. MySQL server version for the right syntax to use near '567\' WHERE
  81. status != 1 ORDER BY counter DESC LIMIT 0,7' at line 1
  82.  
  83. ###################################################################
  84.  
  85. # Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
  86.  
  87. ###################################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement