Bug 168167 (CVE-2006-0225)
| Summary: | CVE-2006-0225 local to local copy uses shell expansion twice | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Other] Security Response | Reporter: | Ulrich Drepper <drepper> | ||||||||
| Component: | vulnerability | Assignee: | Tomas Mraz <tmraz> | ||||||||
| Status: | CLOSED ERRATA | QA Contact: | Brian Brock <bbrock> | ||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | medium | ||||||||||
| Version: | unspecified | CC: | bressers | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | All | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2006-01-23 17:07:22 UTC | Type: | --- | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Ulrich Drepper
2005-09-13 04:41:52 UTC
Created attachment 118749 [details]
Use posix_spawnp instead of system
Created attachment 118770 [details]
Patch to use posix_spawnp
Yes, this is a security issue. I spent some time looking at this today, and this distrubs me: bress@link:/tmp/josh% ls -l total 4 drwxrwxr-x 2 bress bress 4096 Sep 19 14:51 a -rw-rw-r-- 1 bress bress 0 Sep 19 14:51 `touch feh` bress@link:/tmp/josh% scp * a cp: omitting directory `a' cp: missing destination file Try `cp --help' for more information. zsh: exit 1 scp * a bress@link:/tmp/josh% ls -l total 4 drwxrwxr-x 2 bress bress 4096 Sep 19 14:51 a -rw-rw-r-- 1 bress bress 0 Sep 19 14:52 feh -rw-rw-r-- 1 bress bress 0 Sep 19 14:51 `touch feh` While I know most people don't use scp to move files around their local system, I do leave off the trailing : quite often. Created attachment 119390 [details]
This patch uses fork + exec instead of posix_spawnp
This patch uses fork + exec instead of posix_spawnp and also fixes the remote
to remote copy.
I'm reassigning this to FC5T1. Please be sure to update FC4 and FC3 if it is still supported when this update goes out. The patch is in rawhide since openssh-4.2p1-2. I'll do the FC3 and FC4 updates soon. From User-Agent: XML-RPC openssh-4.2p1-fc4.10 has been pushed for FC4, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report. Fixed in FC5Test1 and FC4 updates. |