☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Bastien ho logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 7.5 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-30835

CVE-2025-30835 Local File Inclusion in Bastien ho
📅 PUBLISHED: 2025-03-31 06:15 UTC 🔄 UPDATED: 2026-08-12 14:53 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: 1.01%
👁️
1.01% probability
25.3× above the median CVE
Tier: HIGH
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 7.5
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
7.5
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-30835 is a critical PHP Local File Inclusion (LFI) vulnerability in the WordPress plugin Accounting for WooCommerce by Bastien Ho, affecting all versions up to and including 1.6.8. The vulnerability stems from improper control of filenames used in include/require statements, allowing an unauthenticated attacker to include arbitrary local files from the server. This can lead to sensitive information disclosure (e.g., wp-config.php), source code leakage, and potential remote code execution if combined with file upload capabilities. The CVSS score of 7.5 (High) reflects the ease of exploitation and high confidentiality impact. No public exploit code or patch is currently available, making this a high-priority unpatched risk for WordPress sites using this plugin.

⚡ 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 resides in a WordPress plugin distributed via the official WordPress plugin repository. As a supply chain risk, any site using the plugin is directly affected. The vendor (Bastien Ho) has not released a patch, and the plugin may be abandoned. Users should consider this a supply chain compromise vector and immediately remove or replace the plugin.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – Exploitable remotely.
  • Attack Complexity (AC): Low (L) – No special conditions required.
  • Privileges Required (PR): None (N) – Unauthenticated.
  • User Interaction (UI): None (N) – No user action needed.
  • Scope (S): Unchanged (U) – Affects only the vulnerable component.
  • Confidentiality (C): High (H) – Full file read possible.
  • Integrity (I): None (N) – No file modification.
  • Availability (A): None (N) – No denial of service.

Threat Level: High. The lack of authentication and low complexity make this a prime target for automated scanning and exploitation.

Deep Dive & Mechanics

The vulnerability exists in the plugin's PHP code where user-supplied input is used to construct a file path for inclusion via include() or require(). The plugin likely processes a GET or POST parameter (e.g., page, tab, action) without proper sanitization or path traversal checks. An attacker can inject directory traversal sequences (e.g., ../../) to include arbitrary files from the server's filesystem.

Example vulnerable code pattern:

$page = $_GET['page'];
include(plugin_dir_path(__FILE__) . 'pages/' . $page . '.php');

An attacker could supply page=../../../../wp-config to read the WordPress configuration file.

Vulnerable vs. Patched Code

Vulnerable (<= 1.6.8):

$file = $_GET['file'];
include( $file . '.php' );

No validation or sanitization of the $file parameter.

Patched (hypothetical):

$allowed_files = array('dashboard', 'reports', 'settings');
$file = basename( $_GET['file'] );
if ( in_array( $file, $allowed_files ) ) {
    include( plugin_dir_path(__FILE__) . 'pages/' . $file . '.php' );
} else {
    wp_die('Invalid file.');
}

The patch would use a whitelist and basename() to prevent traversal.

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • Target WordPress site with Accounting for WooCommerce <= 1.6.8 installed and activated.
  • No authentication required.

Exploitation Steps:

  1. Identify the vulnerable parameter (likely page, tab, or file).
  2. Craft a request with path traversal to read sensitive files.

Example request:

GET /wp-admin/admin.php?page=../../../../../../etc/passwd HTTP/1.1
Host: target.com

Or for WordPress config:

GET /wp-admin/admin.php?page=../../../../wp-config HTTP/1.1
Host: target.com

Automated scanning with curl:

curl -v "http://target.com/wp-admin/admin.php?page=../../../../../../etc/passwd"

Note: No public exploit code is available; this is a manual technique.

Blue Team (Detection & Hardening)

Detection:

  • Monitor web server logs for directory traversal patterns in query strings (e.g., ../, %2e%2e/).
  • Look for requests to admin.php with unusual page parameters.
  • Use WAF rules to block path traversal sequences.

Hardening:

  • Immediately disable or remove the plugin.
  • If removal is not possible, apply a virtual patch via WAF (e.g., ModSecurity rule).
  • Restrict file inclusion to a whitelist of allowed files.

Indicators of Compromise (IOCs)

  • Network IOCs:

    • HTTP requests containing page=.. or %2e%2e%2f in the query string.
    • Requests to /wp-admin/admin.php with suspicious page parameters.
    • Outbound connections from the server to attacker-controlled hosts (if RCE is achieved).
  • File System IOCs:

    • Unexpected inclusion of files like /etc/passwd, wp-config.php, or other sensitive files in PHP error logs.
    • Presence of webshells or backdoors in the web root.
  • Log IOCs:

    • Apache/Nginx access logs showing 200 OK responses to path traversal attempts.
    • PHP error logs with include() failures or warnings.

Detection Engineering

YARA Rule

rule CVE_2025_30835_LFI_Detection {
    meta:
        description = "Detects LFI attempts targeting Accounting for WooCommerce plugin"
        author = "Valters IT"
        date = "2025-04-01"
        cve = "CVE-2025-30835"
    strings:
        $traversal1 = "page="
        $traversal2 = "file="
        $traversal3 = "../"
        $traversal4 = "..\\"
        $traversal5 = "%2e%2e"
        $wp_admin = "wp-admin/admin.php"
    condition:
        any of ($traversal*) and $wp_admin
}

Sigma Rule

title: CVE-2025-30835 LFI Attempt
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects path traversal attempts in Accounting for WooCommerce plugin
author: Valters IT
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-uri-query|contains:
            - 'page=../'
            - 'page=%2e%2e'
            - 'file=../'
            - 'file=%2e%2e'
        cs-uri-stem|contains: '/wp-admin/admin.php'
    condition: selection
falsepositives:
    - Legitimate use of similar parameters (unlikely)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-30835 LFI Attempt"; flow:to_server,established; content:"/wp-admin/admin.php"; http_uri; content:"page="; http_uri; pcre:"/(%2e%2e%2f|\.\.\/)/Ri"; classtype:attempted-recon; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable or remove the Accounting for WooCommerce plugin from all WordPress installations.
  2. Apply a virtual patch using a Web Application Firewall (WAF) to block path traversal patterns.
  3. Review server logs for signs of exploitation (e.g., unusual file reads).

Long-term Fix:

  • Since no official patch exists, consider migrating to an alternative WooCommerce accounting plugin.
  • If the plugin is critical, fork the code and implement proper input validation (whitelist allowed files, use basename(), and restrict to plugin directory).

Detection:

  • Deploy the provided YARA, Sigma, and Suricata rules to monitor for exploitation attempts.
  • Enable file integrity monitoring on critical system files.

Valters IT – Securing your digital frontier.

👁️ 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:"Accounting for WooCommerce"
http.html:"wp-content/plugins/accounting-for-woocommerce"

💣 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-30835/ · 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.