Description
Padloc 4.0.0 before 4.3.1 contains a prototype pollution vulnerability that allows SCIM token holders to modify Object.prototype by sending crafted SCIM PATCH paths to ScimServer._handleScimUsersPatch(). Attackers can supply paths like __proto__.x or constructor.prototype.x passed to setPath() to pollute the shared server process, disrupting requests for all other organizations.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| padloc | padloc | 4.0.0 – < 4.3.1 | 4.3.1 |
References
- GitHub Security Advisory (GHSA-crhv-mjrg-8vwm) vendor-advisory
- https://github.com/padloc/padloc/commit/7dd3d230ef299c71ac215c802600b5f2358f7ba3 patch
- https://github.com/padloc/padloc/blob/v4.3.0/packages/server/src/scim.ts#L421-L428 technical-description
- https://github.com/padloc/padloc/blob/v4.3.0/packages/core/src/util.ts#L239-L251 technical-description
- VulnCheck Advisory: Padloc 4.0.0 before 4.3.1 Prototype Pollution via SCIM PATCH setPath() third-party-advisory