CVE-2024-5630·PHP vulnerability
The Insert or Embed Articulate Content into WordPress plugin before 4.3000000024 does not prevent authors from uploading arbitrary files to the site, which may allow them to upload PHP shells on affected sites.
- Severity
- high
- Software
- PHP
- Fixed in
- 4.3000000024
- Published
- 2024-07-15
Affected versions
Until: 4.3000000024
Fixed in: 4.3000000024
How to fix this CVE
Update the Insert or Embed Articulate Content plugin to version 4.3000000024 or later to prevent unauthorized file uploads by authenticated users. This vulnerability allows authors with upload permissions to bypass file type validation and deploy malicious PHP files, potentially leading to remote code execution. Apply the update immediately, especially on public-facing WordPress installations where multiple user accounts exist.
sudo dnf update phpDefensia detects this vulnerability
What an exploitation attempt looks like
Sample log line indicative of exploitation attempts:
POST /wp-admin/upload.php with Content-Disposition header containing .php extension or PHP MIME type in multipart form data, originating from authenticated user sessionWAF 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 with PHP extensions (.php, .php3, .php4, .php5, .phtml, .pht) in the wp-content/uploads/ directory and log all upload attempts for suspicious file types. Block or challenge requests where Content-Type claims one type (e.g., image/jpeg) but filename contains executable extensions.How to check if you are affected
- Step 1: Check the installed version of the Articulate plugin by logging into WordPress admin, navigating to Plugins, and locating 'Insert or Embed Articulate Content' — compare the listed version against 4.3000000024
- Step 2: Query the WordPress database with: `mysql -u wordpress_user -p wordpress_db -e "SELECT option_value FROM wp_options WHERE option_name='active_plugins';"` to confirm the plugin is active
- Step 3: Search web server logs for suspicious file uploads to wp-content/uploads/ directory: `grep -r '\.php' /var/www/html/wp-content/uploads/ | grep -v '\.php\.' | head -20`
- Step 4: Verify the plugin update by checking the plugin version again in WordPress admin or via database: `mysql -u wordpress_user -p wordpress_db -e "SELECT meta_value FROM wp_options WHERE option_name LIKE '%articulate%';"` after applying the patch
Indicators of compromise
- POST requests to /wp-admin/upload.php with .php file extensions
- Suspicious PHP files in wp-content/uploads/ directory with creation timestamps correlating to authentication logs
- HTTP 200 responses following multipart file uploads with executable extensions
FAQ
What is CVE-2024-5630?
CVE-2024-5630 is a file upload vulnerability in the Insert or Embed Articulate Content WordPress plugin that allows authenticated users with author-level permissions to bypass file type validation and upload arbitrary files, including PHP shells, leading to remote code execution on the server.
Is CVE-2024-5630 being actively exploited?
No, according to CISA KEV data, CVE-2024-5630 is not currently being actively exploited in the wild. However, no public exploits are required since the vulnerability is straightforward to exploit by any authenticated user.
What versions of the Articulate plugin are affected by CVE-2024-5630?
All versions of the Insert or Embed Articulate Content plugin prior to version 4.3000000024 are vulnerable. Users must upgrade to 4.3000000024 or later to remediate the issue.
How do I check if my WordPress site is vulnerable to CVE-2024-5630?
Log into your WordPress dashboard, navigate to Plugins, and check the version number of 'Insert or Embed Articulate Content'. If the version is lower than 4.3000000024, your site is vulnerable. You can also use the WP-CLI command: `wp plugin get articulate-content-iframe --field=version`
Does Defensia detect CVE-2024-5630?
Yes — Defensia's CVE advisory scanner compares installed WordPress plugin versions against the NVD database. If the Insert or Embed Articulate Content plugin is installed on a monitored server, CVE-2024-5630 will appear in your dashboard with remediation steps.
Related PHP CVEs
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-5630. Free for 1 server.
Get started free