Content Egg <= 11.3.0 - Authenticated (Author+) Arbitrary File Deletion
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- keywordrush Content Egg – Affiliate Product Importer & Price Comparison
through 11.3.0
References 10
plugins.trac.wordpress.org
- browser/content-egg/tags/11.3.0/application/helpers/ImageHelper.php#L149
- browser/content-egg/tags/11.3.0/application/components/ContentManager.php#L161
- browser/content-egg/tags/11.3.0/application/admin/EggMetabox.php#L372
- browser/content-egg/tags/11.3.0/application/components/ContentManager.php#L200
- browser/content-egg/tags/11.2.0/application/helpers/ImageHelper.php#L149
- browser/content-egg/tags/11.2.0/application/components/ContentManager.php#L161
- browser/content-egg/tags/11.2.0/application/admin/EggMetabox.php#L372
- browser/content-egg/tags/11.2.0/application/components/ContentManager.php#L200
- changeset?reponame=&new=3610612%40content-egg%2Ftrunk%2Fapplication%2Fhelpers%2FImageHelper.php&old=3514579%40content-egg%2Ftrunk%2Fapplication%2Fhelpers%2FImageHelper.php