critical CVSS 9.8

CVE-2024-27114·PHP vulnerability

A unauthenticated Remote Code Execution (RCE) vulnerability is found in the SO Planning online planning tool. If the public view setting is enabled, a attacker can upload a PHP-file that will be available for execution for a few milliseconds before it is removed, leading to execution of code on the underlying system. The vulnerability has been remediated in version 1.52.02.

Severity
critical
Software
PHP
Fixed in
1.52.02
Published
2024-09-11

Affected versions

Until: 1.52.02

Fixed in: 1.52.02

How to fix this CVE

Upgrade PHP to version 1.52.02 or later immediately to patch this critical remote code execution vulnerability in SO Planning. The vulnerability allows unauthenticated attackers to execute arbitrary PHP code when the public view setting is enabled. Apply the patch as soon as possible and verify the fix is in place before re-enabling public access to your planning tool.

sudo dnf update php

Defensia detects this vulnerability

What an exploitation attempt looks like

Sample log line indicative of exploitation attempts:

POST /upload (or similar file upload endpoint) followed by GET request to /tmp or /var/tmp for newly created .php files within milliseconds; look for patterns like `POST.*\.php.*201|202` responses succeeded by rapid `GET.*\.php.*404` indicating file deletion after execution.

WAF mitigation (if patching is not yet possible)

Add this rule to your WAF to block exploitation attempts while you schedule the patch.

Implement WAF rules to restrict file uploads to whitelisted extensions (block .php, .phtml, .php5 uploads), enforce Content-Type validation, and add rate-limiting to prevent rapid upload/access attempts. Additionally, disable PHP execution in temporary upload directories via `.htaccess` (AddType text/plain .php) or Nginx configuration.

How to check if you are affected

  1. Step 1: Check your installed PHP version by running `php -v` or `php -i | grep 'PHP Version'` on the command line.
  2. Step 2: Verify if SO Planning is installed and check its version in the application settings or configuration file (typically in the installation directory's version.php or config.php).
  3. Step 3: Review web server access logs (Apache: /var/log/apache2/access.log, Nginx: /var/log/nginx/access.log) for POST requests to file upload endpoints with suspicious .php filenames or rapid upload/delete patterns.
  4. Step 4: Confirm the fix by re-running `php -v` after the update and verify that SO Planning version 1.52.02 or later is deployed by checking the application version indicator.

FAQ

What is CVE-2024-27114?

CVE-2024-27114 is a critical unauthenticated remote code execution vulnerability in SO Planning that exists when public view mode is enabled. Attackers can exploit a race condition in the file upload mechanism to execute arbitrary PHP code on the server.

Is CVE-2024-27114 being actively exploited?

According to CISA records, CVE-2024-27114 is not currently listed on the Known Exploited Vulnerabilities (KEV) catalog, and no public exploits are available. However, the vulnerability's critical severity and ease of exploitation make proactive patching essential.

What versions of PHP are affected by CVE-2024-27114?

All versions of SO Planning prior to 1.52.02 are vulnerable. The vulnerability affects any installation where the public view setting is enabled, regardless of PHP version.

How do I check if my server is vulnerable to CVE-2024-27114?

Run `php -v` to confirm PHP is installed, then check your SO Planning version in the application settings. If the version is below 1.52.02 and public view mode is enabled, your system is vulnerable.

Does Defensia detect CVE-2024-27114?

Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If PHP or SO Planning is detected on a monitored server, CVE-2024-27114 will appear in your dashboard with remediation steps and priority alerts.

Related PHP CVEs

CVE-2025-25174CVSS 10Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in beeteam368 BeeTeam368 Extensions beeteam368-extensions allows PHP Local File Inclusion.This issue affects BeeTeam368 Extensions: from n/a through <= 1.9.4.
CVE-2024-5932CVSS 10The GiveWP – Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 3.14.1 via deserialization of untrusted input from the 'give_title' parameter. This makes it possible for unauthenticated attackers to inject a PHP Object. The additional presence of a POP chain allows attackers to execute code remotely, and to delete arbitrary files.
CVE-2026-39337CVSS 10ChurchCRM is an open-source church management system. Prior to 7.1.0, critical pre-authentication remote code execution vulnerability in ChurchCRM's setup wizard allows unauthenticated attackers to inject arbitrary PHP code during the initial installation process, leading to complete server compromise. The "$dbPassword" variable is not sanitized. This vulnerability exists due to an incomplete fix for CVE-2025-62521. This vulnerability is fixed in 7.1.0.
CVE-2025-62521CVSS 10ChurchCRM is an open-source church management system. Prior to version 5.21.0, a pre-authentication remote code execution vulnerability in ChurchCRM's setup wizard allows unauthenticated attackers to inject arbitrary PHP code during the initial installation process, leading to complete server compromise. The vulnerability exists in `setup/routes/setup.php` where user input from the setup form is directly concatenated into a PHP configuration template without any validation or sanitization. Any parameter in the setup form can be used to inject PHP code that gets written to `Include/Config.php`, which is then executed on every page load. This is more severe than typical authenticated RCE vulnerabilities because it requires no credentials and affects the installation process that administrators must complete. Version 5.21.0 patches the issue.
CVE-2025-46348CVSS 10YesWiki is a wiki system written in PHP. Prior to version 4.5.4, the request to commence a site backup can be performed and downloaded without authentication. The archives are created with a predictable filename, so a malicious user could create and download an archive without being authenticated. This could result in a malicious attacker making numerous requests to create archives and fill up the file system, or by downloading the archive which contains sensitive site information. This issue has been patched in version 4.5.4.

References

Track CVEs across your fleet automatically

Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-27114. Free for 1 server.

Get started free