CVE-2022-31132 Unauthenticated SSRF in 3rd party module "cerdic/csstidy"
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.
Other vulnerabilities in nextcloud security-advisories
- CVE-2021-32652 Missing permission check on email metadata retrieval
- CVE-2024-52508 Nextcloud Mail auto configurator can be tricked into sending account information to wrong servers
- CVE-2023-23943 Blind SSRF via server URL input in the Nextcloud Mail app
- CVE-2023-45660 Require strict cookies for image proxy requests in Nextcloud Mail
- CVE-2021-32707 Bypass of image blocking in Nextcloud Mail
Sources
Also known as GHSA-24pm-rjfv-23mh.