CVE-2022-45852

WP-FormAssembly <= 2.0.5 - Authenticated (Contributor+) Arbitrary File Read

2022-11-23 00:00
Tien Nguyen Ahn

Strategic Overview

Status
Patched in 2.0.6
Affected Plugin
WP-FormAssembly
Affected Version
<= 2.0.5
CVSS
6.5Medium
Weakness type
CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor
CVE
CVE-2022-45852
View all WP-FormAssembly vulnerabilities

At a glance

CVE-2022-45852 is a medium-severity Exposure of Sensitive Information to an Unauthorized Actor vulnerability in the WP-FormAssembly WordPress plugin, affecting versions <= 2.0.5. It carries a CVSS score of 6.5 (reachable over the network; low attack complexity; high confidentiality impact). Exploitation requires an authenticated account at Contributor level or above. The issue is fixed in version 2.0.6; sites on affected versions should update now. Disclosed November 2022, reported by Tien Nguyen Ahn.

Vulnerability Overview

The WP-FormAssembly plugin for WordPress is vulnerable to Arbitrary File Read in versions up to, and including, 2.0.5. This is due to insufficient controls on defining file paths on the fa_add() function. This makes it possible for contributor-level attackers to read the contents of any server file, including database configurations.

Technical Analysis

The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user. A successful exploit has high impact on confidentiality.

CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

WP-FormAssembly <= 2.0.5 carries this weakness at fa_add(), and reaching it takes an account at Contributor level or above. Sensitive information exposure means data the application intended to keep internal is returned to a caller who should not be able to see it.

The disclosed data — credentials, tokens, customer records or internal paths — is usually worth more as material for a follow-up attack than as an end in itself. For WP-FormAssembly the fix is 2.0.6: builds <= 2.0.5 are affected, anything from 2.0.6 onward is not.

Remediation

Update to version 2.0.6, or a newer patched version

How does WordSec protect against this?

The fix is the thing that ends this: WP-FormAssembly 2.0.6 closes this, and updating the plugin is the step that ends it.

  • Alerts

External References

Related records

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C