Passbolt Api Remote code execution
Impact
Passbolt provides a way for system administrators to generate a PGP key for the server during installation. The wizard requests a username, an e-mail address and an optional comment. No escaping or verification is done by Passbolt, effectively allowing a user to inject bash code.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 2.7.0Ecosystem versions | 2.7.0 |
Version evidence: OSV · GHSA-cv5c-2qv5-w2m2
View original version evidence (45 explicit versions)
Original source description
Passbolt provides a way for system administrators to generate a PGP key for the server during installation. The wizard requests a username, an e-mail address and an optional comment. No escaping or verification is done by Passbolt, effectively allowing a user to inject bash code.
The impact is very high, but the probability is very low given that this vulnerability can only be exploited during Passbolt’s installation stage.
References
- Patch github.com/passbolt/passbolt_api/commit/be84671676ebac43d49e326a14f1afe259777611
- Security advisory github.com/FriendsOfPHP/security-advisories/blob/master/passbolt/passbolt_api/2019-02-11-1.yaml
- Source reference github.com/passbolt/passbolt_api
- Security advisory www.passbolt.com/incidents/20190211_multiple_vulnerabilities