CVE-2022-21692 Improper Access Control in Onionshare
Attackers in the chat environment can impersonate other users to send messages, compromising chat integrity in OnionShare.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-21692?
CVE-2022-21692 is a medium-severity missing authorization vulnerability in onionshare, published on 18 Jan 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
OnionShare is an open source tool that lets you securely and anonymously share files, host websites, and chat with friends using the Tor network. In affected versions anyone with access to the chat environment can write messages disguised as another chat participant.
Weakness: CWE-287
Which versions are affected by CVE-2022-21692?
3 open source packages ship an affected version, including onionshare-cli. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
onionshare-cli PyPI | All versions | 2.5 |
onionshare-cli PyPI | From 2.3 | 2.5 |
onionshare-cli PyPI | From 2.3 | 2.5 |
Products include Onionshare Onionshare.
How do I fix CVE-2022-21692?
Upgrade onionshare-cli to 2.5 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2022-21692 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-21692 exists.
Other vulnerabilities in onionshare
Sources
Also known as DEBIAN-CVE-2022-21692, GHSA-gjj5-998g-v36v, PYSEC-2022-43.