perfood/couch-auth · Security
CouchAuth has a Server-Side Template Injection vulnerability in its email functionality
- GHSA ID
- GHSA-r385-c5fc-x56c
- CVE ID
- CVE-2024-57177
- Severity
- medium
- Published
- Updated
- CVSS
- 4.3 · CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- CVSS v3
- 4.3 · CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Description
A host header injection vulnerability exists in the NPM package of perfood/couch-auth <= 0.21.2. By sending a specially crafted host header in the email change confirmation request, it is possible to trigger a SSTI which can be leveraged to run limited commands or leak server-side information.
CWEs
- CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
- CWE-1336 · Improper Neutralization of Special Elements Used in a Template Engine