WordPress Plugin Vulnerabilities

Estatik Real Estate Plugin < 4.1.1 - Unauthenticated PHP Object Injection

Description

The plugin unserializes user input via some of its cookies, which could allow unauthenticated users to perform PHP Object Injection when a suitable gadget chain is present on the blog

Proof of Concept

To simulate a gadget chain, put the following code in a plugin:
class Evil {
    public function __wakeup() : void {
        die("Arbitrary deserialization");
    }
}

Then, run the below command in the developer console of the web browser while being on the blog as unauthenticated and reload the page to see the Arbitrary deserialization message.

document.cookie='es_wishlist=O:4:"Evil":0:{}'

Affects Plugins

Fixed in 4.1.1

References

Classification

Type
OBJECT INJECTION
CWE

Miscellaneous

Original Researcher
Krzysztof Zając (CERT PL)
Submitter
Krzysztof Zając (CERT PL)
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2023-12-25 (about 4 months ago)
Added
2023-12-25 (about 4 months ago)
Last Updated
2023-12-25 (about 4 months ago)

Other