critical CVSS 9.8

CVE-2024-7950·PHP vulnerability

The WP Job Portal – A Complete Recruitment System for Company or Job Board website plugin for WordPress is vulnerable to Local File Inclusion, Arbitrary Settings Update, and User Creation in all versions up to, and including, 2.1.6 via several functions called by the 'checkFormRequest' function. This makes it possible for unauthenticated attackers to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other “safe” file types can be uploaded and included. Attackers can also update arbitrary settings and create user accounts even when registration is disabled, leading to user creation with a default role of Administrator.

Severity
critical
Software
PHP
Fixed in
2.1.7
Published
2024-09-04

Affected versions

Until: 2.1.7

Fixed in: 2.1.7

How to fix this CVE

Update the WP Job Portal plugin immediately to version 2.1.7 or later, which patches critical vulnerabilities in the 'checkFormRequest' function that allow unauthenticated attackers to execute arbitrary PHP code and create administrator accounts. If you are running PHP with this vulnerable plugin installed, disable it until the update is applied. Verify the update has been successfully installed and test basic plugin functionality before resuming normal operations.

sudo dnf update php -y

Defensia detects this vulnerability

What an exploitation attempt looks like

Sample log line indicative of exploitation attempts:

POST requests to wp-admin/admin-ajax.php with 'action=checkFormRequest' parameter combined with suspicious file inclusion paths (../ or file:// protocols) or attempts to create new user accounts via POST data with unexpected 'user_login', 'user_email', and 'user_pass' parameters

WAF mitigation (if patching is not yet possible)

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

Block POST requests to wp-admin/admin-ajax.php containing the 'checkFormRequest' action parameter unless originating from authenticated users. Implement input validation to reject requests containing path traversal sequences (../, .., file://) and enforce strict whitelist of allowed form actions.

How to check if you are affected

  1. Check installed PHP version: php -v
  2. List installed WordPress plugins: wp plugin list --allow-root (if WP-CLI is available) or manually check /wp-content/plugins/ directory for wp-job-portal folder
  3. Verify WP Job Portal version: grep 'Version:' /path/to/wp-content/plugins/wp-job-portal/wp-job-portal.php or check plugin details in WordPress admin dashboard
  4. Confirm patch: After updating, re-run the version check to ensure plugin version is 2.1.7 or higher

Indicators of compromise

  • POST /wp-admin/admin-ajax.php?action=checkFormRequest
  • wp-job-portal/includes/formhandler.php
  • wp-job-portal/includes/includer.php
  • Suspicious user creation attempts with default Administrator role from unauthenticated sources

FAQ

What is CVE-2024-7950?

CVE-2024-7950 is a critical vulnerability in the WP Job Portal WordPress plugin that allows unauthenticated attackers to include arbitrary files, execute PHP code, modify plugin settings, and create administrator user accounts without authentication.

Is CVE-2024-7950 being actively exploited?

According to CISA KEV data, CVE-2024-7950 is not currently listed as being actively exploited in the wild, though a public exploit may be developed once the vulnerability becomes more widely known.

What versions of WP Job Portal are affected by CVE-2024-7950?

All versions of WP Job Portal up to and including version 2.1.6 are vulnerable. Version 2.1.7 and later include the security patch.

How do I check if my WordPress site is vulnerable to CVE-2024-7950?

Log into your WordPress admin dashboard, navigate to Plugins, and check the version number of WP Job Portal. If it shows version 2.1.6 or earlier, your site is vulnerable. You can also use: wp plugin get wp-job-portal --field=version --allow-root

Does Defensia detect CVE-2024-7950?

Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the WP Job Portal plugin is installed on a monitored WordPress site, CVE-2024-7950 will appear in your dashboard with remediation steps.

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-7950. Free for 1 server.

Get started free