# GHSA-hhw9-35p2-q2c5: Steam Socialite Provider v1 does not correctly validate openid server

> Attackers can bypass Steam login validation by substituting a malicious OpenID server, potentially taking over user accounts.

- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 29 Jan 2021

## What is GHSA-hhw9-35p2-q2c5?

GHSA-hhw9-35p2-q2c5 is an authentication bypass vulnerability in socialiteproviders/steam, published on 29 Jan 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

### Official description

### Impact
The outdated version 1 of the Steam Socialite Provider doesn't check properly if the login comes from `steamcommunity.com`, allowing a malicious actor to substitute their own openID server.

### Patches
This vulnerability only affects the outdated v1.x versions of the package. These are no longer maintained, users should upgrade to v3 or v4, which use a hardcoded endpoint to verify the login.

### For more information
If you have any questions or comments about this advisory:
* Open an issue in [SocialiteProviders/Providers](https://github.com/SocialiteProviders/Providers)
* Email us at [socialite@atymic.dev](mailto:socialite@atymic.dev)

## Which versions are affected by GHSA-hhw9-35p2-q2c5?

2 open source packages ship an affected version, including socialiteproviders/steam.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `socialiteproviders/steam` | Packagist | All versions | 3.0 |
| `socialiteproviders/steam` | Packagist | All versions | 3.0 |

## How do I fix GHSA-hhw9-35p2-q2c5?

Upgrade socialiteproviders/steam to 3.0 or later.

## Is GHSA-hhw9-35p2-q2c5 being exploited?

There is no known exploitation of GHSA-hhw9-35p2-q2c5 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for GHSA-hhw9-35p2-q2c5 and fix it if it is affected.

What it is: GHSA-hhw9-35p2-q2c5 is an authentication bypass vulnerability in socialiteproviders/steam, published on 29 Jan 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of GHSA-hhw9-35p2-q2c5 in the wild and no public exploit code.

Affected packages and fixed versions:
- socialiteproviders/steam (Packagist): affected all versions; fixed in 3.0
- socialiteproviders/steam (Packagist): affected all versions; fixed in 3.0

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/GHSA-hhw9-35p2-q2c5/ (Markdown: https://insights.sbomify.com/GHSA-hhw9-35p2-q2c5/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/GHSA-hhw9-35p2-q2c5

---
From sbomify Insights: https://insights.sbomify.com/GHSA-hhw9-35p2-q2c5/
Summaries are generated and may contain mistakes; the official description above is the record.
