Contributor-level object injection via custom-field deserialization
Published May 2, 2023 · Updated Jan 30, 2025
PHP object injection in WP Engine Advanced Custom Fields Free and Pro 5.x before 5.12.5 and 6.x before 6.1.0 allows remote authenticated users to execute code. The plugin unserializes a contributor-controlled custom-field value when post revisions are viewed, instantiating attacker-selected PHP objects. Contributor access is required, and file deletion, sensitive-data retrieval, or code execution also requires a suitable POP gadget from another installed plugin or theme.
Summary
What happened
PHP object injection in WP Engine Advanced Custom Fields Free and Pro 5.x before 5.12.5 and 6.x before 6.1.0 allows remote authenticated users to execute code. The plugin unserializes a contributor-controlled custom-field value when post revisions are viewed, instantiating attacker-selected PHP objects. Contributor access is required, and file deletion, sensitive-data retrieval, or code execution also requires a suitable POP gadget from another installed plugin or theme.
The record
- CVE
- CVE-2023-1196
- Published
- May 2, 2023
- Updated
- Jan 30, 2025
- Vendor
- WP Engine
- Product
- Advanced Custom Fields
- Classifications
- CWE-502, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- May 2, 2023CVE publishedPublication date reported by the CVE source.
- Jan 30, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.0.0 <5.12.5
- Affected versionversion=6.0.0 <6.1.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- WPScan contributor custom-field object-injection reproductionproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo