☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Unfoldwp logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 8.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N 🐛 CWE-98
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-49277

CVE-2025-49277 Local File Inclusion in Unfoldwp
📅 PUBLISHED: 2025-06-09 16:15 UTC 🔄 UPDATED: 2026-08-12 14:52 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.55%
👁️
0.55% probability
13.7× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
Country: Estonia License: Freemium
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 8.1
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: N User Interaction None
S: U Scope Unchanged
C: H Confidentiality High
I: N Integrity None
A: N Availability None
8.1
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-49277 is a critical PHP Local File Inclusion (LFI) vulnerability discovered in the Blogprise WordPress theme, developed by Unfoldwp. The vulnerability stems from improper control of a filename used in a PHP include/require statement, allowing an unauthenticated attacker to include arbitrary local files from the server. This can lead to sensitive information disclosure, such as reading the wp-config.php file containing database credentials, or potentially achieving remote code execution if combined with file upload capabilities. The vulnerability affects all versions of Blogprise up to and including 1.0.9. As of this report, no official patch has been released, and no public proof-of-concept (PoC) code is available.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

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.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability is specific to the WordPress ecosystem and affects the Blogprise theme. Since it is a WordPress theme, it is distributed through the official WordPress theme repository and potentially third-party marketplaces. Users who have installed this theme are at risk. The lack of a patch means that users must either manually apply a fix or remove the theme entirely. The vulnerability does not affect the core WordPress software or other themes/plugins.

CVSS Breakdown & Threat Level

CVSS Score: 8.1 (High)

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

  • Attack Vector (AV): Network (N) - The vulnerability can be exploited remotely over the network.
  • Attack Complexity (AC): Low (L) - No special conditions or complex attack sequences are required.
  • Privileges Required (PR): None (N) - No authentication is needed to exploit the vulnerability.
  • User Interaction (UI): None (N) - The victim does not need to perform any action.
  • Scope (S): Unchanged (U) - The vulnerable component and the affected resource are the same.
  • Confidentiality (C): High (H) - An attacker can read sensitive files, including configuration files with credentials.
  • Integrity (I): None (N) - The vulnerability does not allow modification of data.
  • Availability (A): None (N) - The vulnerability does not affect system availability.

Threat Level: High. The low attack complexity and lack of required privileges make this a serious threat for any site using the vulnerable theme.

Deep Dive & Mechanics

The vulnerability is a classic PHP Local File Inclusion (LFI) issue. It occurs when a PHP application uses user-supplied input to construct a file path for an include() or require() statement without proper sanitization or validation.

In the context of the Blogprise theme, the vulnerable code likely exists in a function that loads template parts or other files based on a parameter passed via a GET or POST request. For example, a URL like:

http://target.com/?template=../../../../etc/passwd

Could cause the theme to include the /etc/passwd file, displaying its contents to the attacker.

The core issue is the lack of input validation. The application does not check if the provided filename is within an allowed directory or if it contains path traversal sequences (e.g., ../). This allows an attacker to navigate the file system and include arbitrary files.

Key Mechanics:

  1. User Input: The attacker provides a filename via a request parameter (e.g., template, file, page).
  2. Path Construction: The vulnerable code concatenates this input with a base path (e.g., include($base_path . $_GET['template'] . '.php');).
  3. File Inclusion: PHP includes the resulting path, executing any PHP code within the file or displaying its contents if it's a non-PHP file.
  4. Exploitation: The attacker uses path traversal (../) to escape the intended directory and include sensitive files like /etc/passwd, wp-config.php, or log files.

Vulnerable vs. Patched Code

Since no official patch is available, the following is a hypothetical example of the vulnerable code and a potential fix.

Vulnerable Code (Hypothetical):

<?php
// In a theme file, e.g., template-loader.php
$template = $_GET['template'];
include( get_template_directory() . '/templates/' . $template . '.php' );
?>

Patched Code (Hypothetical):

<?php
// In a theme file, e.g., template-loader.php
$allowed_templates = array('home', 'single', 'page', 'archive');
$template = $_GET['template'];
if ( in_array( $template, $allowed_templates ) ) {
    include( get_template_directory() . '/templates/' . $template . '.php' );
} else {
    // Handle error or load default template
    include( get_template_directory() . '/templates/default.php' );
}
?>

The patched code uses a whitelist of allowed template names, preventing any arbitrary file inclusion. Alternatively, the fix could involve:

  • Stripping path traversal characters (../, ..\\).
  • Using realpath() to resolve the absolute path and checking if it starts with the allowed base directory.
  • Using basename() to only allow the filename without directory components.

Exploitation & Lab Setup

Red Team (Attacker) Perspective

