CVE-2025-4524
CRITICAL NUCLEIMadara WordPress <2.2.2 - Local File Inclusion
Title source: llmExploitation Summary
EIP tracks 3 public exploits for CVE-2025-4524. PoCs published by Beatriz Fresno Naumova, iSee857, ptrstr. A Nuclei detection template is also available.
AI-analyzed exploit summary This exploit demonstrates a Local File Inclusion (LFI) vulnerability in the WordPress Madara theme by manipulating the 'template' parameter in an AJAX request to read arbitrary files (e.g., /etc/passwd). The attack leverages path traversal via 'plugins/../../../../../../../' to bypass intended restrictions.
Description
The Madara – Responsive and modern WordPress theme for manga sites theme for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 2.2.2 via the 'template' parameter. This makes it possible for unauthenticated attackers to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other “safe” file types can be uploaded and included.
Exploits (3)
This exploit demonstrates a Local File Inclusion (LFI) vulnerability in the WordPress Madara theme by manipulating the 'template' parameter in an AJAX request to read arbitrary files (e.g., /etc/passwd). The attack leverages path traversal via 'plugins/../../../../../../../' to bypass intended restrictions.
The repository contains functional exploit code for multiple CVEs, including CVE-2026-22812, which demonstrates a command execution vulnerability in OpenCode. The PoC sends crafted requests to exploit the vulnerability and verify command execution via the 'id' command.
This repository contains a functional PoC for CVE-2025-4524, an unauthenticated Local File Inclusion (LFI) vulnerability in the Madara WordPress theme. The exploit leverages the `madara_load_more` action to include arbitrary files via path traversal or remote URLs if `allow_url_include` is enabled, potentially leading to RCE.
Nuclei Templates (1)
http.html:"/wp-content/themes/madara/"
body="/wp-content/themes/madara/"
References (3)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H