Mozilla Products - 'Host:' Buffer Overflow (Denial of Service) (PoC) String

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1055380 漏洞类型
发布时间 2005-09-09 更新时间 2005-09-09
漏洞平台 Multiple CVSS评分 N/A

Mozilla Firefox <= 1.0.6 (Host:) Buffer Overflow DoS String
Formatted for your tesing /str0ke

Tom Ferris

Versions Affected:
Firefox Win32 1.0.6 and prior
Firefox Linux 1.0.6 and prior
Firefox 1.5 Beta 1 (Deer Park Alpha 2)

Technical Details:
The problem seems to be when a hostname which has all dashes causes the
NormalizeIDN call in nsStandardURL::BuildNormalizedSpec to return true,
but is sets encHost to an empty string.  Meaning, Firefox appends 0 to
approxLen and then appends the long string of dashes to the buffer
instead.  The following HTML code below will reproduce this issue:

<A HREF=https:--------------------------------------------- >


<A HREF=https:­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­ >

# [2005-09-09]