CVE-2012-10025

CRITICAL

WordPress Advanced Custom Fields <= 3.5.1 - Remote File Inclusion Code Execution

Title source: manual
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2012-10025. PoCs published by Metasploit, including Metasploit module exploits/unix/webapp/wp_advanced_custom_fields_exec.

AI-analyzed exploit summary This Metasploit module exploits a remote file inclusion vulnerability in the WordPress Advanced Custom Fields plugin (versions 3.5.1 and below) via the export.php script, allowing remote code execution when allow_url_include is enabled.

Description

The WordPress plugin Advanced Custom Fields (ACF) version 3.5.1 and below contains a remote file inclusion (RFI) vulnerability in core/actions/export.php. When the PHP configuration directive allow_url_include is enabled (default: Off), an unauthenticated attacker can exploit the acf_abspath POST parameter to include and execute arbitrary remote PHP code. This leads to remote code execution under the web server’s context, allowing full compromise of the host.

Exploits (2)

exploitdb WORKING POC VERIFIED
by Metasploit · rubyremotephp
https://www.exploit-db.com/exploits/23856

This Metasploit module exploits a remote file inclusion vulnerability in the WordPress Advanced Custom Fields plugin (versions 3.5.1 and below) via the export.php script, allowing remote code execution when allow_url_include is enabled.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: WordPress Advanced Custom Fields plugin <= 3.5.1
No auth needed
Prerequisites: allow_url_include enabled in PHP configuration · Target running vulnerable plugin version
devstral-2 · analyzed Feb 16, 2026 Full analysis →
metasploit WORKING POC EXCELLENT
rubypocphp
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/wp_advanced_custom_fields_exec.rb

This Metasploit module exploits a remote file inclusion vulnerability in the WordPress Advanced Custom Fields plugin (versions 3.5.1 and below) via the export.php script, allowing remote code execution when allow_url_include is enabled.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: WordPress Advanced Custom Fields plugin <= 3.5.1
No auth needed
Prerequisites: allow_url_include enabled in PHP configuration · Target running vulnerable plugin version
devstral-2 · analyzed Feb 16, 2026 Full analysis →

Scores

CVSS v4 10.0
EPSS 0.0122
EPSS Percentile 64.8%
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact total

Details

CWE
CWE-98
Status published
Products (1)
Advanced Custom Fields/WordPress Plugin < 3.5.1
Published Aug 05, 2025
Tracked Since Feb 18, 2026