BP Group Documents <= 1.2.1 - Path Traversal

2013-10-04 00:00
Mallory Adams

Strategic Overview

Status
Patched in 1.2.2
Affected Plugin
BP Group Documents
Affected Version
<= 1.2.1
CVSS
5.4Medium
Weakness type
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVE
CVE pending
View all BP Group Documents vulnerabilities

At a glance

This record tracks a medium-severity Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in the BP Group Documents WordPress plugin, affecting versions <= 1.2.1. It carries a CVSS score of 5.4 (reachable over the network; low attack complexity). Exploitation requires no authentication. The issue is fixed in version 1.2.2; sites on affected versions should update now. Disclosed October 2013, reported by Mallory Adams.

Vulnerability Overview

The Group Documents plugin for WordPress is vulnerable to Path Traversal in versions up to, and including, 1.2.1 via the bp-group-documents-settings.php file. This allows unauthenticated attackers to change the location of any file the compromised user has access to in the upload directories.

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 privileges on the target site.

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Reaching this weakness in BP Group Documents <= 1.2.1 takes a caller who can reach the endpoint. Path traversal happens when user-controlled text is used to build a filesystem path without being constrained to an intended directory, so sequences like ../ walk the resolved path somewhere else.

Depending on the operation, it means reading files outside the intended folder — wp-config.php being the usual target — or writing to and deleting paths the web server can touch. For BP Group Documents the fix is 1.2.2: builds <= 1.2.1 are affected, anything from 1.2.2 onward is not.

Remediation

Update to version 1.2.2, or a newer patched version

How does WordSec protect against this?

The attempt arrives as an ordinary request to BP Group Documents: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: BP Group Documents 1.2.2 closes this, and updating the plugin is the step that ends it.

  • Firewall
  • Alerts

External References

Related records

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