KingSkrupellos

WordPress 4.8 Ait-ThemesClub TemplatePreview 1.8.1 RFI Redir

Mar 28th, 2019
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.97 KB | None | 0 0
  1. ####################################################################
  2.  
  3. # Exploit Title : WordPress 4.8 Ait-ThemesClub TemplatePreview 1.8.1 RFI Open Redirection
  4. # Author [ Discovered By ] : KingSkrupellos
  5. # Team : Cyberizm Digital Security Army
  6. # Date : 28/03/2019
  7. # Vendor Homepage : ait-themes.club
  8. # Software Information Link : ait-themes.club/wordpress-themes/
  9. ait-themes.club/documentation/
  10. themeforest.net/user/lumbermandesigns
  11. # Software Affected Version : WordPress Version 4.8 - 5.1.1 - Theme Version 1.8.1
  12. # Tested On : Windows and Linux
  13. # Category : WebApps
  14. # Exploit Risk : High
  15. # Google Dorks : inurl:/template-preview.php?url=
  16. # Vulnerability Type :
  17. CWE-601 [ URL Redirection to Untrusted Site ('Open Redirect') ]
  18. CWE-98 [ Improper Control of Filename for Include
  19. /Require Statement in PHP Program ('PHP Remote File Inclusion') ]
  20. # PacketStormSecurity : packetstormsecurity.com/files/authors/13968
  21. # CXSecurity : cxsecurity.com/author/KingSkrupellos/1/
  22. # Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos
  23. # Reference Link : cxsecurity.com/issue/WLB-2019030237
  24.  
  25. ####################################################################
  26.  
  27. # Impact :
  28. ***********
  29. * WordPress 4.8 Ait-ThemesClub TemplatePreview 1.8.1 accepts a user-controlled
  30.  
  31. input that specifies a link to an external site, and uses that link in a Redirect.
  32.  
  33. This simplifies phishing attacks. An http parameter may contain a URL value
  34.  
  35. and could cause the web application to redirect the request to the specified URL.
  36.  
  37. By modifying the URL value to a malicious site, an attacker may successfully
  38.  
  39. launch a phishing scam and steal user credentials. Because the server name in the
  40.  
  41. modified link is identical to the original site, phishing attempts have a more
  42.  
  43. trustworthy appearance. Open redirect is a failure in that process that makes
  44.  
  45. it possible for attackers to steer users to malicious websites. This vulnerability is
  46.  
  47. used in phishing attacks to get users to visit malicious sites without realizing it.
  48.  
  49. Web users often encounter redirection when they visit the Web site of a company
  50.  
  51. whose name has been changed or which has been acquired by another company.
  52.  
  53. Visiting unreal web page user's computer becomes affected by malware
  54.  
  55. the task of which is to deceive the valid actor and steal his personal data.
  56.  
  57. *The PHP application receives input from an upstream component, but it does not
  58.  
  59. restrict or incorrectly restricts the input before its usage in "require," "include," or similar functions.
  60.  
  61. * In certain versions and configurations of PHP, this can allow an attacker to
  62.  
  63. specify a URL to a remote location from which the software will obtain the code to execute.
  64.  
  65. In other cases in association with path traversal, the attacker can specify a local file
  66.  
  67. that may contain executable statements that can be parsed by PHP.
  68.  
  69. ####################################################################
  70.  
  71. # Open Redirection Exploit :
  72. **************************
  73. /template-preview.php?url=[BASE-64 Encoded URL]
  74.  
  75. /template-preview.php?url=aHR0cHM6Ly9jeHNlY3VyaXR5LmNvbS8=
  76.  
  77. Note : Convert any random desired redirection address into the Base64 Encoded Link.
  78.  
  79. Example 1 => aHR0cHM6Ly9jeHNlY3VyaXR5LmNvbS8= stands for cxsecurity.com
  80.  
  81. Example 2 => aHR0cHM6Ly93d3cuY3liZXJpem0ub3JnLw== stands for cyberizm.org
  82.  
  83. Example 3 => aHR0cDovL2V4cGxvaXQ0YXJhYi5vcmcv stands for exploit4arab.org
  84.  
  85. Example 4 => aHR0cHM6Ly9wYWNrZXRzdG9ybXNlY3VyaXR5LmNvbS8= stands for packetstormsecurity.com
  86.  
  87. Useable Base64 Encoder - Decoder Links :
  88. base64decode.org
  89. base64encode.org
  90.  
  91. ####################################################################
  92.  
  93. # Example Vulnerable Sites :
  94. *************************
  95. [+] messagizer.com/template-preview.php?url=aHR0cHM6Ly9jeHNlY3VyaXR5LmNvbS8=
  96.  
  97. ####################################################################
  98.  
  99. # Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
  100.  
  101. ####################################################################
Add Comment
Please, Sign In to add comment