Description
Nanobot prior to version 0.2.1 contains a server-side request forgery vulnerability in the Microsoft Teams channel handler that allows remote attackers to exfiltrate Bot Framework bearer tokens by supplying a forged activity with an attacker-controlled serviceUrl value. Attackers can poison the stored conversation reference by sending a crafted inbound activity to the Teams webhook, causing subsequent bot replies to transmit token-bearing Authorization header requests to an attacker-controlled host.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| HKUDS | nanobot | < 0.2.1 | 0.2.1 |
References
- nanobot 0.2.1 Release Notes release-notes
- https://github.com/HKUDS/nanobot/pull/4047 issue-tracking patch
- https://github.com/HKUDS/nanobot/commit/232df45126bcf0f8fccd123d73714f202c8e8612 patch
- https://www.vulncheck.com/advisories/nanobot-ssrf-via-microsoft-teams-channel-serviceurl-poisoning third-party-advisory