PT-2022-15048 · Unknown · Onionshare
Micahflee
·
Published
2022-01-18
·
Updated
2024-06-15
·
CVE-2022-21696
CVSS v4.0
5.3
Medium
| Vector | AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
OnionShare versions 2.4 and earlier
Description
OnionShare is an open source tool that lets users securely and anonymously share files, host websites, and chat with friends using the Tor network. In affected versions, it is possible to change the username to that of another chat participant with an additional space character at the end of the name string. An adversary with access to the chat environment can use the rename feature to impersonate other participants by adding whitespace characters at the end of the username.
Recommendations
For OnionShare version 2.4 and earlier, remove non-visible characters from the username to prevent impersonation.
As a temporary workaround, consider restricting the rename feature to prevent users from adding whitespace characters to the end of their usernames.
Restrict access to the chat environment to minimize the risk of exploitation.
Exploit
Fix
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Onionshare