CVE-2026-57647
Executive Summary
CVE-2026-57647 is a Local File Inclusion (LFI) vulnerability affecting the Panorama Viewer – 360 Degree Image + Video Viewer WordPress plugin, versions <= 1.6.1. This vulnerability allows an unauthenticated attacker to read arbitrary files from the server's filesystem, potentially exposing sensitive configuration files, database credentials, or source code. The vulnerability is classified as a WordPress ecosystem issue and is not related to the underlying web server software (Apache/Nginx). No official patch has been released by the vendor (Contributor) as of this analysis.
This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.
No signup required
Supply Chain & Package Security
This vulnerability exists within a WordPress plugin distributed via the official WordPress plugin repository. Users who have installed this plugin from the WordPress dashboard or via direct download are affected. The plugin is not distributed via NPM, PyPI, Go, or Ruby ecosystems. The lack of a patch increases the risk of supply chain compromise, as malicious actors could exploit this to inject backdoors or exfiltrate sensitive data from affected WordPress installations.
CVSS Breakdown & Threat Level
- CVSS Score: 7.5 (High)
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Confidentiality Impact: High
- Integrity Impact: None
- Availability Impact: None
The high confidentiality impact and low attack complexity make this a critical vulnerability for unpatched systems. An attacker can exploit this without authentication or user interaction.
Deep Dive & Mechanics
The vulnerability resides in the plugin's file inclusion mechanism, likely within a shortcode or AJAX handler that processes user-supplied file paths without proper sanitization. The plugin is designed to load 360-degree images and videos, and it likely uses PHP functions like include(), require(), or file_get_contents() with user-controlled input.
The LFI occurs when an attacker manipulates a parameter (e.g., file, path, view) to traverse directories using ../ sequences. For example, a request like:
/wp-content/plugins/panorama-viewer/view.php?file=../../../wp-config.php
could expose the WordPress configuration file containing database credentials.
The plugin fails to validate or sanitize the input, allowing path traversal. The vulnerability is unauthenticated, meaning any visitor to the site can exploit it.
Vulnerable vs. Patched Code
Vulnerable Code (<= 1.6.1):
<?php
// panorama-viewer/view.php
$file = $_GET['file'];
include($file);
?>
Patched Code (Hypothetical):
<?php
// panorama-viewer/view.php
$file = basename($_GET['file']);
$allowed_path = WP_PLUGIN_DIR . '/panorama-viewer/assets/';
$file_path = $allowed_path . $file;
if (file_exists($file_path) && strpos(realpath($file_path), realpath($allowed_path)) === 0) {
include($file_path);
} else {
wp_die('Invalid file.');
}
?>
The patched version uses basename() to strip directory traversal, restricts inclusion to a specific directory, and validates the real path to prevent symlink attacks.
Exploitation & Lab Setup
Red Team
Prerequisites:
- A WordPress installation with Panorama Viewer <= 1.6.1 active.
- Knowledge of the target's base URL.
Exploitation Steps:
- Identify the vulnerable endpoint (e.g.,
/wp-content/plugins/panorama-viewer/view.php). - Craft a request to read sensitive files:
GET /wp-content/plugins/panorama-viewer/view.php?file=../../../wp-config.php HTTP/1.1 Host: target.com - The response will contain the contents of
wp-config.php, revealing database credentials.
Automated Exploitation (using curl):
curl -s "http://target.com/wp-content/plugins/panorama-viewer/view.php?file=../../../wp-config.php"
Blue Team
Detection Steps:
- Monitor web server logs for suspicious
fileparameters containing../sequences. - Look for requests to
/wp-content/plugins/panorama-viewer/view.phpwith unusual file paths. - Check for outbound connections from the web server to unknown IPs (data exfiltration).
Hunting Query (Splunk):
index=web sourcetype=access_combined uri_path="/wp-content/plugins/panorama-viewer/view.php" uri_query=*file* | regex uri_query="\.\./"
Indicators of Compromise (IOCs)
- File Paths:
/wp-content/plugins/panorama-viewer/view.php - URL Patterns:
?file=../../../wp-config.php,?file=../../../../etc/passwd - Log Entries: HTTP 200 responses to LFI payloads with file contents in the body.
- Network Traffic: Outbound connections from the web server to attacker-controlled IPs (if data exfiltration occurs).
Detection Engineering
YARA Rule
rule CVE_2026_57647_LFI {
meta:
description = "Detects LFI attempts against Panorama Viewer plugin"
author = "Valters IT"
date = "2026-01-01"
reference = "CVE-2026-57647"
strings:
$lfi_pattern = /file=\.\.\/\.\.\/\.\.\//
$plugin_path = "/wp-content/plugins/panorama-viewer/view.php"
condition:
$plugin_path and $lfi_pattern
}
Sigma Rule
title: CVE-2026-57647 Panorama Viewer LFI
id: 12345678-1234-1234-1234-123456789abc
status: experimental
description: Detects LFI attempts against Panorama Viewer WordPress plugin
author: Valters IT
date: 2026/01/01
logsource:
category: webserver
product: apache
detection:
selection:
cs-uri-query|contains: "file=../../../"
cs-uri-stem|contains: "/wp-content/plugins/panorama-viewer/view.php"
condition: selection
falsepositives:
- Legitimate use of the plugin with valid file paths
level: high
Suricata Rule
alert http any any -> any any (msg:"CVE-2026-57647 Panorama Viewer LFI Attempt"; flow:to_server,established; content:"/wp-content/plugins/panorama-viewer/view.php"; http_uri; content:"file="; http_uri; pcre:"/file=\.\.\//"; classtype:attempted-recon; sid:1000001; rev:1;)
Remediation & Mitigation
Immediate Actions:
- Disable the plugin until a patch is released.
- Implement a Web Application Firewall (WAF) rule to block requests containing
file=../in the query string. - Restrict file permissions on sensitive files (e.g.,
wp-config.phpshould be readable only by the web server user).
Long-term Fix:
- The vendor must release a patched version that sanitizes file paths and restricts inclusion to a whitelist of allowed files.
- Users should monitor the WordPress plugin repository for updates.
Workaround:
- Add the following
.htaccessrule to block LFI attempts:
RewriteEngine On
RewriteCond %{QUERY_STRING} file=\.\./ [NC]
RewriteRule ^wp-content/plugins/panorama-viewer/view\.php - [F,L]
Valters IT