Description
Postal through 3.5.0 contains an authorization bypass vulnerability that allows authenticated API or SMTP users to send mail as unverified domains by exploiting an address parsing differential in strip_name_from_address. Attackers controlling one verified domain can supply a From value with a victim address followed by a comment containing their owned address to spoof senders from arbitrary domains.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Postal | Postal | ≤ 3.5.0 | — |
References
- https://github.com/postalserver/postal/blob/3.5.0/lib/postal/helpers.rb#L6-L10 technical-description
- https://github.com/postalserver/postal/blob/3.5.0/app/models/server.rb#L229-L245 technical-description
- https://github.com/postalserver/postal/blob/3.5.0/app/models/outgoing_message_prototype.rb#L51-L57 technical-description
- VulnCheck Advisory: Postal through 3.5.0 From Address Domain Authorization Bypass via Parsing Differential third-party-advisory