CVE-2002-1396
CVSS7.5
发布时间 :2003-01-17 00:00:00
修订时间 :2016-10-17 22:26:48
NMCOPS    

[原文]Heap-based buffer overflow in the wordwrap function in PHP after 4.1.2 and before 4.3.0 may allow attackers to cause a denial of service or execute arbitrary code.


[CNNVD]PHP wordwrap()远程堆破坏漏洞(CNNVD-200301-023)

        
        PHP是一款免费开放源代码的WEB脚本语言包,可使用在Microsoft Windows、Linux和Unix操作系统下。
        PHP语言中的wordwrap()函数对用户输入缺少正确缓冲区边界检查,远程攻击者可以利用这个漏洞进行基于堆的溢出攻击,可能以Web服务进程权限在系统上执行任意指令。
        攻击者提供超长参数wordwrap()函数,可以覆盖一个字节的内存信息,通过重定向程序流程到恶意指令,可以导致以Web服务进程权限在系统上执行任意指令。
        

- CVSS (基础分值)

CVSS分值: 7.5 [严重(HIGH)]
机密性影响: [--]
完整性影响: [--]
可用性影响: [--]
攻击复杂度: [--]
攻击向量: [--]
身份认证: [--]

- CPE (受影响的平台与产品)

cpe:/a:php:php:4.1.2PHP PHP 4.1.2
cpe:/a:php:php:4.2.1PHP PHP 4.2.1
cpe:/a:php:php:4.2.0PHP PHP 4.2.0
cpe:/a:php:php:4.2.3PHP PHP 4.2.3
cpe:/a:php:php:4.2.2PHP PHP 4.2.2

- OVAL (用于检测的技术细节)

未找到相关OVAL定义

- 官方数据库链接

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2002-1396
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2002-1396
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-200301-023
(官方数据源) CNNVD

- 其它链接及资源

http://archives.neohapsis.com/archives/linux/engarde/2003-q1/0003.html
(UNKNOWN)  ENGARDE  ESA-20030219-003
http://bugs.php.net/bug.php?id=20927
(VENDOR_ADVISORY)  CONFIRM  http://bugs.php.net/bug.php?id=20927
http://marc.info/?l=bugtraq&m=104102689503192&w=2
(UNKNOWN)  BUGTRAQ  20021227 Buffer overflow in PHP "wordwrap" function
http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:019
(UNKNOWN)  MANDRAKE  MDKSA-2003:019
http://www.novell.com/linux/security/advisories/2003_009_mod_php4.html
(UNKNOWN)  SUSE  SuSE-SA:2003:0009
http://www.redhat.com/support/errata/RHSA-2003-017.html
(UNKNOWN)  REDHAT  RHSA-2003:017
http://www.securityfocus.com/advisories/4862
(UNKNOWN)  GENTOO  200301-8
http://www.securityfocus.com/bid/6488
(VENDOR_ADVISORY)  BID  6488
http://xforce.iss.net/xforce/xfdb/10944
(VENDOR_ADVISORY)  XF  php-wordwrap-bo(10944)

- 漏洞信息

PHP wordwrap()远程堆破坏漏洞
高危 边界条件错误
2003-01-17 00:00:00 2005-05-13 00:00:00
远程  
        
        PHP是一款免费开放源代码的WEB脚本语言包,可使用在Microsoft Windows、Linux和Unix操作系统下。
        PHP语言中的wordwrap()函数对用户输入缺少正确缓冲区边界检查,远程攻击者可以利用这个漏洞进行基于堆的溢出攻击,可能以Web服务进程权限在系统上执行任意指令。
        攻击者提供超长参数wordwrap()函数,可以覆盖一个字节的内存信息,通过重定向程序流程到恶意指令,可以导致以Web服务进程权限在系统上执行任意指令。
        

- 公告与补丁

        厂商补丁:
        PHP
        ---
        目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载:
        PHP Upgrade PHP 4.3.0
        
        http://www.php.net/downloads.php

- 漏洞信息 (F30785)

RHSA-2003:017-06.txt (PacketStormID:F30785)
2003-02-05 00:00:00
Red Hat Security  redhat.com
overflow,php
linux,redhat
CVE-2002-1396
[点击下载]

Red Hat Security Advisory RHSA-2003:017-06 - Red Hat released new PHP packages that are no longer affected by the wordwrap() heap overflow vulnerability. These packages are available for Red Hat version 8.0.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-type" content="text/html;charset=utf-8" />
<title>RHSA-2003:017-06.txt ≈ Packet Storm</title>
<meta name="description" content="Information Security Services, News, Files, Tools, Exploits, Advisories and Whitepapers" />
<meta name="keywords" content="security,exploit,advisory,whitepaper,xss,csrf,overflow,scanner,vulnerability" />
<link rel="shortcut icon" href="/img/pss.ico" />
<link rel="stylesheet" media="screen,print,handheld" href="http://packetstatic.com/css1366870159/pss.css" type="text/css" />
<!--[if lt ie 8]><link rel="stylesheet" type="text/css" href="http://packetstatic.com/css1366870159/ie.css" /><![endif]-->
<script type="text/javascript" src="http://packetstatic.com/js1366870155/pt.js"></script>
<script type="text/javascript" src="http://packetstatic.com/js1366870155/pss.js"></script>
<link rel="search" type="application/opensearchdescription+xml" href="http://packetstormsecurity.com/opensearch.xml" title="Packet Storm Site Search" />
<link rel="alternate" type="application/rss+xml" title="Packet Storm Headlines" href="http://rss.packetstormsecurity.com/news/" />
<link rel="alternate" type="application/rss+xml" title="Packet Storm Recent Files" href="http://rss.packetstormsecurity.com/files/" />
<link rel="alternate" type="application/rss+xml" title="Packet Storm Exploits" href="http://rss.packetstormsecurity.com/files/tags/exploit/" />
<link rel="alternate" type="application/rss+xml" title="Packet Storm Advisories" href="http://rss.packetstormsecurity.com/files/tags/advisory/" />
</head>
<body id="files">
<div id="t">
   <div id="tc">
      <a id="top" href="/"><img src="http://packetstatic.com/img1353978071/ps_logo.png" width="315" height="65" id="logo" alt="packet storm" /></a>
      <div id="slogan">all things security
