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-32957: CWE-434: Unrestricted Upload of File with Dangerous Type in baserproject basercms

0
High
VulnerabilityCVE-2025-32957cvecve-2025-32957cwe-434
Published: Tue Mar 31 2026 (03/31/2026, 00:43:48 UTC)
Source: CVE Database V5
Vendor/Project: baserproject
Product: basercms

Description

CVE-2025-32957 is a high-severity vulnerability in baserCMS versions prior to 5. 2. 3 that allows arbitrary code execution via unrestricted upload of malicious PHP files within a ZIP archive. The restore function accepts a ZIP file, extracts it, and includes PHP files without validating filenames, enabling attackers with authenticated access to execute arbitrary PHP code. This vulnerability affects confidentiality and integrity but does not impact availability. Exploitation requires authentication but no user interaction beyond that. The issue has been patched in version 5. 2. 3. Organizations using vulnerable baserCMS versions should update immediately and restrict access to the restore functionality.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/31/2026, 01:24:48 UTC

Technical Analysis

CVE-2025-32957 is a critical vulnerability classified under CWE-434 (Unrestricted Upload of File with Dangerous Type) affecting baserCMS, a popular website development framework. In versions prior to 5.2.3, the restore function allows authenticated users to upload a ZIP archive, which the application automatically extracts. Within this archive, PHP files are included using require_once without any validation or restriction on the filename or file type. This lack of validation enables an attacker to craft a malicious PHP file inside the ZIP archive that, when included, leads to arbitrary code execution on the server. The vulnerability requires the attacker to have authenticated access to the restore function, but no further user interaction is necessary. The vulnerability impacts the confidentiality and integrity of the affected systems by allowing execution of arbitrary PHP code, potentially leading to data theft, privilege escalation, or further compromise. The vulnerability does not directly affect availability. The issue was publicly disclosed and assigned CVE-2025-32957 with a CVSS v3.1 score of 8.7 (high severity), reflecting its ease of exploitation over the network with low complexity but requiring privileges. The vulnerability has been patched in baserCMS version 5.2.3, and users are strongly advised to upgrade to this or later versions to mitigate the risk.

Potential Impact

The vulnerability allows attackers with authenticated access to execute arbitrary PHP code on the server hosting baserCMS, which can lead to full compromise of the web application environment. This could result in unauthorized data access or modification, deployment of backdoors or malware, and lateral movement within the network. Confidentiality is severely impacted as attackers can access sensitive data. Integrity is compromised due to the ability to alter application logic or data. Although availability is not directly affected, attackers could leverage the foothold to disrupt services. Organizations relying on baserCMS for website development and content management are at risk, especially if the restore function is exposed to multiple users or weak authentication controls are in place. The vulnerability's exploitation requires authentication, which somewhat limits the attack surface but does not eliminate the risk, particularly in environments with many users or weak credential management. The scope of affected systems includes all baserCMS installations running versions prior to 5.2.3 that enable the restore function. Given baserCMS's use in various countries, the impact is global but concentrated where the product is popular.

Mitigation Recommendations

1. Immediate upgrade to baserCMS version 5.2.3 or later, where the vulnerability is patched. 2. Restrict access to the restore function to only highly trusted administrators and enforce strong authentication mechanisms, such as multi-factor authentication. 3. Implement strict file upload validation and filtering at the application or web server level to block potentially dangerous file types, especially PHP files within archives. 4. Monitor and audit restore function usage logs for any suspicious activity or unauthorized uploads. 5. Employ web application firewalls (WAFs) with rules to detect and block malicious file uploads or unusual restore operations. 6. Conduct regular security assessments and penetration testing focused on file upload and restore functionalities. 7. Isolate baserCMS instances in segmented network zones to limit lateral movement if compromise occurs. 8. Educate administrators about the risks of uploading untrusted archives and enforce policies to verify archive contents before restoration.

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
GitHub_M
Date Reserved
2025-04-14T21:47:11.452Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69cb1e82e6bfc5ba1d9722a2

Added to database: 3/31/2026, 1:08:18 AM

Last enriched: 3/31/2026, 1:24:48 AM

Last updated: 3/31/2026, 4:50:54 AM

Views: 3

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