GHSA-qxx8-292g-2w66 Improper Authentication
A maliciously crafted claim can bypass authentication in Microsoft Bot Builder SDK bots not configured as Skills, requiring internal knowledge to exploit.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-qxx8-292g-2w66?
GHSA-qxx8-292g-2w66 is an authentication bypass vulnerability in Microsoft.Bot.Connector, published on 8 Mar 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Impact
A maliciously crafted claim may be incorrectly authenticated by the bot. Impacts bots that are not configured to be used as a Skill. This vulnerability requires an an attacker to have internal knowledge of the bot.
Patches
The problem has been patched in all affected versions. Please see the list of patched versions for the most appropriate one for your individual case.
Workarounds
Users who do not wish or are not able to upgrade can add an authentication configuration containing ClaimsValidator which throws an exception if the Claims are Skill Claims.
For detailed instructions, see the link in the References section.
For more information
If you have any questions or comments about this advisory:
- Open an issue in Microsoft Bot Builder SDK
- Email us at [email protected]
Which versions are affected by GHSA-qxx8-292g-2w66?
10 open source packages ship an affected version, including Microsoft.Bot.Connector.
| Package | Affected | Fixed in |
|---|---|---|
Microsoft.Bot.Connector NuGet | From 4.10.0 | 4.10.3 |
Microsoft.Bot.Connector NuGet | From 4.10.0 | 4.10.3 |
Microsoft.Bot.Connector NuGet | From 4.6.0 | 4.6.4 |
Microsoft.Bot.Connector NuGet | From 4.6.0 | 4.6.4 |
Microsoft.Bot.Connector NuGet | From 4.7.0 | 4.7.3 |
Microsoft.Bot.Connector NuGet | From 4.7.0 | 4.7.3 |
4 more packages
Microsoft.Bot.Connector NuGet | From 4.8.0 | 4.8.2 |
Microsoft.Bot.Connector NuGet | From 4.8.0 | 4.8.2 |
Microsoft.Bot.Connector NuGet | From 4.9.0 | 4.9.5 |
Microsoft.Bot.Connector NuGet | From 4.9.0 | 4.9.5 |
How do I fix GHSA-qxx8-292g-2w66?
Upgrade Microsoft.Bot.Connector to a fixed version for your release line: 4.10.3, 4.6.4, 4.7.3 or 4.8.2.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is GHSA-qxx8-292g-2w66 being exploited?
There is no known exploitation of GHSA-qxx8-292g-2w66 in the wild and no public exploit code.