| Summary: | /tmp symlink vulnerability | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Andrew Potter <agpotter> |
| Component: | feh | Assignee: | Ignacio Vazquez-Abrams <ivazqueznet> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | ivazqueznet, vdanen |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-02-09 22:19:56 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
*** This bug has been marked as a duplicate of bug 676389 *** |
Description of problem: tmpname_timestamper = estrjoin("", "/tmp/feh_", cppid, "_", basename, NULL); ... execlp("wget", "wget", "-N", "-O", tmpname_timestamper, newurl, quiet, (char*) NULL); If attacker knows PID of feh and knows the URL, it can create the link to any user file. wget would overwrite it. https://bugs.launchpad.net/ubuntu/+source/feh/+bug/607328 https://github.com/derf/feh/issues/#issue/32