WordPress Plugin Vulnerabilities

ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce < 1.17.9 - Unauthenticated Arbitrary File Upload via CRM Email Connect IMAP Attachment

Description

The ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce plugin for WordPress is vulnerable to Unrestricted File Type Upload in all versions up to, and including, 1.17.8 via the save_attachments() function. This is due to missing file extension validation and missing path normalization when CRM Email Connect processes inbound IMAP email attachments. This makes it possible for unauthenticated attackers to send a crafted email to the site's configured inbound mailbox with a forged References header matching the plugin's expected pattern and an attachment filename such as `../helper.php`, causing the cron-based IMAP sync job to write attacker-controlled PHP outside of the .htaccess-protected `crm-attachments` directory and into `wp-content/uploads/`. On configurations where PHP executes in uploads, this can lead to remote code execution. Exploitation requires the CRM module and IMAP Email Connect feature to be enabled and configured.

Affects Plugins

Fixed in 1.17.9

References

Miscellaneous

Original Researcher
Talal Nasraddeen
Verified
No

Timeline

Publicly Published
2026-08-25 (about 26 days ago)
Added
2026-08-25 (about 26 days ago)
Last Updated
2026-09-18 (about 2 days ago)

Other