CVE-2024-43138·PHP vulnerability
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in MagePeople Team Event Manager for WooCommerce allows PHP Local File Inclusion.This issue affects Event Manager for WooCommerce: from n/a through 4.2.1.
- Severity
- medium
- Software
- PHP
- Fixed in
- 4.2.2
- Published
- 2024-08-13
Affected versions
Until: 4.2.2
Fixed in: 4.2.2
How to fix this CVE
The MagePeople Team Event Manager plugin for WooCommerce versions up to 4.2.1 contain a path traversal vulnerability that could allow authenticated users to read arbitrary files from the server. Upgrade the plugin to version 4.2.2 or later immediately. Ensure your PHP installation and all WooCommerce dependencies are also current.
sudo dnf update phpDefensia detects this vulnerability
What an exploitation attempt looks like
Sample log line indicative of exploitation attempts:
POST|GET /wp-admin/admin-ajax.php?action=.*eventpress.*&file=\.\./|POST|GET requests containing encoded path traversal sequences (%2e%2e%2f or ../) targeting mage-eventpress plugin filesWAF mitigation (if patching is not yet possible)
Add this rule to your WAF to block exploitation attempts while you schedule the patch.
Implement input validation rules to block requests containing path traversal sequences (../, ..\ , %2e%2e%2f, %252e%252e%252f) in parameters passed to eventpress plugin handlers. Block requests to wp-admin/admin-ajax.php with action parameters matching '*eventpress*' that contain file inclusion patterns.How to check if you are affected
- Check installed PHP version: php -v
- Verify MagePeople Event Manager plugin version in wp-content/plugins/mage-eventpress/ by examining the plugin header or checking the database option 'mage_eventpress_version'
- Search web server logs for suspicious file inclusion patterns: grep -r '\.\./\|\%2e%2e%2f\|file=/.*\.php\|include=/' /var/log/apache2/access.log* /var/log/nginx/access.log*
- Confirm patch installation by verifying plugin version matches 4.2.2+ via wp-cli: wp plugin get mage-eventpress --field=version
FAQ
What is CVE-2024-43138?
CVE-2024-43138 is a path traversal vulnerability in MagePeople's Event Manager plugin for WooCommerce that permits authenticated users to perform local file inclusion attacks, potentially exposing sensitive configuration files, database credentials, and other protected data on the server.
Is CVE-2024-43138 being actively exploited?
No, there is currently no evidence of active exploitation in the wild, and no public exploits are available at this time.
What versions of the Event Manager plugin are affected by CVE-2024-43138?
All versions of MagePeople Team Event Manager up to and including version 4.2.1 are vulnerable; version 4.2.2 and later contain the fix.
How do I check if my WordPress installation is vulnerable to CVE-2024-43138?
Use wp-cli to check the plugin version: wp plugin get mage-eventpress --field=version. If the output is 4.2.1 or lower, your installation is vulnerable.
Does Defensia detect CVE-2024-43138?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the MagePeople Event Manager plugin is installed on a monitored WordPress site, CVE-2024-43138 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-43138. Free for 1 server.
Get started free