CVE-2022-31132 Unauthenticated SSRF in 3rd party module "cerdic/csstidy"

High 8.3 Published Updated

Unauthenticated attackers can exploit an SSRF vulnerability in the bundled CSS minifier to access internal resources or bypass security controls.

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

What is CVE-2022-31132?

CVE-2022-31132 is a high-severity server-side request forgery vulnerability in nextcloud security-advisories, published on 4 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Nextcloud Mail is an email application for the nextcloud personal cloud product. Affected versions shipped with a CSS minifier on the path `./vendor/cerdic/css-tidy/css_optimiser.php`. Access to the minifier is unrestricted and access may lead to Server-Side Request Forgery (SSRF). It is recommendet to upgrade to Mail 1.12.7 or Mail 1.13.6. Users unable to upgrade may manually delete the file located at `./vendor/cerdic/css-tidy/css_optimiser.php`

Weakness: CWE-918

Which versions are affected by CVE-2022-31132?

It affects 1 product.

Products include Nextcloud Mail.

How do I fix CVE-2022-31132?

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

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2022-31132 being exploited?

There is no known exploitation of CVE-2022-31132 in the wild and no public exploit code.

Sources

Also known as GHSA-24pm-rjfv-23mh.

Is CVE-2022-31132 in your software?

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

Check your SBOMs for free