Gamic WordPress Theme
CVE-2025-69157
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify WordPress site running Gamic ≤1.15
-
DeliverySend crafted request with traversal payload
-
ExploitTrigger unsanitized PHP include
-
InstallRead wp-config.php and secrets
-
C2Poison log or session file
-
ExecuteRe-include to execute PHP
-
ImpactFull site compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V5 - File Handling File inclusion prevention, allowlisting
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Command and Control The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The target WordPress site must have the ThemeRex Gamic theme installed and active at version 1.15 or earlier, and the vulnerable theme endpoint must be reachable over HTTP/HTTPS (no authentication is required per CVSS PR:N). The CVSS AC:H rating implies meaningful limiting factors - likely that the attacker must know or brute-force the specific parameter name and supply a payload that bypasses partial filtering, and escalation from file disclosure to code execution further requires a PHP server configuration where allow_url_include is enabled or where an attacker-controlled file (log, session, upload) exists at a predictable path. Sites that have replaced or deactivated the Gamic theme, or that enforce strict open_basedir/WAF rules against traversal sequences, are not exploitable through this vector. |
| Impact | The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/C:H/I:H/A:H, 8.1 High) describes an unauthenticated network-reachable bug with high attack complexity and full CIA impact, which is consistent with an LFI that under some configurations can yield code execution but requires non-trivial conditions (e.g., reaching an includable sink, controlling log/session content, or chaining a wrapper). EPSS data was not provided, the vulnerability is not on the CISA KEV list, and no POC reference was supplied, so real-world risk is currently driven by exposure (any internet-facing WordPress site running this theme) rather than confirmed mass exploitation. The single reference is a Patchstack advisory; no independent NVD CPE breadth, exploit code, or vendor advisory URL is provided, so some operational details (exact vulnerable parameter, patched version) must be verified directly with ThemeRex or Patchstack before relying on the assessment. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a crafted HTTP GET request to a Gamic theme endpoint with a path-traversal payload in the vulnerable parameter (for example .../../../../wp-config.php or a php:// wrapper), causing the PHP include sink to read and return the file contents. The attacker harvests database credentials and WordPress secret keys from wp-config.php, then optionally chains the LFI with log or session file poisoning to achieve code execution. No public exploit was identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 17, 2026
Local file inclusion in the ThemeRex Gamic WordPress theme versions 1.15 and earlier allows unauthenticated remote attackers to coerce the PHP application into including arbitrary files via crafted parameters. Successful exploitation can expose sensitive configuration data (including wp-config.php) and, depending on server configuration, may escalate to remote code execution through log poisoning or session-file inclusion. No public exploit identified at time of analysis, and the issue has not been listed in CISA KEV.
RemediationAI
Upstream fix available per Patchstack advisory; released patched version not independently confirmed in the supplied data, so administrators should consult the Patchstack entry at https://patchstack.com/database/wordpress/theme/gamic/vulnerability/wordpress-gamic-theme-1-15-local-file-inclusion-vulnerability and upgrade Gamic to the version above 1.15 listed there once verified with ThemeRex. Until a confirmed patched build is installed, deploy a WAF rule (Patchstack vPatch, Wordfence, or equivalent) that blocks requests containing path-traversal sequences ('../', encoded variants) or absolute paths in theme-handled query parameters, ensure php.ini has allow_url_include=Off and open_basedir restricting PHP to the WordPress directory tree (note: open_basedir can break plugins that legitimately access /tmp), and restrict read permissions on wp-config.php and log/session directories that an LFI could weaponize. If the site does not strictly need this theme, switching themes is the cleanest mitigation.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Gamic is a commercial WordPress theme distributed by ThemeRex and used to build gaming/community sites. The flaw is classified as CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program - 'PHP Remote File Inclusion'), meaning a user-controlled value reaches a PHP include/require call without sufficient sanitization or allow-listing. CPE cpe:2.3:a:themerex:gamic:*:*:*:*:*:*:*:* indicates all 1.x branches up to 1.15 are in scope. Although the CWE name references RFI, in modern PHP deployments allow_url_include is typically disabled, so the practical exploitation is local file inclusion against files already present on the web server.
Know when Gamic gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Network-reachable and unauthenticated (AV:N/PR:N/UI:N); AC:H because LFI-to-RCE requires non-default conditions; confidentiality high (file disclosure), integrity/availability only low absent confirmed RCE.
Primary rating from Vendor (Patchstack).
CVSS VectorVendor: Patchstack
DescriptionCVE.org
Unauthenticated Local File Inclusion in Gamic <= 1.15 versions.
Executive ViewAI
The ThemeRex Gamic WordPress theme (versions 1.15 and earlier) contains an unauthenticated local file inclusion vulnerability that enables remote attackers to read arbitrary server files, including wp-config.php containing database credentials and authentication secrets. Organizations using this theme face immediate risk of credential theft, data exfiltration, and potential remote code execution compromising site and database integrity.
No vendor-released patch identified at time of analysis. Interim mitigations if immediate theme removal is not feasible: (1) Block public access to wp-config.php via .htaccess (Deny from all) or Web Application Firewall rules, (2) Deploy WAF rules blocking requests containing path traversal patterns ('../') and sensitive file references ('wp-config', 'passwd'), (3) Relocate wp-config.php to directory above web root (WordPress 5.2+ compatible), (4) Enforce restrictive file permissions (600 on wp-config.php, 755 on directories), (5) Monitor web server and PHP logs for exploitation attempts, (6) Disable PHP execution in upload and temp directories via .htaccess.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Local File Inclusion vulnerabilities occur when an application accepts user-controlled input to specify which file should be loaded or executed, typically through functions like PHP's `include()`, `require()`, or `fopen()`.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB