# CVE-2021-32794: Accidental removal of IPCPassword (< 5.1.2.4)

> A bug in ArchiSteamFarm could accidentally remove the IPC password, allowing unauthorized access to the IPC interface if not manually verified.

- **Severity:** Medium 6.8 (`CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Local or same network only
- **Victim action needed:** A user has to click or open something
- **Fix available:** No
- **Published:** 26 Jul 2021
- **Updated:** 3 Aug 2024
- **Also known as:** GHSA-wxx4-66c2-vj2v

## What is CVE-2021-32794?

CVE-2021-32794 is a medium-severity authentication bypass vulnerability in JustArchiNET ArchiSteamFarm, published on 26 Jul 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

### Official description

ArchiSteamFarm is a C# application with primary purpose of idling Steam cards from multiple accounts simultaneously. Due to a bug in ASF code `POST /Api/ASF` ASF API endpoint responsible for updating global ASF config incorrectly removed `IPCPassword` from the resulting config when the caller did not specify it explicitly. Due to the above, it was possible for the user to accidentally remove `IPCPassword` security measure from his IPC interface when updating global ASF config, which exists as part of global config update functionality in ASF-ui. Removal of `IPCPassword` possesses a security risk, as unauthorized users may in result access the IPC interface after such modification. The issue is patched in ASF V5.1.2.4 and future versions. We recommend to manually verify that `IPCPassword` is specified after update, and if not, set it accordingly. In default settings, ASF is configured to allow IPC access from `localhost` only and should not affect majority of users.

Weakness: CWE-306 (Missing Authentication for Critical Functionality), CWE-287 (Improper Authentication)

## Which versions are affected by CVE-2021-32794?

It affects 1 product.


Products: Archisteamfarm Project Archisteamfarm.

## How do I fix CVE-2021-32794?

No fix has been published for CVE-2021-32794 yet. Limit exposure of the affected software until one is available.

## Is CVE-2021-32794 being exploited?

There is no known exploitation of CVE-2021-32794 in the wild and no public exploit code.

## Other vulnerabilities in JustArchiNET ArchiSteamFarm

- [CVE-2021-32795](https://insights.sbomify.com/CVE-2021-32795/): Denial of Service via Steam chat in ArchiSteamFarm (medium 6.5)
- [CVE-2022-23627](https://insights.sbomify.com/CVE-2022-23627/): Inadequate access verification when using proxy commands in ArchiSteamFarm (medium 5.0)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2021-32794 and fix it if it is affected.

What it is: CVE-2021-32794 is a medium-severity authentication bypass vulnerability in JustArchiNET ArchiSteamFarm, published on 26 Jul 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2021-32794 in the wild and no public exploit code.

Affected product: JustArchiNET ArchiSteamFarm. No package-level version data is available, so check the vendor advisory linked from the reference page.

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/CVE-2021-32794/ (Markdown: https://insights.sbomify.com/CVE-2021-32794/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2021-32794
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2021-32794
- OSV: https://osv.dev/vulnerability/CVE-2021-32794

---
From sbomify Insights: https://insights.sbomify.com/CVE-2021-32794/
Summaries are generated and may contain mistakes; the official description above is the record.