</div>
      <div id="account"><a href="https://packetstormsecurity.com/account/register/">Register</a> | <a href="https://packetstormsecurity.com/account/login/">Login</a></div>
      <div id="search">
        <form method="get" action="/search/"><input type="text" name="q" id="q" maxlength="120" value="Search …" /><button type="submit"></button><div id="q-tabs"><label for="s-files" class="on">Files</label><label for="s-news">News</label><label for="s-users">Users</label><label for="s-authors">Authors</label><input type="radio" value="files" name="s" id="s-files" /><input type="radio" value="news" name="s" id="s-news" /><input type="radio" value="users" name="s" id="s-users" /><input type="radio" value="authors" name="s" id="s-authors" /></div></form>
      </div>
   </div>
    <div id="tn"><div id="tnc">
        <a href="/" id="tn-home"><span>Home</span></a> <a href="/files/" id="tn-files"><span>Files</span></a> <a href="/news/" id="tn-news"><span>News</span></a> <a href="/about/" id="tn-about"><span>About</span></a> <a href="/contact/" id="tn-contact"><span>Contact</span></a> <a href="/submit/" id="tn-submit"><span>Add New</span></a>
    </div></div>
    <div id="tn2"></div>
</div>

<div id="c">

 <div id="cc">
     <div id="m">
    

    
    
    
     
    <div class="h1"><h1>RHSA-2003:017-06.txt</h1></div>
