OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Thomas Lotterer
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-web                      Date:   16-Dec-2004 22:00:59
  Branch: HEAD                             Handle: 2004121621005801

  Added files:
    openpkg-web/security    OpenPKG-SA-2004.053-php.txt
  Modified files:
    openpkg-web             security.txt security.wml

  Log:
    SA-2004.053-php; CAN-2004-1018, CAN-2004-1018, CAN-2004-1019,
    CAN-2004-1020, CAN-2004-1063, CAN-2004-1064, CAN-2004-1065

  Summary:
    Revision    Changes     Path
    1.98        +1  -0      openpkg-web/security.txt
    1.121       +1  -0      openpkg-web/security.wml
    1.1         +108 -0     openpkg-web/security/OpenPKG-SA-2004.053-php.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-web/security.txt
  ============================================================================
  $ cvs diff -u -r1.97 -r1.98 security.txt
  --- openpkg-web/security.txt  15 Dec 2004 16:53:28 -0000      1.97
  +++ openpkg-web/security.txt  16 Dec 2004 21:00:58 -0000      1.98
  @@ -1,3 +1,4 @@
  +16-Dec-2004: Security Advisory: S<OpenPKG-SA-2004.053-php>
   15-Dec-2004: Security Advisory: S<OpenPKG-SA-2004.052-vim>
   29-Nov-2004: Security Advisory: S<OpenPKG-SA-2004.051-imapd>
   31-Oct-2004: Security Advisory: S<OpenPKG-SA-2004.050-libxml>
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/security.wml
  ============================================================================
  $ cvs diff -u -r1.120 -r1.121 security.wml
  --- openpkg-web/security.wml  15 Dec 2004 16:53:28 -0000      1.120
  +++ openpkg-web/security.wml  16 Dec 2004 21:00:58 -0000      1.121
  @@ -75,6 +75,7 @@
   </define-tag>
   <box bdwidth=1 bdcolor="#a5a095" bdspace=10 bgcolor="#e5e0d5">
   <table cellspacing=0 cellpadding=0 border=0>
  +  <sa 2004.053 php>
     <sa 2004.052 vim>
     <sa 2004.051 imapd>
     <sa 2004.050 libxml>
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/security/OpenPKG-SA-2004.053-php.txt
  ============================================================================
  $ cvs diff -u -r0 -r1.1 OpenPKG-SA-2004.053-php.txt
  --- /dev/null 2004-12-16 22:00:59 +0100
  +++ OpenPKG-SA-2004.053-php.txt       2004-12-16 22:00:59 +0100
  @@ -0,0 +1,108 @@
  +________________________________________________________________________
  +
  +OpenPKG Security Advisory                            The OpenPKG Project
  +http://www.openpkg.org/security.html              http://www.openpkg.org
  [EMAIL PROTECTED]                         [EMAIL PROTECTED]
  +OpenPKG-SA-2004.053                                          16-Dec-2004
  +________________________________________________________________________
  +
  +Package:             php
  +Vulnerability:       local and remote execution of arbitrary code
  +OpenPKG Specific:    no
  +
  +Affected Releases:   Affected Packages:          Corrected Packages:
  +OpenPKG CURRENT      <= php-4.3.9-20041130       >= php-4.3.10-20041215
  +                     <= apache-1.3.33-20041215   >= apache-1.3.33-20041215  
  +OpenPKG 2.2          <= php-4.3.9-2.2.0          >= php-4.3.9-2.2.2
  +                     <= apache-1.3.31-2.2.1      >= apache-1.3.31-2.2.3    
  +OpenPKG 2.1          <= php-4.3.8-2.1.2          >= php-4.3.8-2.1.4
  +                     <= apache-1.3.31-2.1.6      >= apache-1.3.31-2.1.8
  +
  +Dependent Packages:  none
  +
  +Description:
  +  According to a PHP [0] PHP Release Announcement [1] and a security
  +  advisory [2] from Stefan Esser of the Hardened-PHP Project several
  +  very serious security issues were fixed in the 4.3.10 maintenance
  +  release. The OpenPKG project extracted and backported the fixes.
  +
  +  Shortly after releasing the initial php-4.3.9-2.2.1 and
  +  php-4.3.8-2.1.3 fixes an early adopter reported a bug related to
  +  the with_pear option and optimization. At the same time one more
  +  security issue was discovered. Also rumors were afloat the Common
  +  Vulnerabilities and Exposures (CVE) project is going to withdraw some
  +  CANs. The most recent OpenPKG packages have all known issues addressed
  +  and use the CVE CAN ids in alignment with the original PHP advisory.
  +
  +  Out of bounds memory write access in shmop_write() and integer
  +  overflow/underflow in pack() and unpack() functions. CAN-2004-1018
  +  [3].
  +
  +  Possible information disclosure, double free and negative reference
  +  index array underflow in deserialization code. CAN-2004-1019 [4].
  +
  +  The addslashes() function does not escape \0 correctly. CAN-2004-1020
  +  [5].
  +
  +  Directory bypass in safe_mode execution. CAN-2004-1063 [6].
  +
  +  Arbitrary file access through path truncation CAN-2004-1064 [7].
  +
  +  Function exif_read_data() suffers from overflow on long sectionname.
  +  CAN-2004-1065 [2].
  +
  +  The magic_quotes_gpc functionality could lead to one level directory
  +  traversal with file uploads. No CVE.
  +
  +  Newly discovered TSRM issue. No CVE.
  +
  +  Please check whether you are affected by running "<prefix>/bin/openpkg
  +  rpm -q php". If you have the "php" package installed and its version
  +  is affected (see above), we recommend that you immediately upgrade it
  +  (see Solution) [8][9].
  +
  +Solution:
  +  Select the updated source RPM appropriate for your OpenPKG release
  +  [10][11], fetch it from the OpenPKG FTP service [12][13] or a mirror
  +  location, verify its integrity [14], build a corresponding binary RPM
  +  from it [8] and update your OpenPKG installation by applying the
  +  binary RPM [9]. For the most recent release OpenPKG 2.2, perform the
  +  following operations to permanently fix the security problem (for
  +  other releases adjust accordingly).
  +
  +  $ ftp ftp.openpkg.org
  +  ftp> bin
  +  ftp> cd release/2.2/UPD
  +  ftp> get php-4.3.9-2.2.2.src.rpm
  +  ftp> bye
  +  $ <prefix>/bin/openpkg rpm -v --checksig php-4.3.9-2.2.2.src.rpm
  +  $ <prefix>/bin/openpkg rpm --rebuild php-4.3.9-2.2.2.src.rpm
  +  $ su -
  +  # <prefix>/bin/openpkg rpm -Fvh <prefix>/RPM/PKG/php-4.3.9-2.2.2.*.rpm
  +________________________________________________________________________
  +
  +References:
  +  [0] http://www.php.net/
  +  [1] http://www.php.net/release_4_3_10.php 
  +  [2] http://www.hardened-php.net/advisories/012004.txt
  +  [3] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1018
  +  [4] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1019
  +  [5] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1020
  +  [6] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1063
  +  [7] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1064
  +  [8] http://www.openpkg.org/tutorial.html#regular-source
  +  [9] http://www.openpkg.org/tutorial.html#regular-binary
  +  [10] ftp://ftp.openpkg.org/release/2.2/UPD/php-4.3.9-2.2.2.src.rpm
  +  [11] ftp://ftp.openpkg.org/release/2.1/UPD/php-4.3.8-2.1.3.src.rpm
  +  [12] ftp://ftp.openpkg.org/release/2.2/UPD/
  +  [13] ftp://ftp.openpkg.org/release/2.1/UPD/
  +  [14] http://www.openpkg.org/security.html#signature
  +________________________________________________________________________
  +
  +For security reasons, this advisory was digitally signed with the
  +OpenPGP public key "OpenPKG <[EMAIL PROTECTED]>" (ID 63C4CB9F) of the
  +OpenPKG project which you can retrieve from http://pgp.openpkg.org and
  +hkp://pgp.openpkg.org. Follow the instructions on http://pgp.openpkg.org/
  +for details on how to verify the integrity of this advisory.
  +________________________________________________________________________
  +
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to