/

CVE-2014-125130

Severity:

HIGH RISK

(7.5)

Path Traversal (CWE-22) in CodeArt Google MP3 Plugin

CVE-2014-125130

Deferred

Vulnerability type

Category:

Path Traversal

CWE:

CWE-22

Impact:

Sensitive File Disclosure and Potential Site Compromise

Severity:

HIGH RISK

(7.5)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

The CodeArt Google MP3 Audio Player plugin for WordPress contains an unauthenticated path-traversal vulnerability in its download handler. A remote attacker may retrieve sensitive files by supplying a crafted path, potentially exposing database credentials and secret keys and enabling full site compromise.

Affected context

The vulnerability affects WordPress installations using the CodeArt Google MP3 Audio Player plugin through version 1.0.11. It occurs when the plugin's direct_download.php handler accepts attacker-controlled file paths without sufficiently restricting access to the intended audio files. Risk is greater when the web server process can read configuration files such as wp-config.php.

Exploit preconditions

  • Attack surface: The plugin's publicly reachable direct_download.php endpoint
  • Required access: No authentication is generally required
  • Trigger point: Processing of the file parameter
  • Why exploitation is possible: The handler may resolve traversal sequences as filesystem paths without enforcing an approved directory boundary

Why this happens

The underlying bug is improper neutralization of path elements supplied through a file-download parameter. When user-controlled input is used to construct filesystem paths without canonicalization and boundary enforcement, traversal sequences can escape the intended media directory and access other readable files. This behavior maps to CWE-22: Improper Limitation of a Pathname to a Restricted Directory, commonly called path traversal.

Potential impact

  • Sensitive WordPress configuration files may be disclosed
  • Database credentials and application secret keys could be exposed
  • Attackers may gain information useful for authentication or session forgery
  • The WordPress site could be compromised through follow-on attacks
  • Data confidentiality and site integrity may be affected

General mitigation guidance

Mitigation generally focuses on reducing filesystem access through user-controlled paths and enforcing a strict separation between public media and application configuration.

Common defensive patterns include:

  • Resolving requested paths canonically and confirming they remain within an approved directory
  • Mapping opaque download identifiers to server-side filenames instead of accepting filesystem paths
  • Allowing only expected file types and normalized filenames
  • Denying access to configuration, credential, and source files at the web-server layer
  • Running the web process with the minimum filesystem permissions required
  • Treating download parameters as untrusted input regardless of authentication status
  • Rotating exposed credentials and secrets when unauthorized file access is suspected

How teams detect issues like this

Organizations can look for this vulnerability through:

  • Static analysis rules that identify user-controlled input reaching filesystem operations
  • Code review checks for download handlers that concatenate or resolve raw path parameters
  • Tests using traversal variants against every file-serving endpoint
  • Web-server logs showing requests to download handlers with encoded or repeated parent-directory segments
  • Monitoring for unusual requests targeting configuration files or other non-media resources
  • Policy enforcement requiring canonical path checks, allowlisted storage roots, and least-privilege service accounts

Automated security review tools may help identify unsafe file path construction, but findings should be validated against deployment-specific filesystem permissions.

Sources

SourceLink
github.comgithub.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/wordpress/wp-googlemp3-lfi.yaml
patchstack.compatchstack.com/database/wordpress/plugin/google-mp3-audio-player/vulnerability/wordpress-codeart-google-mp3-player-plugin-file-disclosure-download
exploit-db.comexploit-db.com/exploits/35460
vulncheck.comvulncheck.com/advisories/codeart-google-mp3-audio-player-arbitrary-file-read-via-direct-download-php

Frequently asked

questions

Yes. The affected download endpoint may be reachable over the network, and exploitation does not generally require an authenticated WordPress account.

The attacker typically needs only network access to the WordPress site and the ability to send requests to the vulnerable plugin endpoint.

Remove or isolate the unsafe file-path handling, use server-side file identifiers, and enforce canonical path checks against a fixed allowlisted directory.

Treat all file parameters as untrusted, apply least-privilege filesystem permissions, block access to sensitive files, and include traversal-focused testing and code review checks in development and deployment processes.

Find out what's already
exploitable in your codebase.