CVE-2022-3536 Role Based Pricing for WooCommerce < 1.6.3 - Subscriber+ PHAR Deserialization

High 8.8 Published Updated

Authenticated users can trigger PHAR deserialization attacks via file upload, potentially leading to remote code execution on the WordPress site.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-3536?

CVE-2022-3536 is a high-severity unsafe deserialization vulnerability in Unknown Role Based Pricing for WooCommerce, published on 7 Nov 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Role Based Pricing for WooCommerce WordPress plugin before 1.6.3 does not have authorisation and proper CSRF checks, as well as does not validate path given via user input, allowing any authenticated users like subscriber to perform PHAR deserialization attacks when they can upload a file, and a suitable gadget chain is present on the blog

Weakness: CWE-502, CWE-352

Which versions are affected by CVE-2022-3536?

It affects 1 product.

Products include Addify Role Based Pricing for Woocommerce.

How do I fix CVE-2022-3536?

No fix has been published for CVE-2022-3536 yet. Limit exposure of the affected software until one is available.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2022-3536 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-3536 exists.

Sources

Also known as GHSA-fch5-fx89-m666.

Is CVE-2022-3536 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free