File Gallery < 1.7.9.2 - Remote Code Execution

Improper Control of Generation of Code ('Code Injection')
CVE CVE-2014-2558
CVSS High (7.2)
Publicly Published April 24, 2014
Last Updated January 22, 2024
Researcher Tom Adams
Description

The File Gallery plugin before 1.7.9.2 for WordPress does not properly escape strings, which allows remote administrators to execute arbitrary PHP code via a \' (backslash quote) in the setting fields to /wp-admin/options-media.php, related to the create_function function.

References

1 affected software package

Software Type Plugin
Software Slug file-gallery (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 1.7.9.2
Patched Version
  • 1.7.9.2
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.