Bug 1243842 (CVE-2015-5607) - CVE-2015-5607 iptyhon: cross-site request forgery in get_origin()
Summary: CVE-2015-5607 iptyhon: cross-site request forgery in get_origin()
Status: CLOSED ERRATA
Alias: CVE-2015-5607
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=moderate,public=20150708,repor...
Keywords: Security
Depends On: 1243844 1243843
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-16 12:56 UTC by Vasyl Kaigorodov
Modified: 2019-06-08 20:40 UTC (History)
8 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2018-07-27 18:32:00 UTC


Attachments (Terms of Use)

Description Vasyl Kaigorodov 2015-07-16 12:56:11 UTC
POST requests exposed via the IPython REST API are vulnerable to
cross-site request forgery (CSRF). Web pages on different domains can make
non-AJAX POST requests to known IPython URLs, and IPython will honor them.
The user's browser will automatically send IPython cookies along with the
requests. The response is blocked by the Same-Origin Policy, but the
request isn't.

API paths with issues:

* POST /api/contents/<path>/<file>
* POST /api/contents/<path>/<file>/checkpoints
* POST /api/contents/<path>/<file>/checkpoints/<checkpoint_id>
* POST /api/kernels
* POST /api/kernels/<kernel_id>/<action>
* POST /api/sessions
* POST /api/clusters/<cluster_id>/<action>

Upstream fixes:
 2.x: https://github.com/ipython/ipython/commit/a05fe052a18810e92d9be8c1185952c13fe4e5b0
 3.x: https://github.com/ipython/ipython/commit/1415a9710407e7c14900531813c15ba6165f0816

CVE request: http://seclists.org/oss-sec/2015/q3/92

Comment 1 Vasyl Kaigorodov 2015-07-16 12:57:01 UTC
Created ipython tracking bugs for this issue:

Affects: fedora-all [bug 1243843]
Affects: epel-all [bug 1243844]

Comment 2 Fedora Update System 2015-07-30 00:46:30 UTC
ipython-2.4.1-7.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 3 Fedora Update System 2015-07-30 01:18:48 UTC
ipython-2.4.1-7.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.