Cowidgets – Elementor Addons <= 1.1.2 - Authenticated (Contributor+) Local File Inclusion
Strategic Overview
- Status
- Patched in 1.2.0
- Affected Plugin
- Cowidgets – Elementor Addons
- Affected Version
<= 1.1.2- CVSS
- 8.8High
- Weakness type
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CVE
CVE-2024-5179
At a glance
CVE-2024-5179 is a high-severity Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in the Cowidgets WordPress plugin, affecting versions <= 1.1.2. It carries a CVSS score of 8.8 (reachable over the network; low attack complexity; high confidentiality, integrity, availability impact). Exploitation requires an authenticated account at Contributor level or above. The issue is fixed in version 1.2.0; sites on affected versions should update now. Disclosed June 2024, reported by stealthcopter.
Vulnerability Overview
The Cowidgets – Elementor Addons plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 1.1.2 via the 'item_style' and 'style' parameters. This makes it possible for authenticated attackers, with Contributor-level access and above, 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. CVE-2024-37419 is likely a duplicate of this issue.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user. A successful exploit has high impact on confidentiality, integrity, availability — full site compromise territory.
CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Cowidgets <= 1.1.2 carries this weakness at item_style, and reaching it takes an account at Contributor level or above. Path traversal happens when user-controlled text is used to build a filesystem path without being constrained to an intended directory, so sequences like ../ walk the resolved path somewhere else.
Depending on the operation, it means reading files outside the intended folder — wp-config.php being the usual target — or writing to and deleting paths the web server can touch. For Cowidgets the fix is 1.2.0: builds <= 1.1.2 are affected, anything from 1.2.0 onward is not.
Remediation
Update to version 1.2.0, or a newer patched version
How does WordSec protect against this?
An attacker needs Contributor access first, so the firewall sees the attempt as traffic from a logged-in account: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: Cowidgets 1.2.0 closes this, and updating the plugin is the step that ends it.
- Firewall
- Alerts
External References
Related records
Other vulnerabilities in Cowidgets – Elementor Addons
- 6.4CVE-2024-53786: Cowidgets – Elementor Addons <= 1.2.0 Stored XSS
CVE-2024-53786 - 6.4CVE-2024-8960: Cowidgets – Elementor Addons <= 1.2.0 Stored XSS
CVE-2024-8960 - 6.4CVE-2024-4697: Cowidgets – Elementor Addons <= 1.1.2 Stored XSS
CVE-2024-4697 - 5.3CVE-2024-10779: Cowidgets – Elementor Addons <= 1.2.0 Post Disclosure
CVE-2024-10779
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C