CVE-2022-3592 Path traversal in samba
Remote attackers can escape SMB share paths via symlinks to access restricted server filesystems, requiring SMB1 unix extensions or NFS.
- 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-3592?
CVE-2022-3592 is a medium-severity path traversal vulnerability in Fedoraproject Fedora, published on 12 Jan 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A symlink following vulnerability was found in Samba, where a user can create a symbolic link that will make 'smbd' escape the configured share path. This flaw allows a remote user with access to the exported part of the file system under a share via SMB1 unix extensions or NFS to create symlinks to files outside the 'smbd' configured share path and gain access to another restricted server's filesystem.
Which versions are affected by CVE-2022-3592?
It affects 2 products.
Products include Fedoraproject Fedora, Samba Samba.
How do I fix CVE-2022-3592?
Apply the vendor's patch.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2022-3592 being exploited?
There is no known exploitation of CVE-2022-3592 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as ALPINE-CVE-2022-3592, GHSA-cghw-hvr5-w2m2.