Description
OpenAlgo 1.0.0.29 before 2.0.3.1 contains an improper certificate validation vulnerability in utils/email_utils.py and utils/email_debug.py that disables TLS hostname and certificate checks for STARTTLS and SMTPS. Network-positioned attackers can present a forged certificate to intercept SMTP credentials and all later mail, including password-reset links.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| marketcalls | OpenAlgo | 1.0.0.29 – < 2.0.3.1 | 2.0.3.1 |
References
- https://github.com/marketcalls/openalgo/commit/af5d5f2cc564ee31cdd1159bc147a9b03cc713ac patch
- OpenAlgo 2.0.3.1 Release Notes release-notes
- https://github.com/marketcalls/openalgo/blob/96e5927e5adbff146f203bf72c7a79add9e6622c/utils/email_utils.py#L403-L406 technical-description
- https://github.com/marketcalls/openalgo product
- VulnCheck Advisory: OpenAlgo 1.0.0.29 before 2.0.3.1 Improper Certificate Validation in SMTP Connections third-party-advisory