CVE-2022-4324
Custom Field Template < 2.5.8 - Admin+ PHP Object Injection
Description
The Custom Field Template WordPress plugin before 2.5.8 unserialises the content of an imported file, which could lead to PHP object injections issues when a high privilege user import (intentionally or not) a malicious Customizer Styling file and a suitable gadget chain is present on the blog.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- high: the attacker needs an administrative account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 17.6%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 97.2% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Apr 2025):
- Exploitation
- poc: a proof of concept is public
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-502 Deserialization of Untrusted Data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
Custom Field Template
Unknown
|
affected before 2.5.8
Other versions: unaffected
|
Is my server affected?
This CVE is in a product, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.
References
Exploits and proof of concept
- https://wpscan.com/vulnerability/70c39236-f7ae-49bf-a2f0-7cb9aa983e45 wpscan.com · exploit, vdb entry, technical description
Source: the record CVE-2022-4324 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse