Netscape Communicator JPEG评论堆覆盖漏洞

Netscape Communicator JPEG评论堆覆盖漏洞

漏洞ID 1105940 漏洞类型 输入验证
发布时间 2000-07-25 更新时间 2005-05-16
图片[1]-Netscape Communicator JPEG评论堆覆盖漏洞-安全小百科CVE编号 CVE-2000-0655
图片[2]-Netscape Communicator JPEG评论堆覆盖漏洞-安全小百科CNNVD-ID CNNVD-200007-067
漏洞平台 Multiple CVSS评分 5.0
|漏洞来源
https://www.exploit-db.com/exploits/20098
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200007-067
|漏洞详情
NetscapeCommunicator4.73及其之前版本存在漏洞。远程攻击者借助JPEG图像导致服务拒绝或者执行任意命令。该图像包含带有长度为1的非法字段的注释。
|漏洞EXP
source: http://www.securityfocus.com/bid/1503/info

Netscape Browsers use the Independent JPEG Group's decoder library to process JPEG encoded images. The library functions skip JPEG comments; however, the browser uses a custom function to process these comments and store them in memory. The comment includes a 2-byte "length" field which indicates how long the comment is - this value includes the 2-bytes of the "length" field. To determine the length of the comment string alone (for memory allocation), the function reads the value in the "length" field and subtracts two. The function then allocates the length of the comment + one byte for NULL termination. There is no error checking to ensure the "length" value is valid. This makes it possible to cause an overflow by creating an image with a comment "length" field containing the value 1. The memory allocation call of 0 bytes (1 minus 2 (length field) + 1 (null termination)) will succeed. The calculated comment size variable is declared unsigned, resulting in a large positive value (from 1 minus 2). The comment handling function goes into a loop to read the comment into memory, but since the calculated comment size is enormous this causes the function to read the entire JPEG stream, overwriting the heap. It is theoretically possible to exploit this to execute arbitrary code. The browser, mail and news readers are all vulnerable to this.

https://github.com/offensive-security/exploit-database-bin-sploits/raw/master/bin-sploits/20098.jpg
|参考资料

来源:BUGTRAQ
名称:20000724JPEGCOMMarkerProcessingVulnerabilityinNetscapeBrowsers
链接:http://www.securityfocus.com/frames/?content=/templates/archive.pike%3Flist%3D1%26msg%3D200007242356.DAA01274%40false.com
来源:TURBO
名称:TLSA2000017-1
链接:http://www.turbolinux.com/pipermail/tl-security-announce/2000-August/000016.html
来源:BID
名称:1503
链接:http://www.securityfocus.com/bid/1503
来源:REDHAT
名称:RHSA-2000:046
链接:http://www.redhat.com/support/errata/RHSA-2000-046.html
来源:SUSE
名称:20000823SecurityHoleinNetscape,Versions4.x,possiblyothers
链接:http://www.novell.com/linux/security/advisories/suse_security_announce_60.html
来源:BUGTRAQ
名称:20000810ConectivaLinuxSecurityAnnouncement-netscape
链接:http://archives.neohapsis.com/archives/bugtraq/2000-08/0116.html
来源:BUGTRAQ
名称:20000801MDKSA-2000:027-1netscapeupdate
链接:http://archives.neohapsis.com/archives/bugtraq/2000-07/0456.html
来源:NETBSD
名称:NetBSD-SA2000-011
链接:ftp://ftp.NetBSD.ORG/pub/NetBSD/misc/security/advisories/NetBSD-SA2000-011.txt.asc
来源:FREEBSD
名称:FreeBSD-

相关推荐: SCO Open Server 5.0.5 / IRIX 6.2 ibX11/X11 Toolkit/Athena Widget Library – Local Buffer Overflow

SCO Open Server 5.0.5 / IRIX 6.2 ibX11/X11 Toolkit/Athena Widget Library – Local Buffer Overflow 漏洞ID 1053434 漏洞类型 发布时间 1999-12-20…

© 版权声明
THE END
喜欢就支持一下吧
点赞0
分享