CVE-2022-31114
backpack/crud provides Create, Read, Update & Delete (CRUD) …
backpack/crud provides Create, Read, Update & Delete (CRUD) functions for Backpack, a collection of Laravel packages that help users build custom administration panels. Versions prior to 5.0.13, 4.1.69, and 4.0.63 are vulnerable to cross-site scripting. An attacker could conduct a targeted phishing campaign, in order to trick users or admins into clicking a malicious link, which under very specific circumstances could give them information or possibly admin access. Versions 5.0.13, 4.1.69, and 4.0.63 patch the issue. As a workaround, manually look inside error views in `resources/views/errors` and output `e($exception->getMessage())` instead of `$exception->getMessage()`.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/Laravel-Backpack/CRUD/security/advisories/GHSA-m8xx-3x29-84h8
- nvd.nist.gov/vuln/detail/CVE-2022-31114
- backpackforlaravel.com/articles/news/we-recommend-you-fix-this-vulnerability
- github.com/advisories/GHSA-m8xx-3x29-84h8
- nvd.nist.gov/vuln/detail/CVE-2022-31114
- cve.org/CVERecord?id=CVE-2022-31114
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.