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.
Problem types
Server-Side Request Forgery (SSRF)
Product status
Any version before 0.2.1
Credits
Chia Min Jun Lennon
References
github.com/HKUDS/nanobot/releases/tag/v0.2.1
github.com/HKUDS/nanobot/pull/4047
github.com/...ommit/232df45126bcf0f8fccd123d73714f202c8e8612
www.vulncheck.com/...soft-teams-channel-serviceurl-poisoning