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-2025-32151: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in Themekraft BuddyForms

0
Unknown
VulnerabilityCVE-2025-32151cvecve-2025-32151
Published: Fri Apr 04 2025 (04/04/2025, 15:58:37 UTC)
Source: CVE Database V5
Vendor/Project: Themekraft
Product: BuddyForms

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Themekraft BuddyForms buddyforms allows PHP Local File Inclusion.This issue affects BuddyForms: from n/a through <= 2.9.0.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/02/2026, 02:38:04 UTC

Technical Analysis

CVE-2025-32151 is a Local File Inclusion (LFI) vulnerability found in Themekraft's BuddyForms plugin for WordPress, affecting versions up to 2.9.0. The vulnerability arises from improper control over the filename parameter used in PHP include or require statements. This flaw allows an attacker to manipulate the input that determines which file is included, potentially enabling the inclusion of arbitrary local files on the server. Such an attack can lead to disclosure of sensitive files (e.g., configuration files, password files), or in some cases, code execution if the attacker can include files containing malicious PHP code. The vulnerability is categorized as an 'Improper Control of Filename for Include/Require Statement in PHP Program,' commonly referred to as a PHP Remote File Inclusion or Local File Inclusion vulnerability. Although no public exploits have been reported, the vulnerability is publicly disclosed and assigned CVE-2025-32151. The lack of a CVSS score indicates that the vulnerability is newly published and not yet fully assessed. The vulnerability affects the BuddyForms plugin, which is used to create forms in WordPress environments, potentially exposing websites that rely on this plugin to compromise. The vulnerability's exploitation depends on the ability to control the filename parameter, which may be possible through crafted HTTP requests or form inputs. The vulnerability does not explicitly require authentication, but this depends on the plugin's configuration and access controls. The vulnerability's impact includes unauthorized disclosure of files, potential code execution, and full compromise of the affected web server. Themekraft has not yet published a patch or mitigation guidance at the time of this report.

Potential Impact

The impact of CVE-2025-32151 is significant for organizations using the BuddyForms plugin on WordPress sites. Successful exploitation can lead to unauthorized disclosure of sensitive server files, including configuration files, database credentials, and other critical information, which can facilitate further attacks. In some scenarios, attackers may achieve remote code execution by including files containing malicious PHP code, leading to full server compromise. This can result in data breaches, defacement, malware deployment, or use of the compromised server as a pivot point for lateral movement within an organization's network. The vulnerability affects the confidentiality and integrity of affected systems and can also impact availability if attackers disrupt services or deploy ransomware. Given WordPress's widespread use globally and BuddyForms' role in form management, many websites, including e-commerce, government, and enterprise portals, could be at risk. The absence of known exploits in the wild currently limits immediate widespread impact, but the public disclosure increases the risk of exploitation attempts. Organizations that do not promptly address this vulnerability may face increased risk of targeted attacks, data loss, and reputational damage.

Mitigation Recommendations

To mitigate CVE-2025-32151, organizations should immediately verify if their WordPress installations use the BuddyForms plugin version 2.9.0 or earlier. If so, they should monitor Themekraft's official channels for patches or updates addressing this vulnerability and apply them as soon as they become available. In the interim, organizations can implement the following specific measures: 1) Restrict access to the BuddyForms plugin's functionality by enforcing strict authentication and authorization controls to limit who can interact with form inputs that may influence file inclusion parameters. 2) Employ Web Application Firewalls (WAFs) with custom rules to detect and block suspicious requests attempting to manipulate file inclusion parameters, such as those containing directory traversal sequences or unexpected file extensions. 3) Conduct code reviews or audits of the BuddyForms plugin files to identify and harden the vulnerable include/require statements by implementing whitelist validation of filenames or using safer coding practices that avoid dynamic file inclusion based on user input. 4) Limit the web server's file system permissions to prevent the web application from accessing sensitive files outside of its intended directories, reducing the impact of potential LFI exploitation. 5) Monitor web server logs for unusual access patterns or errors related to file inclusion attempts. 6) Consider temporarily disabling or replacing BuddyForms with alternative plugins until a secure version is released. These targeted mitigations go beyond generic advice by focusing on access control, input validation, and monitoring specific to the nature of this vulnerability.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Patchstack
Date Reserved
2025-04-04T10:00:50.063Z
Cvss Version
null
State
PUBLISHED

Threat ID: 69cd73a9e6bfc5ba1def3291

Added to database: 4/1/2026, 7:36:09 PM

Last enriched: 4/2/2026, 2:38:04 AM

Last updated: 4/6/2026, 11:30:42 AM

Views: 5

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 for AI refresh and higher limits.

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

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses