cbcvebase.
CVE-2022-32272
published 2022-06-09

CVE-2022-32272: OPSWAT MetaDefender Core before 5.1.2, MetaDefender ICAP before 4.12.1, and MetaDefender Email Gateway Security before 5.6.1 have incorrect access control…

PriorityP263critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EXPLOIT
EPSS
9.10%
94.7th percentile
OPSWAT MetaDefender Core before 5.1.2, MetaDefender ICAP before 4.12.1, and MetaDefender Email Gateway Security before 5.6.1 have incorrect access control, resulting in privilege escalation.

Affected

1 ranges
VendorProductVersion rangeFixed in
opswatmetadefender< 5.1.25.1.2

Detection & IOCsextracted from sources · hover to see the quote

url/login
url/user
cookiesession_id_ometascan
otheroms_csrf_token
commandPUT /user {"roles": ["1"]}
  • Detect privilege escalation attempts by monitoring for HTTP PUT requests to the /user endpoint that include a JSON body setting roles to ["1"] (admin role), especially from non-admin sessions.
  • Monitor for the presence of the oms_csrf_token HTTP request header being supplied on PUT /user requests — this is the mechanism abused to execute commands with higher privileges.
  • Flag POST requests to /login followed immediately by a PUT to /user from the same session (session_id_ometascan cookie), as this is the exact exploit flow: authenticate, extract token, then escalate role.
  • Alert on any account whose role is changed to role ID "1" (admin) via the API, particularly when the change is performed by a non-administrative user account.
  • ·Affected versions span three products; ensure version checks cover all three: MetaDefender Core before 5.1.2, MetaDefender ICAP before 4.12.1, and MetaDefender Email Gateway Security before 5.6.1. The PoC was specifically tested against MetaDefender Core 4.21.1.
  • ·The exploit requires valid (low-privilege) credentials to obtain a session and CSRF token before escalating — detection/blocking at the authentication layer alone is insufficient; the PUT /user role-change call must also be controlled.
  • ·The vulnerability is exploitable on both Windows and Linux deployments of MetaDefender Core.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.