Description
Modoboa before 2.13.0 contains a CRLF injection vulnerability that allows Resellers or users with domain add or change permission to inject rspamd DKIM selector map entries by supplying an unvalidated dkim_key_selector through the relay domain API. Attackers can embed a carriage return in the selector to override another tenant's domain selector, causing rspamd to sign its outgoing mail with a nonexistent selector and fail DKIM verification.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
modoboa modoboa
Default version status: unaffected
0 to < 2.13.0affected
pkg:pypi/modoboaReferences
- https://github.com/modoboa/modoboa/security/advisories/GHSA-p68v-69qc-9345 ↗
- https://github.com/modoboa/modoboa/commit/b4550be1d4a058fd6f967b806afcce36912757a8 ↗
- https://github.com/modoboa/modoboa/releases/tag/2.13.0 ↗
- https://github.com/modoboa/modoboa/blob/2.12.0/modoboa/relaydomains/api/v1/serializers.py#L36-L55 ↗
- https://github.com/modoboa/modoboa/blob/2.12.0/modoboa/rspamd/jobs.py#L78-L83 ↗
- https://github.com/modoboa/modoboa ↗
- https://www.vulncheck.com/advisories/modoboa-before-2.13.0-crlf-injection-via-relay-domain-dkim-key-selector ↗