Multiple vulnerabilities have been discovered in the Pay With Tweet plugin for WordPress, which can be exploited by malicious users to conduct SQL injection attacks and by malicious people to conduct cross-site scripting attacks.
1) Input passed to the "id" attribute to a "paywithtweet" shortcode is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
Successful exploitation requires access rights to modify pages.
2) Input passed to the "link", "title", and "dl" parameters in wp-content/plugins/pay-with-tweet.php/pay.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
Successful exploitation requires the victim to be logged into a twitter account.
The vulnerabilities are confirmed in version 1.1. Prior versions may also be affected.
Solution: Update to version 1.2.
Provided and/or discovered by: Reported by the vendor. Additional details provided by Gianluca Brindisi.
Original Advisory: Pay With Tweet:
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to firstname.lastname@example.org
Subject: WordPress Pay With Tweet Plugin Multiple Vulnerabilities
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.