CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2023 · Rocklobster

CVE-2023-6449
Rocklobster Contact Form 7 vulnerability

The Contact Form 7 plugin for WordPress is vulnerable to arbitrary file uploads due to insufficient file type validation in the 'validate' function and insufficient blocklisting on the 'wpcf7_antiscript_file_name' function in versions up to, and including, 5.8.3. This makes it possible for authenticated attackers with editor-level capabilities or above to upload arbitrary files on the affected site's server, but due to the htaccess configuration, remote code cannot be executed in most cases. By default, the file will be deleted from the server immediately. However, in some cases, other plugins may make it possible for the file to live on the server longer. This can make remote code execution possible when combined with another vulnerability, such as local file inclusion.

Affected products

Contact Form 7. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Rocklobster Contact Form 7 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

More vulnerabilities in Rocklobster products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.