Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-6405: CWE-352 Cross-Site Request Forgery (CSRF) in bhagirath25 Floating Social Buttons

0
Medium
VulnerabilityCVE-2024-6405cvecve-2024-6405cwe-352
Published: Sat Jun 29 2024 (06/29/2024, 02:02:57 UTC)
Source: CVE Database V5
Vendor/Project: bhagirath25
Product: Floating Social Buttons

Description

CVE-2024-6405 is a medium-severity Cross-Site Request Forgery (CSRF) vulnerability affecting all versions of the Floating Social Buttons WordPress plugin up to 1. 5. The vulnerability arises from missing or incorrect nonce validation in the floating_social_buttons_option() function, allowing unauthenticated attackers to trick site administrators into executing forged requests. Successful exploitation can lead to unauthorized modification of plugin settings and injection of malicious scripts. This attack requires user interaction, specifically an administrator clicking a crafted link. There are no known exploits in the wild yet. The vulnerability impacts confidentiality and integrity but not availability. Organizations using this plugin should prioritize patching or applying mitigations to prevent potential compromise.

AI-Powered Analysis

AILast updated: 02/26/2026, 03:10:44 UTC

Technical Analysis

The Floating Social Buttons plugin for WordPress, developed by bhagirath25, suffers from a Cross-Site Request Forgery (CSRF) vulnerability identified as CVE-2024-6405. This vulnerability exists in all versions up to and including 1.5 due to the absence or improper implementation of nonce validation in the floating_social_buttons_option() function. Nonces in WordPress are security tokens used to verify that requests originate from legitimate users and not from malicious third parties. Without proper nonce checks, attackers can craft malicious web requests that, when executed by an authenticated administrator (e.g., by clicking a specially crafted link), cause unauthorized changes to the plugin’s settings. These changes can include injecting malicious scripts, potentially leading to further compromise such as cross-site scripting (XSS) or persistent code execution within the WordPress environment. The vulnerability requires no prior authentication but does require user interaction from an administrator, making social engineering a key component of exploitation. The CVSS v3.1 score is 6.1 (medium), reflecting network attack vector, low attack complexity, no privileges required, but user interaction needed, and impacts on confidentiality and integrity with no effect on availability. Currently, no public patches or known exploits are reported, but the risk remains significant for sites using this plugin without mitigation.

Potential Impact

The primary impact of CVE-2024-6405 is the unauthorized modification of plugin settings and potential injection of malicious scripts into WordPress sites using the Floating Social Buttons plugin. This can lead to confidentiality breaches if sensitive data is exposed or integrity violations if site content or behavior is altered maliciously. Attackers could leverage this to conduct further attacks such as persistent cross-site scripting, redirect users to malicious sites, or manipulate site content for phishing or malware distribution. Although availability is not directly affected, the reputational damage and potential data compromise can be severe for organizations. Since the attack requires an administrator to be tricked into clicking a link, organizations with multiple administrators or less security-aware staff are at higher risk. The vulnerability affects any WordPress site using this plugin, which may include small businesses, blogs, and larger organizations relying on social media integration. The absence of known exploits reduces immediate risk but does not eliminate the threat, especially as exploit code could be developed and shared rapidly.

Mitigation Recommendations

Organizations should immediately verify if they use the Floating Social Buttons plugin version 1.5 or earlier and plan to update to a patched version once available. In the absence of an official patch, administrators should implement manual nonce validation in the floating_social_buttons_option() function to ensure requests are legitimate. Additionally, restrict administrative access to trusted users only and educate administrators about the risks of clicking unsolicited or suspicious links. Employ web application firewalls (WAFs) with custom rules to detect and block suspicious CSRF attempts targeting the plugin’s endpoints. Regularly audit plugin settings and monitor for unexpected changes or injected scripts. Consider temporarily disabling the plugin if it is not critical to site functionality until a secure version is released. Finally, maintain up-to-date backups to enable recovery in case of compromise.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-06-28T12:56:16.511Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6c02b7ef31ef0b55eec2

Added to database: 2/25/2026, 9:39:14 PM

Last enriched: 2/26/2026, 3:10:44 AM

Last updated: 2/26/2026, 9:40:53 AM

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats