CVE-2024-53739·PHP vulnerability
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Cool Plugins Cryptocurrency Widgets For Elementor cryptocurrency-widgets-for-elementor allows PHP Local File Inclusion.This issue affects Cryptocurrency Widgets For Elementor: from n/a through <= 1.6.4.
- Severity
- high
- Software
- PHP
- Fixed in
- 1.6.5
- Published
- 2024-11-30
Affected versions
Until: 1.6.5
Fixed in: 1.6.5
How to fix this CVE
Update the Cryptocurrency Widgets For Elementor plugin to version 1.6.5 or later, which resolves a local file inclusion vulnerability that could allow attackers to read sensitive files from your server. If you are running PHP directly without the plugin, ensure your PHP installation is up-to-date and review any custom include/require statements in your code to prevent similar issues.
sudo dnf update phpDefensia detects this vulnerability
What an exploitation attempt looks like
Sample log line indicative of exploitation attempts:
GET request patterns containing multiple ../ sequences or paths attempting to access /etc/passwd, /etc/shadow, or similar system files in query parameters (e.g., `?file=../../../../etc/passwd` or variations thereof)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 block requests containing path traversal sequences (../ or ..\) in query parameters and POST data; additionally, restrict access to sensitive files by denying requests that attempt to include system configuration paths like /etc/*, /proc/*, or /sys/* through the web application.How to check if you are affected
- Step 1: Check installed PHP version with `php -v` to confirm your current installation level.
- Step 2: If using the Cryptocurrency Widgets For Elementor plugin, verify the version by checking wp-content/plugins/cryptocurrency-widgets-for-elementor/readme.txt or the plugin details in wp-admin/plugins.php.
- Step 3: Search web server logs (Apache: /var/log/apache2/access.log, Nginx: /var/log/nginx/access.log) for suspicious file paths in query strings containing ../ or /etc/ patterns.
- Step 4: After updating, confirm the fix by re-running `php -v` or plugin version check to verify the new version is active; restart PHP-FPM or your web server to ensure changes take effect.
FAQ
What is CVE-2024-53739?
CVE-2024-53739 is a local file inclusion vulnerability in the Cryptocurrency Widgets For Elementor WordPress plugin (versions up to 1.6.4) that allows attackers to manipulate file paths in PHP include/require statements to read arbitrary files from the server filesystem.
Is CVE-2024-53739 being actively exploited?
No, this vulnerability is not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits have been released as of this advisory.
What versions of the Cryptocurrency Widgets For Elementor plugin are affected by CVE-2024-53739?
All versions from the beginning through and including version 1.6.4 are vulnerable; version 1.6.5 and later contain the fix.
How do I check if my WordPress site is vulnerable to CVE-2024-53739?
Log into your WordPress admin dashboard, navigate to Plugins, and locate Cryptocurrency Widgets For Elementor; if the version shown is 1.6.4 or earlier, your site is vulnerable. You can also check the file wp-content/plugins/cryptocurrency-widgets-for-elementor/readme.txt directly.
Does Defensia detect CVE-2024-53739?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Cryptocurrency Widgets For Elementor plugin is installed on a monitored WordPress server, CVE-2024-53739 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-53739. Free for 1 server.
Get started free