Passbolt Api E-mail HTML injection
The advisory, in context
Passbolt sends e-mail to users to warn them about different type of events such as the creation, modification or deletion of a password. Those e-mails may contain user-specified input, such as a password’s title or description.
Passbolt does not escape the user’s input properly, resulting in the user being able to inject HTML code in an e-mail.
An authenticated attacker could share a password containing an img HTML tag in its description with an other user to obtain information about their mail user-agent.
This vulnerability has a very low impact. Most MUA do not embed remote images to protect their users’ privacy.
Affected 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.
Earlier releases before 2.7.0
Fixed in 2.7.0
45 explicitly affected versions
v1.0.10, v1.0.11, v1.0.12, v1.0.13, v1.0.14, v1.0.5, v1.0.6, v1.0.7, v1.0.8, v1.0.9, v1.1.0, v1.2.0, v1.2.1, v1.3.0, v1.3.1, v1.3.2, v1.4.0, v1.5.1, v1.6.0, v1.6.1, v1.6.10, v1.6.2, v1.6.3, v1.6.4, v1.6.5, v1.6.9, v2.0.0, v2.0.0-rc1, v2.0.0-rc2, v2.0.1, v2.0.2, v2.0.3, v2.0.4, v2.0.5, v2.0.7, v2.0.8, v2.1.0, v2.1.1, v2.2.0, v2.3.0, v2.4, v2.5.0, v2.5.1, v2.6.0, v2.6.1
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.7.0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v1.0.10",
"v1.0.11",
"v1.0.12",
"v1.0.13",
"v1.0.14",
"v1.0.5",
"v1.0.6",
"v1.0.7",
"v1.0.8",
"v1.0.9",
"v1.1.0",
"v1.2.0",
"v1.2.1",
"v1.3.0",
"v1.3.1",
"v1.3.2",
"v1.4.0",
"v1.5.1",
"v1.6.0",
"v1.6.1",
"v1.6.10",
"v1.6.2",
"v1.6.3",
"v1.6.4",
"v1.6.5",
"v1.6.9",
"v2.0.0",
"v2.0.0-rc1",
"v2.0.0-rc2",
"v2.0.1",
"v2.0.2",
"v2.0.3",
"v2.0.4",
"v2.0.5",
"v2.0.7",
"v2.0.8",
"v2.1.0",
"v2.1.1",
"v2.2.0",
"v2.3.0",
"v2.4",
"v2.5.0",
"v2.5.1",
"v2.6.0",
"v2.6.1"
]
}References
- https://github.com/passbolt/passbolt_api/commit/00f0ebe37d78815adee26d5e80cf2250fe878647
- https://github.com/FriendsOfPHP/security-advisories/blob/master/passbolt/passbolt_api/2019-02-11-3.yaml
- https://github.com/passbolt/passbolt_api
- https://www.passbolt.com/incidents/20190211_multiple_vulnerabilities