CWE
352
Advisory Published
Updated

REDHAT-BUG-1243842: CSRF

First published: Thu Jul 16 2015(Updated: )

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/&lt;path&gt;/&lt;file&gt; * POST /api/contents/&lt;path&gt;/&lt;file&gt;/checkpoints * POST /api/contents/&lt;path&gt;/&lt;file&gt;/checkpoints/&lt;checkpoint_id&gt; * POST /api/kernels * POST /api/kernels/&lt;kernel_id&gt;/&lt;action&gt; * POST /api/sessions * POST /api/clusters/&lt;cluster_id&gt;/&lt;action&gt; Upstream fixes: 2.x: <a href="https://github.com/ipython/ipython/commit/a05fe052a18810e92d9be8c1185952c13fe4e5b0">https://github.com/ipython/ipython/commit/a05fe052a18810e92d9be8c1185952c13fe4e5b0</a> 3.x: <a href="https://github.com/ipython/ipython/commit/1415a9710407e7c14900531813c15ba6165f0816">https://github.com/ipython/ipython/commit/1415a9710407e7c14900531813c15ba6165f0816</a> CVE request: <a href="http://seclists.org/oss-sec/2015/q3/92">http://seclists.org/oss-sec/2015/q3/92</a>

Affected SoftwareAffected VersionHow to fix
IPython<2.x<3.x

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of REDHAT-BUG-1243842?

    The severity of REDHAT-BUG-1243842 is classified as high due to its potential for cross-site request forgery attacks.

  • How do I fix REDHAT-BUG-1243842?

    To fix REDHAT-BUG-1243842, update to a version of IPython that is 3.x or later, which addresses the CSRF vulnerability.

  • What types of requests are affected by REDHAT-BUG-1243842?

    REDHAT-BUG-1243842 affects POST requests made through the IPython REST API.

  • Which versions of IPython are vulnerable to REDHAT-BUG-1243842?

    Versions of IPython from 2.x to 3.x are vulnerable to REDHAT-BUG-1243842.

  • Can external domains exploit REDHAT-BUG-1243842?

    Yes, web pages on different domains can exploit REDHAT-BUG-1243842 to perform non-AJAX POST requests to a user's IPython server.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203