WordPress Plugin Like Button Authentication Bypass

Authentication Bypass Vulnerability in the WP Like Button plugin version 1.6.0 allows unauthenticated attackers to change the settings of the plugin. The contains() function in wp_like_button.php did not check if the current request is made by an authorized user, thus allowing any unauthenticated user to successfully update the settings of the plugin.

Proof of Concept

the curl command below allows an attacker to change the each_page_url parameter to https://attacker.com. This allows the attacker to hijack Facebook likes.

curl -k -i --raw -X POST -d
-H "Content-Type: application/x-www-form-urlencoded"


No update has been released by the vendor. Users are advised to switch to a different plugin.

Leave a Reply

Your email address will not be published.

Previous Post

Local File Inclusion – FlightPath

Next Post

Top 5 Web Hosting Companies in Kashmir

Related Posts