Administrator object injection via settings deserialization
Published Jan 9, 2023 · Updated Apr 9, 2025
PHP object injection in WP Custom Admin Interface before 7.29 allows remote authenticated users to inject objects through imported settings. The import_settings action passes the attacker-controlled settings value to PHP unserialize(), instantiating declared classes without an allowlist. Administrator access and a suitable gadget class are required; deserialization then invokes gadget-defined behavior in the WordPress PHP process.
Summary
What happened
PHP object injection in WP Custom Admin Interface before 7.29 allows remote authenticated users to inject objects through imported settings. The import_settings action passes the attacker-controlled settings value to PHP unserialize(), instantiating declared classes without an allowlist. Administrator access and a suitable gadget class are required; deserialization then invokes gadget-defined behavior in the WordPress PHP process.
The record
- CVE
- CVE-2022-4043
- Published
- Jan 9, 2023
- Updated
- Apr 9, 2025
- Vendor
- Northern Beaches Websites
- Product
- WP Custom Admin Interface
- Classifications
- CWE-502, T1190
- Attack vector
- network
- Privileges
- admin
Timeline
How it unfolded
- Jan 9, 2023CVE publishedPublication date reported by the CVE source.
- Apr 9, 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=0 <7.29
What conditions does exploitation require?
What is affected?
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 import_settings object-injection proof of conceptproof of concept · validated
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