WordPress security changelog
HIGH CVE-2021-38346 Modified

Brizy Page Builder: Filesystem traversal

Brizy Page Builder is affected by filesystem traversal. Exposure depends on how the affected operation is made reachable by the site. A crafted path can escape the intended directory and reach files or directories elsewhere on the server.

CVE / CNA score 8.8 CVSS 3.1 · security@wordfence.com
NVD score 6.5 CVSS 2.0 · nvd@nist.gov
Component
Brizy Page Builder
Plugin slug
brizy-page-builder
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Oct 14, 2021
Weakness
CWE-79 — Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CWE-22 — Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CWE-434 — Unrestricted Upload of File with Dangerous Type

This CVE was published Oct 14, 2021 and is one of 3 known issues for this plugin.

Update, patch or deactivate.

Update Brizy Page Builder to a release outside the affected range, or disable and remove it until a fixed version is available.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical description

The Brizy Page Builder plugin <= 2.3.11 for WordPress allowed authenticated users to upload executable files to a location of their choice using the brizy_create_block_screenshot AJAX action. The file would be named using the id parameter, which could be prepended with "../" to perform directory traversal, and the file contents were populated via the ibsf parameter, which would be base64-decoded and written to the file. While the plugin added a .jpg extension to all uploaded filenames, a double extension attack was still possible, e.g. a file named shell.php would be saved as shell.php.jpg, and would be executable on a number of common configurations.

CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

NVD vector: AV:N/AC:L/Au:S/C:P/I:P/A:P

Primary and upstream sources