CVE-2024-0380
Published: 05 February 2024
Summary
CVE-2024-0380 is a medium-severity Path Traversal (CWE-22) vulnerability in Bootstrapped Wp Recipe Maker. Its CVSS base score is 5.4 (Medium).
Operationally, ranked in the top 9.0% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
The WP Recipe Maker plugin for WordPress is vulnerable to directory traversal in all versions through 9.1.0. The flaw exists in shortcode handling of the "icon" attribute and stems from insufficient path validation when referencing server-side files, corresponding to CWE-22. Successful traversal permits an authenticated user to pull the contents of arbitrary SVG files into rendered output, which can subsequently be abused for cross-site scripting.
An attacker needs at minimum contributor-level access to a WordPress site running the affected plugin. By supplying a crafted shortcode, the attacker can force inclusion of SVG files located anywhere on the filesystem that the web server can read. The resulting script execution occurs in the context of other site visitors, enabling theft of session tokens or other client-side actions without requiring interaction from the victim.
References point to a fix committed in changeset 3019769 of the plugin's public icon-handling class, indicating that an updated release beyond 9.1.0 addresses the path traversal. The associated EPSS score remains low and essentially flat (current 0.0618, peak 0.0634), providing no indication of emerging exploitation interest after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-16176
Vulnerability details
The WP Recipe Maker plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 9.1.0 via the 'icon' attribute used in Shortcodes. This makes it possible for authenticated attackers, with contributor-level access and above, to…
more
include the contents of SVG files on the server, which can be leveraged for Cross-Site Scripting.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Validates pathnames and filenames to prevent traversal outside intended directories.