<dl id="F30785" class="file first">
<dt><a class="ico text-plain" href="/files/download/30785/RHSA-2003%3A017-06.txt" title="Size: 8 KB"><strong>RHSA-2003:017-06.txt</strong></a></dt>
<dd class="datetime">Posted <a href="/files/date/2003-02-05/" title="11:06:41 UTC">Feb  5, 2003</a></dd>
<dd class="refer">Authored by <a href="/files/author/2536/" class="person">Red Hat Security</a> | Site <a href="http://www.redhat.com/support/errata">redhat.com</a></dd>
<dd class="detail"><p>Red Hat Security Advisory RHSA-2003:017-06 - Red Hat released new PHP packages that are no longer affected by the wordwrap() heap overflow vulnerability. These packages are available for Red Hat version 8.0.</p></dd>
<dd class="tags"><span>tags</span> | <a href="/files/tags/overflow">overflow</a>, <a href="/files/tags/php">php</a></dd>
<dd class="os"><span>systems</span> | <a href="/files/os/linux">linux</a>, <a href="/files/os/redhat">redhat</a></dd>
<dd class="cve"><span>advisories</span> | <a href="/files/cve/CVE-2002-1396">CVE-2002-1396</a></dd>
<dd class="md5"><span>MD5</span> | <code>6921364932b648cd41620bdc9561be65</code></dd>
<dd class="act-links"><a href="/files/download/30785/RHSA-2003%3A017-06.txt" title="Size: 8 KB" rel="nofollow">Download</a> | <a href="/files/favorite/30785/" class="fav" rel="nofollow">Favorite</a> | <a href="/files/30785/RHSA-2003-017-06.txt.html">Comments <span>(0)</span></a></dd>
</dl>
<div id="extra-links"><a href="/files/related/30785/RHSA-2003-017-06.txt.html" id="related">Related Files</a><div id="share">
<h2>Share This</h2>
<ul>
<li><iframe scrolling="no" frameborder="0" allowtransparency="true" style="border: medium none; overflow: hidden; width: 80px; height: 21px;" src="http://www.facebook.com/plugins/like.php?href=http://packetstormsecurity.com/files/30785/RHSA-2003-017-06.txt.html&layout=button_count&show_faces=true&width=250&action=like&font&colorscheme=light&height=21"></iframe></li><li><iframe scrolling="no" frameborder="0" tabindex="0" allowtransparency="true" src="http://platform0.twitter.com/widgets/tweet_button.html?_=1286138321418&count=horizontal&lang=en&text=RHSA-2003:017-06.txt&url=http://packetstormsecurity.com/files/30785/RHSA-2003-017-06.txt.html&via=packet_storm" style="width: 110px; height: 20px;" title="Twitter"></iframe></li><li><a href="http://www.linkedin.com/shareArticle?mini=true&url=http://packetstormsecurity.com/files/30785/RHSA-2003-017-06.txt.html&title=RHSA-2003:017-06.txt&source=Packet+Storm" class="LinkedIn">LinkedIn</a></li><li><a href="http://www.reddit.com/submit?url=http://packetstormsecurity.com/files/30785/RHSA-2003-017-06.txt.html&title=RHSA-2003:017-06.txt" class="Reddit">Reddit</a></li><li><a href="http://digg.com/submit?phase=2&url=http://packetstormsecurity.com/files/30785/RHSA-2003-017-06.txt.html" class="Digg">Digg</a></li><li><a href="http://www.stumbleupon.com/submit?url=http://packetstormsecurity.com/files/30785/RHSA-2003-017-06.txt.html&title=RHSA-2003:017-06.txt" class="StumbleUpon">StumbleUpon</a></li></ul>
</div>
</div>
<div class="h1"><h1>RHSA-2003:017-06.txt</h1></div>
<div class="src">
<div><a href="/mirrors/">Change Mirror</a> <a href="/files/download/30785/RHSA-2003%3A017-06.txt">Download</a></div>
<pre><code>From redhat-watch-list-admin@redhat.com Wed Feb  5 00:39:28 2003<br />Return-Path: <redhat-watch-list-admin@redhat.com><br />Received: from listman.redhat.com([66.187.233.211]) (7900 bytes) by packetstormsecurity.org<br />  via smail with P:esmtp/D:user/T:local<br />  (sender: <redhat-watch-list-admin@redhat.com>) <br />  id <m18gL5c-000QyAb@packetstormsecurity.org><br />  for <packet@packetstormsecurity.org>; Wed, 5 Feb 2003 00:39:28 -0800 (PST)<br />  (Smail-3.2.0.111 2000-Feb-17 #9 built 2000-Apr-13)<br />Received: from listman.redhat.com (localhost.localdomain [127.0.0.1])<br />  by listman.redhat.com (Postfix) with ESMTP<br />  id 039133F950; Wed,  5 Feb 2003 03:48:45 -0500 (EST)<br />Delivered-To: redhat-watch-list@listman.redhat.com<br />Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254])<br />  by listman.redhat.com (Postfix) with ESMTP id CFCE93EB07<br />  for <redhat-watch-list@listman.redhat.com>; Wed,  5 Feb 2003 03:42:37 -0500 (EST)<br />Received: from lacrosse.corp.redhat.com (IDENT:root@lacrosse.corp.redhat.com [172.16.52.154])<br />  by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h158gba05100<br />  for <redhat-watch-list@listman.redhat.com>; Wed, 5 Feb 2003 03:42:37 -0500<br />Received: (from mail@localhost)<br />  by lacrosse.corp.redhat.com (8.11.6/8.9.3) id h158gbZ13397<br />  for redhat-watch-list@listman.redhat.com; Wed, 5 Feb 2003 03:42:37 -0500<br />Received: from porkchop.devel.redhat.com (porkchop.devel.redhat.com [172.16.58.2])<br />  by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id h158gaH13384;<br />  Wed, 5 Feb 2003 03:42:36 -0500<br />Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])<br />  by porkchop.devel.redhat.com (8.11.6/8.11.6) with SMTP id h158gaZ05364;<br />  Wed, 5 Feb 2003 03:42:36 -0500<br />Message-Id: <200302050842.h158gaZ05364@porkchop.devel.redhat.com><br />Mime-version: 1.0<br />Content-type: text/plain; charset="iso-8859-1"<br />Subject: [RHSA-2003:017-06] Updated PHP packages available<br />From: bugzilla@redhat.com<br />To: redhat-watch-list@redhat.com, redhat-announce-list@redhat.com<br />Cc: bugtraq@securityfocus.com, full-disclosure@lists.netsys.com<br />Content-Transfer-Encoding: 8bit<br />X-MIME-Autoconverted: from quoted-printable to 8bit by lacrosse.corp.redhat.com id h158gaH13384<br />X-Loop: redhat-watch-list@redhat.com<br />Sender: redhat-watch-list-admin@redhat.com<br />Errors-To: redhat-watch-list-admin@redhat.com<br />X-BeenThere: redhat-watch-list@redhat.com<br />X-Mailman-Version: 2.0.1<br />Precedence: bulk<br />List-Help: <mailto:redhat-watch-list-request@redhat.com?subject=help><br />List-Post: <mailto:redhat-watch-list@redhat.com><br />List-Subscribe: <https://listman.redhat.com/mailman/listinfo/redhat-watch-list>,<br />  <mailto:redhat-watch-list-request@redhat.com?subject=subscribe><br />List-Id: Security and bugfix announcements for Red Hat software products <redhat-watch-list.redhat.com><br />List-Unsubscribe: <https://listman.redhat.com/mailman/listinfo/redhat-watch-list>,<br />  <mailto:redhat-watch-list-request@redhat.com?subject=unsubscribe><br />List-Archive: <https://listman.redhat.com/pipermail/redhat-watch-list/><br />Date: Wed, 5 Feb 2003 03:42 -0500<br />Status: RO<br />Content-Length: 5199<br />Lines: 141<br /><br />---------------------------------------------------------------------<br />                   Red Hat, Inc. Red Hat Security Advisory<br /><br />Synopsis:          Updated PHP packages available<br />Advisory ID:       RHSA-2003:017-06<br />Issue date:        2003-01-21<br />Updated on:        2003-02-04<br />Product:           Red Hat Linux<br />Keywords:          PHP wordwrap<br />Cross references:  <br />Obsoletes:         <br />CVE Names:         CAN-2002-1396<br />---------------------------------------------------------------------<br /><br />1. Topic:<br /><br />Updated PHP packages are available that fix a vulnerability in the<br />wordwrap() function and a number of compatibility bugs.<br /><br />2. Relevant releases/architectures:<br /><br />Red Hat Linux 8.0 - i386<br /><br />3. Problem description:<br /><br />PHP is an HTML-embedded scripting language commonly used with the Apache<br />HTTP server.<br /><br />A heap-based buffer overflow was found in the wordwrap() function in PHP<br />versions after 4.1.2 and before 4.3.0.  If wordwrap() is used on<br />user-supplied input this could allow remote attackers to cause a denial of<br />service or execute arbitrary code.<br /><br />Red Hat Linux 8.0 shipped with a version of PHP that was vulnerable to this<br />issue.  Other Red Hat Linux distributions shipped with an earlier version<br />of PHP and are not vulnerable to this issue.<br /><br />In addition, a number of compatiblity bugs have also been found between PHP<br />4.2 and Apache 2.0.<br /><br />All users of PHP are advised to upgrade to these erratum packages which<br />contain a patch to correct these issues.<br /><br />4. Solution:<br /><br />Before applying this update, make sure all previously released errata<br />relevant to your system have been applied.<br /><br />To update all RPMs for your particular architecture, run:<br /><br />rpm -Fvh [filenames]<br /><br />where [filenames] is a list of the RPMs you wish to upgrade.  Only those<br />RPMs which are currently installed will be updated.  Those RPMs which are<br />not installed but included in the list will not be updated.  Note that you<br />can also use wildcards (*.rpm) if your current directory *only* contains<br />the desired RPMs.<br /><br />Please note that this update is also available via Red Hat Network.  Many<br />people find this an easier way to apply updates.  To use Red Hat Network,<br />launch the Red Hat Update Agent with the following command:<br /><br />up2date<br /><br />This will start an interactive process that will result in the appropriate<br />RPMs being upgraded on your system.<br /><br />5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info):<br /><br />74396 - safe mode not working in php-4.2.2-8.0.5<br />75029 - PHP with Apache 2.0: getlastmod function fails<br />75712 - php4 with apache 2, getenv(ANYTHING) returns blank string<br />75878 - Apache caches requests by default, or there is some bug around.<br />78586 - Invalid command php_flag<br /><br />6. RPMs required:<br /><br />Red Hat Linux 8.0:<br /><br />SRPMS:<br />ftp://updates.redhat.com/8.0/en/os/SRPMS/php-4.2.2-8.0.7.src.rpm<br /><br />i386:<br />ftp://updates.redhat.com/8.0/en/os/i386/php-4.2.2-8.0.7.i386.rpm<br />ftp://updates.redhat.com/8.0/en/os/i386/php-devel-4.2.2-8.0.7.i386.rpm<br />ftp://updates.redhat.com/8.0/en/os/i386/php-imap-4.2.2-8.0.7.i386.rpm<br />ftp://updates.redhat.com/8.0/en/os/i386/php-ldap-4.2.2-8.0.7.i386.rpm<br />ftp://updates.redhat.com/8.0/en/os/i386/php-manual-4.2.2-8.0.7.i386.rpm<br />ftp://updates.redhat.com/8.0/en/os/i386/php-mysql-4.2.2-8.0.7.i386.rpm<br />ftp://updates.redhat.com/8.0/en/os/i386/php-pgsql-4.2.2-8.0.7.i386.rpm<br />ftp://updates.redhat.com/8.0/en/os/i386/php-odbc-4.2.2-8.0.7.i386.rpm<br />ftp://updates.redhat.com/8.0/en/os/i386/php-snmp-4.2.2-8.0.7.i386.rpm<br /><br /><br /><br />7. Verification:<br /><br />MD5 sum                          Package Name<br />--------------------------------------------------------------------------<br />6142b2ac0eb22a2f6b33724ab5f40c72 8.0/en/os/SRPMS/php-4.2.2-8.0.7.src.rpm<br />ee10926c45bf9fb9cdd3694700662711 8.0/en/os/i386/php-4.2.2-8.0.7.i386.rpm<br />370779db08cf8f7f8346b516fc4ebbde 8.0/en/os/i386/php-devel-4.2.2-8.0.7.i386.rpm<br />ce94c1398ec3e5a2edc4455e4949da70 8.0/en/os/i386/php-imap-4.2.2-8.0.7.i386.rpm<br />5a7ecb7ce8ceb67ca53f1daa15488957 8.0/en/os/i386/php-ldap-4.2.2-8.0.7.i386.rpm<br />d7d2b4aeac657ea17d5d4a3a9f72eb51 8.0/en/os/i386/php-manual-4.2.2-8.0.7.i386.rpm<br />5174df281714e3bf550d5697df326be4 8.0/en/os/i386/php-mysql-4.2.2-8.0.7.i386.rpm<br />ed2a793624ad2869da4c09f38d88bb75 8.0/en/os/i386/php-odbc-4.2.2-8.0.7.i386.rpm<br />dd19149ccecab409296cdb7feaf8dd2e 8.0/en/os/i386/php-pgsql-4.2.2-8.0.7.i386.rpm<br />d7b8bdc55e9cc453f1639f1c34c118ef 8.0/en/os/i386/php-snmp-4.2.2-8.0.7.i386.rpm<br /><br /><br />These packages are GPG signed by Red Hat, Inc. for security.  Our key<br />is available at http://www.redhat.com/about/contact/pgpkey.html<br /><br />You can verify each package with the following command:<br />    <br />    rpm --checksig -v <filename><br /><br />If you only wish to verify that each package has not been corrupted or<br />tampered with, examine only the md5sum with the following command:<br />    <br />    md5sum <filename><br /><br /><br />8. References:<br /><br />http://marc.theaimsgroup.com/?l=bugtraq&m=104102689503192<br />http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-1396<br /><br />9. Contact:<br /><br />The Red Hat security contact is <security@redhat.com>.  More contact<br />details at http://www.redhat.com/solutions/security/news/contact.html<br /><br />Copyright 2003 Red Hat, Inc.<br /><br /><br /><br /></code></pre>
</div>
<div id="comments">
<h2>Comments</h2><a href="http://rss.packetstormsecurity.com/files/30785" class="rss-cmt"><img src="http://packetstatic.com/img1353978071/bt_rss.gif" width="16" height="16" alt="RSS Feed" /> <span>Subscribe to this comment feed</span></a><br /><p id="comment-none">No comments yet, be the first!</p></div>
<div id="comment-form" style="display:none"></div><div id="comment-login"><a href="https://packetstormsecurity.com/account/login/">Login</a> or <a href="https://packetstormsecurity.com/account/register/">Register</a> to post a comment</div>
    
    
     </div>
    
      <div id="adblock">
        
      </div>
      <div id="mn">
        <div class="mn-like-us">
<ul>
<li><a href="https://twitter.com/packet_storm"><img src="http://packetstatic.com/img1353978071/s_twitter.png" width="24" height="24" alt="Follow on Twitter" /> Follow us on Twitter</a></li>
<li><a href="https://www.facebook.com/packetstormfeed"><img src="http://packetstatic.com/img1353978071/s_facebook.png" width="24" height="24" alt="Follow on Facebook" /> Follow us on Facebook</a></li>
<li><a href="/feeds"><img src="http://packetstatic.com/img1353978071/s_rss.png" width="24" height="24" alt="View RSS Feeds" /> Subscribe to an RSS Feed</a></li>
</ul>
</div>
<div class="mn-like-us"><ul><li style="border-color: #afa; background: #efe"><a style="border-color: #6f6; background: #afa; color: #060; padding-left: 0;" href="/bugbounty/"><span style="color:#393">$ $ $</span>  Write Exploits? Get Paid!</a></li></ul></div>
<div>
<form id="cal" action="/files/cal/" method="post">
<h2>File Archive:</h2><h3>April 2013</h3>
<button id="cal-prev" name="cal-prev" type="button" value="2013-4"><span><</span></button><ul class="dotw"><li>Su</li><li>Mo</li><li>Tu</li><li>We</li><li>Th</li><li>Fr</li><li>Sa</li></ul>
<ul><li></li><li class="low"><a href="/files/date/2013-04-01/">1</a><div class="stats"><div class="point"></div><div class="date">Apr 1st</div><div class="count">10 Files</div></div></li><li class="med"><a href="/files/date/2013-04-02/">2</a><div class="stats"><div class="point"></div><div class="date">Apr 2nd</div><div class="count">15 Files</div></div></li><li class="med"><a href="/files/date/2013-04-03/">3</a><div class="stats"><div class="point"></div><div class="date">Apr 3rd</div><div class="count">16 Files</div></div></li><li class="med"><a href="/files/date/2013-04-04/">4</a><div class="stats"><div class="point"></div><div class="date">Apr 4th</div><div class="count">15 Files</div></div></li><li class="med"><a href="/files/date/2013-04-05/">5</a><div class="stats"><div class="point"></div><div class="date">Apr 5th</div><div class="count">30 Files</div></div></li><li class="low"><a href="/files/date/2013-04-06/">6</a><div class="stats"><div class="point"></div><div class="date">Apr 6th</div><div class="count">4 Files</div></div></li></ul>
<ul><li class="low"><a href="/files/date/2013-04-07/">7</a><div class="stats"><div class="point"></div><div class="date">Apr 7th</div><div class="count">12 Files</div></div></li><li class="med"><a href="/files/date/2013-04-08/">8</a><div class="stats"><div class="point"></div><div class="date">Apr 8th</div><div class="count">23 Files</div></div></li><li class="med"><a href="/files/date/2013-04-09/">9</a><div class="stats"><div class="point"></div><div class="date">Apr 9th</div><div class="count">26 Files</div></div></li><li class="med"><a href="/files/date/2013-04-10/">10</a><div class="stats"><div class="point"></div><div class="date">Apr 10th</div><div class="count">30 Files</div></div></li><li class="high"><a href="/files/date/2013-04-11/">11</a><div class="stats"><div class="point"></div><div class="date">Apr 11th</div><div class="count">63 Files</div></div></li><li class="low"><a href="/files/date/2013-04-12/">12</a><div class="stats"><div class="point"></div><div class="date">Apr 12th</div><div class="count">12 Files</div></div></li><li class="low"><a href="/files/date/2013-04-13/">13</a><div class="stats"><div class="point"></div><div class="date">Apr 13th</div><div class="count">3 Files</div></div></li></ul>
<ul><li class="low"><a href="/files/date/2013-04-14/">14</a><div class="stats"><div class="point"></div><div class="date">Apr 14th</div><div class="count">2 Files</div></div></li><li class="low"><a href="/files/date/2013-04-15/">15</a><div class="stats"><div class="point"></div><div class="date">Apr 15th</div><div class="count">11 Files</div></div></li><li class="med"><a href="/files/date/2013-04-16/">16</a><div class="stats"><div class="point"></div><div class="date">Apr 16th</div><div class="count">16 Files</div></div></li><li class="med"><a href="/files/date/2013-04-17/">17</a><div class="stats"><div class="point"></div><div class="date">Apr 17th</div><div class="count">15 Files</div></div></li><li class="med"><a href="/files/date/2013-04-18/">18</a><div class="stats"><div class="point"></div><div class="date">Apr 18th</div><div class="count">15 Files</div></div></li><li class="med"><a href="/files/date/2013-04-19/">19</a><div class="stats"><div class="point"></div><div class="date">Apr 19th</div><div class="count">19 Files</div></div></li><li class="low"><a href="/files/date/2013-04-20/">20</a><div class="stats"><div class="point"></div><div class="date">Apr 20th</div><div class="count">3 Files</div></div></li></ul>
<ul><li class="low"><a href="/files/date/2013-04-21/">21</a><div class="stats"><div class="point"></div><div class="date">Apr 21st</div><div class="count">3 Files</div></div></li><li class="low"><a href="/files/date/2013-04-22/">22</a><div class="stats"><div class="point"></div><div class="date">Apr 22nd</div><div class="count">12 Files</div></div></li><li class="low"><a href="/files/date/2013-04-23/">23</a><div class="stats"><div class="point"></div><div class="date">Apr 23rd</div><div class="count">13 Files</div></div></li><li class="low"><a href="/files/date/2013-04-24/">24</a><div class="stats"><div class="point"></div><div class="date">Apr 24th</div><div class="count">11 Files</div></div></li><li class="none today"><a href="/files/date/2013-04-25/">25</a><div class="stats"><div class="point"></div><div class="date">Apr 25th</div><div class="count">0 Files</div></div></li><li class="none"><a href="/files/date/2013-04-26/">26</a><div class="stats"><div class="point"></div><div class="date">Apr 26th</div><div class="count">0 Files</div></div></li><li class="none"><a href="/files/date/2013-04-27/">27</a><div class="stats"><div class="point"></div><div class="date">Apr 27th</div><div class="count">0 Files</div></div></li></ul>
<ul><li class="none"><a href="/files/date/2013-04-28/">28</a><div class="stats"><div class="point"></div><div class="date">Apr 28th</div><div class="count">0 Files</div></div></li><li class="none"><a href="/files/date/2013-04-29/">29</a><div class="stats"><div class="point"></div><div class="date">Apr 29th</div><div class="count">0 Files</div></div></li><li class="none"><a href="/files/date/2013-04-30/">30</a><div class="stats"><div class="point"></div><div class="date">Apr 30th</div><div class="count">0 Files</div></div></li><li></li><li></li><li></li><li></li></ul>
</form></div>
<div id="mn-top-author" class="top-ten">
<h2>Top Authors In Last 30 Days</h2>
<ul>
<li><a href="/files/authors/3786">Mandriva</a> <span>126 files</span></li>
<li><a href="/files/authors/4676">Red Hat</a> <span>44 files</span></li>
<li><a href="/files/authors/3695">Ubuntu</a> <span>28 files</span></li>
<li><a href="/files/authors/2985">Cisco Systems</a> <span>17 files</span></li>
<li><a href="/files/authors/2821">Debian</a> <span>11 files</span></li>
<li><a href="/files/authors/4612">HP</a> <span>11 files</span></li>
<li><a href="/files/authors/8993">juan vazquez</a> <span>9 files</span></li>
<li><a href="/files/authors/8123">Michael Messner</a> <span>7 files</span></li>
<li><a href="/files/authors/8035">High-Tech Bridge SA</a> <span>7 files</span></li>
<li><a href="/files/authors/8982">Slackware Security Team</a> <span>7 files</span></li>
</ul>
</div>
<div id="mn-tag-file"><h2>File Tags</h2><ul><li><a href="/files/tags/activex/">ActiveX</a> <span>(873)</span></li><li><a href="/files/tags/advisory/">Advisory</a> <span>(55,748)</span></li><li><a href="/files/tags/arbitrary/">Arbitrary</a> <span>(8,747)</span></li><li><a href="/files/tags/bbs/">BBS</a> <span>(2,859)</span></li><li><a href="/files/tags/bypass/">Bypass</a> <span>(575)</span></li><li><a href="/files/tags/cgi/">CGI</a> <span>(847)</span></li><li><a href="/files/tags/code_execution/">Code Execution</a> <span>(3,370)</span></li><li><a href="/files/tags/cracker/">Cracker</a> <span>(685)</span></li><li><a href="/files/tags/csrf/">CSRF</a> <span>(1,857)</span></li><li><a href="/files/tags/denial_of_service/">DoS</a> <span>(14,917)</span></li><li><a href="/files/tags/encryption/">Encryption</a> <span>(2,115)</span></li><li><a href="/files/tags/exploit/">Exploit</a> <span>(29,367)</span></li><li><a href="/files/tags/file_inclusion/">File Inclusion</a> <span>(3,386)</span></li><li><a href="/files/tags/firewall/">Firewall</a> <span>(748)</span></li><li><a href="/files/tags/info_disclosure/">Info Disclosure</a> <span>(1,212)</span></li><li><a href="/files/tags/intrusion_detection/">Intrusion Detection</a> <span>(663)</span></li><li><a href="/files/tags/java/">Java</a> <span>(1,320)</span></li><li><a href="/files/tags/javascript/">JavaScript</a> <span>(503)</span></li><li><a href="/files/tags/kernel/">Kernel</a> <span>(2,825)</span></li><li><a href="/files/tags/local/">Local</a> <span>(10,570)</span></li><li><a href="/files/tags/magazine/">Magazine</a> <span>(503)</span></li><li><a href="/files/tags/overflow/">Overflow</a> <span>(8,311)</span></li><li><a href="/files/tags/perl/">Perl</a> <span>(1,213)</span></li><li><a href="/files/tags/php/">PHP</a> <span>(3,984)</span></li><li><a href="/files/tags/proof_of_concept/">Proof of Concept</a> <span>(1,589)</span></li><li><a href="/files/tags/protocol/">Protocol</a> <span>(1,839)</span></li><li><a href="/files/tags/python/">Python</a> <span>(705)</span></li><li><a href="/files/tags/remote/">Remote</a> <span>(19,367)</span></li><li><a href="/files/tags/root/">Root</a> <span>(2,443)</span></li><li><a href="/files/tags/scanner/">Scanner</a> <span>(1,317)</span></li><li><a href="/files/tags/tool/">Security Tool</a> <span>(5,638)</span></li><li><a href="/files/tags/shell/">Shell</a> <span>(1,943)</span></li><li><a href="/files/tags/shellcode/">Shellcode</a> <span>(772)</span></li><li><a href="/files/tags/sniffer/">Sniffer</a> <span>(781)</span></li><li><a href="/files/tags/spoof/">Spoof</a> <span>(1,653)</span></li><li><a href="/files/tags/sql_injection/">SQL Injection</a> <span>(12,575)</span></li><li><a href="/files/tags/tcp/">TCP</a> <span>(1,961)</span></li><li><a href="/files/tags/trojan/">Trojan</a> <span>(541)</span></li><li><a href="/files/tags/udp/">UDP</a> <span>(713)</span></li><li><a href="/files/tags/virus/">Virus</a> <span>(573)</span></li><li><a href="/files/tags/vulnerability/">Vulnerability</a> <span>(22,058)</span></li><li><a href="/files/tags/web/">Web</a> <span>(5,497)</span></li><li><a href="/files/tags/paper/">Whitepaper</a> <span>(2,850)</span></li><li><a href="/files/tags/x86/">x86</a> <span>(585)</span></li><li><a href="/files/tags/xss/">XSS</a> <span>(12,267)</span></li><li><a href="/files/tags/">Other</a></li></ul></div><div id="mn-arch-file"><h2>File Archives</h2><ul><li><a href="/files/date/2013-04/">April 2013</a></li><li><a href="/files/date/2013-03/">March 2013</a></li><li><a href="/files/date/2013-02/">February 2013</a></li><li><a href="/files/date/2013-01/">January 2013</a></li><li><a href="/files/date/2012-12/">December 2012</a></li><li><a href="/files/date/2012-11/">November 2012</a></li><li><a href="/files/date/2012-10/">October 2012</a></li><li><a href="/files/date/2012-09/">September 2012</a></li><li><a href="/files/date/2012-08/">August 2012</a></li><li><a href="/files/date/2012-07/">July 2012</a></li><li><a href="/files/date/2012-06/">June 2012</a></li><li><a href="/files/date/2012-05/">May 2012</a></li><li><a href="/files/date/">Older</a></li></ul></div><div id="mn-os-file"><h2>Systems</h2><ul><li><a href="/files/os/aix/">AIX</a> <span>(371)</span></li><li><a href="/files/os/apple/">Apple</a> <span>(1,067)</span></li><li><a href="/files/os/bsd/">BSD</a> <span>(305)</span></li><li><a href="/files/os/cisco/">Cisco</a> <span>(1,393)</span></li><li><a href="/files/os/debian/">Debian</a> <span>(4,133)</span></li><li><a href="/files/os/fedora/">Fedora</a> <span>(1,663)</span></li><li><a href="/files/os/freebsd/">FreeBSD</a> <span>(1,053)</span></li><li><a href="/files/os/gentoo/">Gentoo</a> <span>(2,646)</span></li><li><a href="/files/os/hpux/">HPUX</a> <span>(735)</span></li><li><a href="/files/os/iphone/">iPhone</a> <span>(99)</span></li><li><a href="/files/os/irix/">IRIX</a> <span>(218)</span></li><li><a href="/files/os/juniper/">Juniper</a> <span>(63)</span></li><li><a href="/files/os/linux/">Linux</a> <span>(23,246)</span></li><li><a href="/files/os/osx/">Mac OS X</a> <span>(453)</span></li><li><a href="/files/os/mandriva/">Mandriva</a> <span>(2,472)</span></li><li><a href="/files/os/netbsd/">NetBSD</a> <span>(244)</span></li><li><a href="/files/os/openbsd/">OpenBSD</a> <span>(422)</span></li><li><a href="/files/os/redhat/">RedHat</a> <span>(3,170)</span></li><li><a href="/files/os/slackware/">Slackware</a> <span>(447)</span></li><li><a href="/files/os/solaris/">Solaris</a> <span>(1,524)</span></li><li><a href="/files/os/suse/">SUSE</a> <span>(1,440)</span></li><li><a href="/files/os/ubuntu/">Ubuntu</a> <span>(3,312)</span></li><li><a href="/files/os/unix/">UNIX</a> <span>(7,126)</span></li><li><a href="/files/os/unixware/">UnixWare</a> <span>(152)</span></li><li><a href="/files/os/windows/">Windows</a> <span>(4,233)</span></li><li><a href="/files/os/">Other</a></li></ul></div>
      </div>

  </div>

</div>

<div id="f">
  <div id="fc">

    <div class="f-box" style="margin: 50px 0 0 0;">
        <a href="/"><img src="http://packetstatic.com/img1353978071/ps_logo.png" width="218" alt="packet storm" /></a>
    <p class="copy">© 2013 Packet Storm. All rights reserved.</p>
    </div>

    <div class="f-box">
    <dl>
      <dt>Site Links</dt>
      <dd><a href="/news/date/">News by Month</a></dd>
      <dd><a href="/news/tags/">News Tags</a></dd>
      <dd><a href="/files/date/">Files by Month</a></dd>
      <dd><a href="/files/tags/">File Tags</a></dd>
      <dd><a href="/files/directory/">File Directory</a></dd>
    </dl>    
    </div>

    <div class="f-box">
    <dl>
      <dt>About Us</dt>
      <dd><a href="/about/">History & Purpose</a></dd>
      <dd><a href="/contact/">Contact Information</a></dd>
      <dd><a href="/legal/tos.html">Terms of Service</a></dd>
      <dd><a href="/legal/privacy.html">Privacy Statement</a></dd>
      <dd><a href="/legal/copyright.html">Copyright Information</a></dd>
    </dl>
    </div>

    <div class="f-box">
	<dl>
      <dt>Services</dt>
      <dd><a href="/services/">Security Services</a></dd>
      <dt style="margin-top:1.5em;">Hosting By</dt>
      <dd><a href="http://www.rokabear.com/">Rokabear</a></dd>
      <dd><a href="/mirrors/">Global Mirror List</a></dd>
    </dl>   
    </div>
    <div class="f-box">
    <ul class="f-follow">
     <li><a href="https://twitter.com/packet_storm"><img width="24" height="24" alt="Follow on Twitter" src="http://packetstatic.com/img1353978071/s_twitter.png" /> Follow us on Twitter</a></li>
     <li><a href="https://www.facebook.com/packetstormfeed"><img width="24" height="24" alt="Follow on Facebook" src="http://packetstatic.com/img1353978071/s_facebook.png" /> Follow us on Facebook</a></li>
     <li><a href="/feeds"><img width="24" height="24" alt="View RSS Feeds" src="http://packetstatic.com/img1353978071/s_rss.png" /> Subscribe to an RSS Feed</a></li>
    </ul>
    </div>

  </div>
</div>

<div id="o-box"><img src="http://packetstatic.com/img1353978071/o_close.png" alt="close" height="30" width="30" id="o-close" /><div id="o-main"></div></div>


<script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-18885198-1']); _gaq.push(['_setDomainName', '.packetstormsecurity.com']); _gaq.push(['_trackPageview']); (function() {var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);})(); </script><noscript><img src="http://www.google-analytics.com/__utm.gif?utmwv=1.3&utmn=1376713121&utmcs=ISO-8859-1&utmsr=31337x31337&utmsc=32-bit&utmul=en-us&utmje=0&utmfl=-&utmcn=1&utmdt=RHSA-2003%3A017-06.txt%u2248%20Packet%20Storm&utmhn=packetstormsecurity.com&utmr=-&utmp=%2Ffiles%2F30785%2F&utmac=UA-18885198-1&utmcc=__utma%3D32867617.1376713121.1366884927.1366884927.1366884927.1%3B%2B__utmz%3D32867617.1366884927.1.1.utmccn%3D(direct)%7Cutmcsr%3D(direct)%7Cutmcmd%3D(none)" width="2" height="2" alt="" /></noscript>
<!-- Thu, 25 Apr 2013 10:15:24 GMT -->
</body>
</html>
    

- 漏洞信息

14530
PHP wordwrap() Function Overflow
Input Manipulation
Loss of Integrity

- 漏洞描述

Unknown or Incomplete

- 时间线

2002-12-27 Unknow
Unknow Unknow

- 解决方案

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

PHP wordwrap() Heap Corruption Vulnerability
Boundary Condition Error 6488
Yes No
2002-12-27 12:00:00 2009-07-11 07:17:00
Discovery of this vulnerability is credited to "David F. Skoll" <dfs@roaringpenguin.com>.

- 受影响的程序版本

PHP PHP 4.2.3
+ EnGarde Secure Linux 1.0.1
+ MandrakeSoft Corporate Server 2.1 x86_64
+ MandrakeSoft Corporate Server 2.1
+ Mandriva Linux Mandrake 9.0
+ Turbolinux Turbolinux Server 8.0
+ Turbolinux Turbolinux Server 7.0
+ Turbolinux Turbolinux Workstation 8.0
+ Turbolinux Turbolinux Workstation 7.0
PHP PHP 4.2.2
+ Gentoo Linux 1.4 _rc1
+ Gentoo Linux 1.2
+ OpenPKG OpenPKG 1.1
+ RedHat Linux 8.0 i386
+ RedHat Linux 8.0
+ S.u.S.E. Linux 8.1
PHP PHP 4.2.1
- FreeBSD FreeBSD 4.6
- FreeBSD FreeBSD 4.5
- FreeBSD FreeBSD 4.4
- FreeBSD FreeBSD 4.3
+ Slackware Linux 8.1
PHP PHP 4.2 .0
PHP PHP 4.1.2
+ Apple Mac OS X 10.1.5
+ Apple Mac OS X 10.1.4
+ Apple Mac OS X 10.1.3
+ Apple Mac OS X 10.1.2
+ Apple Mac OS X 10.1.1
+ Apple Mac OS X 10.1
+ Apple Mac OS X 10.1
+ Apple Mac OS X 10.0.4
+ Apple Mac OS X 10.0.3
+ Apple Mac OS X 10.0.2
+ Apple Mac OS X 10.0.1
+ Apple Mac OS X 10.0
+ Debian Linux 3.0 sparc
+ Debian Linux 3.0 s/390
+ Debian Linux 3.0 ppc
+ Debian Linux 3.0 mipsel
+ Debian Linux 3.0 mips
+ Debian Linux 3.0 m68k
+ Debian Linux 3.0 ia-64
+ Debian Linux 3.0 ia-32
+ Debian Linux 3.0 hppa
+ Debian Linux 3.0 arm
+ Debian Linux 3.0 alpha
+ MandrakeSoft Multi Network Firewall 2.0
+ MandrakeSoft Single Network Firewall 7.2
+ Mandriva Linux Mandrake 8.2 ppc
+ Mandriva Linux Mandrake 8.2
PHP PHP 4.3
PHP PHP 4.1.2
+ Apple Mac OS X 10.1.5
+ Apple Mac OS X 10.1.4
+ Apple Mac OS X 10.1.3
+ Apple Mac OS X 10.1.2
+ Apple Mac OS X 10.1.1
+ Apple Mac OS X 10.1
+ Apple Mac OS X 10.1
+ Apple Mac OS X 10.0.4
+ Apple Mac OS X 10.0.3
+ Apple Mac OS X 10.0.2
+ Apple Mac OS X 10.0.1
+ Apple Mac OS X 10.0
+ Debian Linux 3.0 sparc
+ Debian Linux 3.0 s/390
+ Debian Linux 3.0 ppc
+ Debian Linux 3.0 mipsel
+ Debian Linux 3.0 mips
+ Debian Linux 3.0 m68k
+ Debian Linux 3.0 ia-64
+ Debian Linux 3.0 ia-32
+ Debian Linux 3.0 hppa
+ Debian Linux 3.0 arm
+ Debian Linux 3.0 alpha
+ MandrakeSoft Multi Network Firewall 2.0
+ MandrakeSoft Single Network Firewall 7.2
+ Mandriva Linux Mandrake 8.2 ppc
+ Mandriva Linux Mandrake 8.2

- 不受影响的程序版本

PHP PHP 4.3
PHP PHP 4.1.2
+ Apple Mac OS X 10.1.5
+ Apple Mac OS X 10.1.4
+ Apple Mac OS X 10.1.3
+ Apple Mac OS X 10.1.2
+ Apple Mac OS X 10.1.1
+ Apple Mac OS X 10.1
+ Apple Mac OS X 10.1
+ Apple Mac OS X 10.0.4
+ Apple Mac OS X 10.0.3
+ Apple Mac OS X 10.0.2
+ Apple Mac OS X 10.0.1
+ Apple Mac OS X 10.0
+ Debian Linux 3.0 sparc
+ Debian Linux 3.0 s/390
+ Debian Linux 3.0 ppc
+ Debian Linux 3.0 mipsel
+ Debian Linux 3.0 mips
+ Debian Linux 3.0 m68k
+ Debian Linux 3.0 ia-64
+ Debian Linux 3.0 ia-32
+ Debian Linux 3.0 hppa
+ Debian Linux 3.0 arm
+ Debian Linux 3.0 alpha
+ MandrakeSoft Multi Network Firewall 2.0
+ MandrakeSoft Single Network Firewall 7.2
+ Mandriva Linux Mandrake 8.2 ppc
+ Mandriva Linux Mandrake 8.2

- 漏洞讨论

A vulnerability has been discovered in PHP. A buffer overflow has been found in the wordwrap() function which when trigger may cause heap corruption. Memory corrupted by issue may be later referenced by the calling web server.

It may be possible for a remote attacker to exploit this issue to overwrite an arbitrary word in memory. By redirecting program flow to point to malicious instructions it may be possible for an attacker to execute arbitrary commands with the privileges of the vulnerable web server.

- 漏洞利用

Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: vuldb@securityfocus.com &lt;mailto:vuldb@securityfocus.com&gt;.

- 解决方案

Gentoo Linux has released an advisory. Users who have installed dev-php/php-4.2.3 and/or dev-php/mod_php-4.2.3 or earlier are advised to update
their systems by issuing the following commands

emerge rsync
emerge php
emerge clean

and/or

emerge mod_php
emerge clean

SCO has released security advisory CSSA-2003-SCO.28 with fixes and specific resolution steps. The advisory addresses this issue in OpenServer 5.0.5 through 5.0.7.

The vendor has confirmed that this issue exists and has released an updated version of PHP. Users are advised to upgrade as soon as possible.


PHP PHP 4.1.2

PHP PHP 4.2 .0

PHP PHP 4.2.1

PHP PHP 4.2.2

PHP PHP 4.2.3

- 相关参考

 

 

关于SCAP中文社区

SCAP中文社区是国内第一个以SCAP为主题的中文开放社区。了解更多信息,请查阅[关于本站]

版权声明

CVE/CWE/OVAL均为MITRE公司的注册商标,它们的官方数据源均保存在MITRE公司的相关网站