Content Egg <= 11.3.0 - Authenticated (Author+) Arbitrary File Deletion
Description
The Content Egg – Affiliate Product Importer & Price Comparison plugin for WordPress is vulnerable to Arbitrary File Deletion via Path Traversal in versions up to and including 11.3.0. This is due to insufficient validation of the 'img_file' field within the cegg_data post metadata: the value passes only through wp_strip_all_tags() (which does not strip path traversal sequences), is stored directly in post meta, and is later concatenated without normalization into a filesystem path in getFullImgPath() before being passed to PHP's unlink(). This makes it possible for authenticated attackers, with author-level access and above, to delete arbitrary files on the affected site's server which may make remote code execution possible.
Affected products
1- Range: <=11.3.0
Patches
Vulnerability mechanics
References
10- plugins.trac.wordpress.org/browser/content-egg/tags/11.2.0/application/admin/EggMetabox.phpmitre
- plugins.trac.wordpress.org/browser/content-egg/tags/11.2.0/application/components/ContentManager.phpmitre
- plugins.trac.wordpress.org/browser/content-egg/tags/11.2.0/application/components/ContentManager.phpmitre
- plugins.trac.wordpress.org/browser/content-egg/tags/11.2.0/application/helpers/ImageHelper.phpmitre
- plugins.trac.wordpress.org/browser/content-egg/tags/11.3.0/application/admin/EggMetabox.phpmitre
- plugins.trac.wordpress.org/browser/content-egg/tags/11.3.0/application/components/ContentManager.phpmitre
- plugins.trac.wordpress.org/browser/content-egg/tags/11.3.0/application/components/ContentManager.phpmitre
- plugins.trac.wordpress.org/browser/content-egg/tags/11.3.0/application/helpers/ImageHelper.phpmitre
- plugins.trac.wordpress.org/changesetmitre
- www.wordfence.com/threat-intel/vulnerabilities/id/bc1600b9-b590-47ca-b2d9-d521381da541mitre
News mentions
0No linked articles in our index yet.