My Calendar <= 2.3.29 - Path Traversal to Remote Code Execution

2015-05-15 00:00
Joost de Valk

Strategic Overview

Status
Patched in 2.3.30
Affected Version<= 2.3.29
CVSS9.8Critical
CVEN/A
View all My Calendar – Accessible Event Manager vulnerabilities

Vulnerability Overview

The My Calendar plugin for WordPress is vulnerable to Path Traversal in versions up to, and including, 2.3.29 via the 'edit_my_calendar_styles' function in the 'my-calendar-styles.php' file. This allows unauthenticated attackers to overwrite the contents of all files the vulnerable service has access to, including adding executable PHP to PHP files.

Technical Analysis

REMEDIATION: Update to version 2.3.30, or a newer patched version --- IDENTIFIER: CWE-22 (Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

External References

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