CVE-2024-10898
Krishaweb Contact Form 7 Email Add On vulnerability
The Contact Form 7 Email Add on plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 1.9 via the cf7_email_add_on_add_admin_template() function. This makes it possible for authenticated attackers, with Contributor-level access and above, to include and execute arbitrary PHP 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 php files can be uploaded and included.
Affected products
Contact Form 7 Email Add On. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Krishaweb Contact Form 7 Email Add On runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- www.wordfence.com/threat-intel/vulnerabilities/id/d82efaa3-ea61-476c-ad1a-60585450c63a?sou · Third Party Advisory
- plugins.trac.wordpress.org/browser/cf7-email-add-on/trunk/include/class-cf7-email.php#L110
- plugins.trac.wordpress.org/browser/cf7-email-add-on/tags/1.9/include/class-cf7-email.php#L
- plugins.trac.wordpress.org/changeset/3290456/
- nvd.nist.gov/vuln/detail/CVE-2024-10898
- cve.org/CVERecord?id=CVE-2024-10898
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.