CVE-2008-5752

Page Flip Image Gallery <= 0.2.2 - Directory Traversal

2008-12-22 00:00
GolD_M

Strategic Overview

Status
Unpatched
Affected Version
<= 0.2.2
CVSS
7.5High
Weakness type
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVE
CVE-2008-5752
View all page-flip-image-gallery vulnerabilities

At a glance

CVE-2008-5752 is a high-severity Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in the page-flip-image-gallery WordPress plugin, affecting versions <= 0.2.2. It carries a CVSS score of 7.5 (reachable over the network; low attack complexity; high confidentiality impact). Exploitation requires no authentication. No fixed release has been reported yet; treat installations running this software as exposed. Disclosed December 2008, reported by GolD_M.

Vulnerability Overview

The Page Flip Image Gallery plugin for WordPress is vulnerable to Directory Traversal in versions up to, and including, 0.2.2 via the 'book_id' parameter found in the getConfig.php file when magic_quotes_gpc is disabled. This makes it possible for attackers to read the contents of arbitrary files on the server, which can contain sensitive information.

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, and no interaction from a victim user. A successful exploit has high impact on confidentiality.

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

page-flip-image-gallery <= 0.2.2 carries this weakness at book_id, and reaching it 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. No fixed build of this plugin is recorded for page-flip-image-gallery yet, so installs running <= 0.2.2 stay exposed until the vendor ships one.

Remediation

No known patch available. Please review the vulnerability's details in depth and employ mitigations based on your organization's risk tolerance. It may be best to uninstall the affected software and find a replacement.

How does WordSec protect against this?

The attempt arrives as an ordinary request to page-flip-image-gallery: WordSec's web application firewall inspects request payloads before WordPress loads them. No patched version is recorded yet, which is the case where a filtering layer matters most, because there is nothing to update to.

  • Firewall
  • Alerts

External References

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