IPython JSON Error Responses Multiple XSS Vulnerability Fixed by 3.2


Description   Two cross-site scripting vulnerabilities have been identified in IPython:
A remote attacker can exploit it by manipulating URL parameters, used in the generation of error messages, in order to execute arbitrary code.
These vulnerabilities, located in /api/contents (CVE-2015-4706) and in /api/notebooks (CVE-2015-4707), are caused by a display of error messages in text/html format, instead of JSON.
Updated, 24/06/2015:
The ipython packages provided by Debian Jessie 8 are vulnerable.
The ipython packages provided by FreeBSD are vulnerable.
     
Vulnerable Products   Vulnerable OS:
FreeBSD (FreeBSD)GNU/Linux (Debian) - 8Vulnerable Software:
     
Solution   A patch is available on official git of IPython.
     
CVE   CVE-2015-4707
CVE-2015-4706
     
References   - OSS-SEC : CVE request: IPython XSS in JSON error responses
http://seclists.org/oss-sec/2015/q2/782
Debia Security Tracker : CVE-2015-4707
https://security-tracker.debian.org/tracker/CVE-2015-4707
-VuXML : devel/ipython -- remote execution
http://www.vuxml.org/freebsd/a4460ac7-192c-11e5-9c01-bcaec55be5e5.html
     
Vulnerability Manager Detection   No
     
IPS Protection  
ASQ Engine alarm Available Since
XSS - Prevention - GET : suspicious 'iframe' tag found in URL
3.2.0
XSS - Prevention - GET : suspicious 'meta' tag found in URL
3.2.0
XSS - Prevention - GET : suspicious tag with event found in URL
3.2.0
XSS - Prevention - GET : suspicious 'applet' tag found in URL
3.2.0
XSS - Phishing : suspicious 'div' tag found in URL
3.2.0
XSS - Prevention - GET : suspicious 'style' attribute found in URL
3.2.0
XSS - Prevention - GET : suspicious 'img' tag found in URL
3.2.0
XSS - Phishing : suspicious 'a' tag found in URL
3.2.0
XSS - Prevention - GET : cookie access attempt using script language found in URL
3.2.0
XSS - Prevention - GET : suspicious 'embed' tag found in URL
3.2.0
XSS - Prevention - GET : suspicious 'object' tag found in URL
3.2.0
XSS - Phishing : suspicious 'form' tag found in URL
3.2.0
XSS - Prevention - GET : javascript code found in URL
3.2.0
XSS - Prevention - GET : evasion attempt using tag characters encoding in URL
3.2.0
XSS - Prevention - GET : suspicious 'style' tag found in URL
3.2.0
XSS - Phishing : suspicious 'link' tag found in URL
3.2.0
XSS - Prevention - GET : 'script' tag found in URL
3.2.0
XSS - Prevention - GET : 'location' javascript object found in URL
3.2.0
XSS - Prevention - GET : suspicious 'div' tag found in URL
3.2.0
SQL injection Prevention - GET : Evasion attempt with CAST and EXEC statements
5.0.0
     


 
 
 
 
 Risk level 
Moderate 

 Vulnerability First Public Report Date 
2015-06-22 

 Target Type 
Client 

 Possible exploit 
Remote