Real3D Flipbook <= 2.8 - Directory Traversal via Uploads

2016-07-02 00:00
Mukarram Khalid

Strategic Overview

Status
Patched in 2.9
Affected Plugin
Real3D Flipbook
Affected Version
< 2.9
CVSS
4.1Medium
Weakness type
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVE
CVE pending
View all Real3D Flipbook vulnerabilities

At a glance

This record tracks a medium-severity Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in the Real3D Flipbook WordPress plugin, affecting versions < 2.9. It carries a CVSS score of 4.1 (reachable over the network; low attack complexity). The issue is fixed in version 2.9; sites on affected versions should update now. Disclosed July 2016, reported by Mukarram Khalid.

Vulnerability Overview

The Real3D Flipbook plugin for WordPress is vulnerable to Directory Traversal via uploads in versions up to, and including, 2.8. This is due to missing path validation checks. This makes it possible for authenticated attackers to upload image files into root, which could potentially lead to deletion of arbitrary files on the server.

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.

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

Reaching this weakness in Real3D Flipbook < 2.9 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 Real3D Flipbook the fix is 2.9: builds < 2.9 are affected, anything from 2.9 onward is not.

Remediation

Update to version 2.9, or a newer patched version

How does WordSec protect against this?

The attempt arrives as an ordinary request to Real3D Flipbook: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: Real3D Flipbook 2.9 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