CVE-2022-25237 in bonitasoft bonita web
LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.
What the vulnerability is
Bonita Web 2021.2 is affected by a authentication/authorization bypass vulnerability due to an overly broad exclude pattern used in the RestAPIAuthorizationFilter. By appending ;i18ntranslation or /../i18ntranslation/ to the end of a URL, users with no privileges can access privileged API endpoints. This can lead to remote code execution by abusing the privileged API actions.
Affected software: bonitasoft bonita web
Scores
- CVSS: 9.8 (critical)
- EPSS: 56.72% chance of exploitation in the next 30 days
- CISA KEV: Not listed
- Published: 2022-06-02
What LogPulse has for it
- Detection rule: Yes, published
- Agent check (vulnerable version): No
- Mitigation: Yes, see below
How to mitigate it
Update Bonita to 2021.2 u1, 2022.1 u0 or later
Patch or upgrade. Bonita Web 2021.2 skips authentication for API paths that match its i18ntranslation exclusion, so anyone can deploy code. The fixed maintenance releases close the bypass.
Applies to: Bonita Web 2021.2 and earlier community and subscription editions
- Check the Bonita version in the Bonita Portal footer.
- Install Bonita 2021.2 update 1, 2022.1 update 0 or a later release.
- Keep the Bonita portal behind a VPN or reverse proxy that blocks paths containing i18ntranslation followed by ; or ../.
- Remove pages and REST API extensions nobody deployed on purpose.
Sources:
Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.
We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.