Prerequisites:

  • A WordPress site running Blogprise theme version <= 1.0.9.
  • No authentication required.

Exploitation Steps:

  1. Identify the vulnerable parameter: Look for parameters in the URL that might be used to load templates or files. Common parameters include template, file, page, include, load, etc.
  2. Test for LFI: Send a request with a path traversal payload to read a known file.
    GET /?template=../../../../../../etc/passwd HTTP/1.1
    Host: target.com
    
  3. Read sensitive files: If successful, the contents of /etc/passwd will be displayed. For WordPress, try:
    GET /?template=../../../../../../wp-config.php HTTP/1.1
    
    Note: PHP files will be executed, not displayed. To read PHP files, you may need to use PHP filters (e.g., php://filter/convert.base64-encode/resource=wp-config).
  4. Achieve RCE (if possible): If you can include a file you control (e.g., via log poisoning or file upload), you can execute arbitrary PHP code.

Lab Setup:

  • Install a local WordPress instance with the Blogprise theme.
  • Use a tool like Burp Suite or curl to send crafted requests.
  • Monitor the response for included file contents.

Blue Team (Defender) Perspective

Detection:

  • Monitor web server logs for requests containing ../, ..\\, or php:// in query parameters.
  • Look for requests to the theme's template loader with unusual parameters.
  • Use the detection rules provided below.

Mitigation:

  • Immediately remove or disable the Blogprise theme until a patch is available.
  • Implement a Web Application Firewall (WAF) rule to block path traversal attempts.
  • Apply virtual patching by modifying the theme's code to whitelist allowed templates.

Indicators of Compromise (IOCs)

Network IOCs:

  • HTTP requests containing ../ or ..\\ in query parameters.
  • Requests to /?template=, /?file=, /?page=, or similar parameters.
  • Responses containing contents of /etc/passwd, wp-config.php, or other sensitive files.

File System IOCs:

  • Unexpected files in the web root or temporary directories.
  • Modified theme files (if attacker achieved RCE and uploaded a webshell).

Log IOCs:

  • Web server access logs showing path traversal patterns.
  • PHP error logs indicating failed include attempts or warnings.

Detection Engineering

YARA Rule

rule CVE_2025_49277_LFI_Detection {
    meta:
        description = "Detects path traversal attempts targeting Blogprise theme LFI"
        author = "Valters IT"
        date = "2025-04-10"
        cve = "CVE-2025-49277"
    strings:
        $path_traversal = /(\.\.\/|\.\.\\){2,}/
        $sensitive_file = /(etc\/passwd|wp-config\.php|\.env|config\.php)/
        $vulnerable_param = /(\?|&)(template|file|page|include|load)=/
    condition:
        any of ($path_traversal) and any of ($sensitive_file) and any of ($vulnerable_param)
}

Sigma Rule

title: CVE-2025-49277 - Blogprise Theme LFI Attempt
id: 8a4b3c2d-1e5f-4a7b-9c8d-0e1f2a3b4c5d
status: experimental
description: Detects HTTP requests attempting to exploit LFI in Blogprise theme
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
    service: access
detection:
    selection:
        cs-method: 'GET'
        cs-uri-query|contains: 
            - '..'
            - 'php://'
            - 'file://'
        cs-uri-query|re: '(template|file|page|include|load)='
    condition: selection
falsepositives:
    - Legitimate use of path traversal in other applications (rare)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-49277 - Blogprise Theme LFI Attempt"; flow:to_server,established; content:"GET"; http_method; content:".."; http_uri; content:"template="; http_uri; pcre:"/(\.\.\/|\.\.\\){2,}/Ri"; classtype:attempted-recon; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the Blogprise theme: Switch to a default WordPress theme (e.g., Twenty Twenty-Four) or another trusted theme.
  2. Remove the theme: Delete the Blogprise theme from the /wp-content/themes/ directory to prevent accidental reactivation.
  3. Scan for compromise: Check for any signs of exploitation, such as modified files or unexpected user accounts.

Long-term Solutions:

  • Apply a patch: If the vendor releases a patch, apply it immediately. Monitor the WordPress theme repository for updates.
  • Implement WAF rules: Use a Web Application Firewall to block path traversal patterns.
  • Code review: If you have access to the theme source code, manually fix the vulnerability by implementing a whitelist of allowed files.
  • Monitor logs: Regularly review web server logs for suspicious activity.

Workaround (if theme cannot be removed):

  • Modify the vulnerable theme file to add input validation. For example, use basename() to strip directory components and check against a whitelist.

Valters IT
Securing Digital Frontiers

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

http.title:"Blogprise"
http.html:"wp-content/themes/blogprise"

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-49277/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.