Envato Elements <= 2.0.10 & Template Kit <= 1.0.13 - Authenticated (Contributor+) Arbitrary File Upload

8.8
Unrestricted Upload of File with Dangerous Type
CVE CVE-2021-4330
CVSS 8.8 (High)
Publicly Published October 21, 2021
Last Updated March 7, 2023
Researcher Chloe Chamberland - Wordfence

Description

The Envato Elements & Download and Template Kit – Import plugins for WordPress are vulnerable to arbitrary file uploads due to insufficient validation of file type upon extracting uploaded Zip files in the installFreeTemplateKit and uploadTemplateKitZipFile functions. This makes it possible for attackers with contributor-lever permissions and above to upload arbitrary files and potentially gain remote code execution in versions up to and including 1.0.13 of Template Kit – Import and versions up to and including 2.0.10 of Envato Elements & Download.

References

Share

Vulnerability Details for Template Kit – Import

Software Type Plugin
Software Slug template-kit-import (view on wordpress.org)
Patched? Yes
Remediation Update to version 1.0.14, or a newer patched version
Affected Version
  • <= 1.0.13
Patched Version
  • 1.0.14

1 other affected software package

Software Type Plugin
Software Slug envato-elements (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.0.11, or a newer patched version
Affected Version
  • <= 2.0.10
Patched Version
  • 2.0.11

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation