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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-web                      Date:   06-Aug-2004 17:53:41
  Branch: HEAD                             Handle: 2004080616534100

  Modified files:
    openpkg-web/security    OpenPKG-SA-2004.036-cvstrac.txt

  Log:
    some cosmetics

  Summary:
    Revision    Changes     Path
    1.2         +16 -17     openpkg-web/security/OpenPKG-SA-2004.036-cvstrac.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-web/security/OpenPKG-SA-2004.036-cvstrac.txt
  ============================================================================
  $ cvs diff -u -r1.1 -r1.2 OpenPKG-SA-2004.036-cvstrac.txt
  --- openpkg-web/security/OpenPKG-SA-2004.036-cvstrac.txt      6 Aug 2004 15:37:45 
-0000       1.1
  +++ openpkg-web/security/OpenPKG-SA-2004.036-cvstrac.txt      6 Aug 2004 15:53:41 
-0000       1.2
  @@ -21,9 +21,10 @@
   OpenPKG 2.0          None
   
   Description:
  -  As posted to BugTraq [1], Richard Ngo discovered a vulnerability in
  -  CVSTrac [2]. If properly exploited an attacker could execute arbitrary
  -  code on the CVSTrac host with the privileges of the associated web server.
  +  As reported on BugTraq [1], Richard Ngo discovered a vulnerability
  +  in the CVS repository web browsing tool CVSTrac [2]. If properly
  +  exploited an attacker can execute arbitrary code on the CVSTrac host
  +  with the privileges of the associated web server.
   
     Please check whether you are affected by running "<prefix>/bin/openpkg
     rpm -q cvstrac". If you have the "cvstrac" package installed and its
  @@ -33,8 +34,8 @@
   Solution:
     Select the updated source RPM appropriate for your OpenPKG release
     [5][6] and fetch it from the OpenPKG FTP service [7][8] or a mirror
  -  location. Verify its integrity [9], build a corresponding binary
  -  RPM from it [3] and update your OpenPKG installation by applying the
  +  location. Verify its integrity [9], build a corresponding binary RPM
  +  from it [3] and update your OpenPKG installation by applying the
     binary RPM [4]. For the most recent release OpenPKG 2.1, perform the
     following operations to permanently fix the security problem (for
     other releases adjust accordingly).
  @@ -50,25 +51,22 @@
     # <prefix>/bin/openpkg rpm -Fvh <prefix>/RPM/PKG/cvstrac-1.1.3-2.1.1.*.rpm
   
   Addendum:
  -  Although simply upgrading the affected CVSTrac installation does remove
  -  the vulnerability in question, the existing CVSTrac configuration can be
  -  corrected as well. Repeat the following for all project databases:
  +  Although simply upgrading the affected CVSTrac installation
  +  does remove the vulnerability in question, the existing CVSTrac
  +  configuration should be corrected on the underlying SQLite level as
  +  well. Repeat the following for all project databases:
   
     $ <prefix>/bin/sqlite <prefix>/var/cvstrac/<project>.db
  -  SQLite version 2.8.14
  -  Enter ".help" for instructions
     sqlite> select value from config where name="filediff";
     rcsdiff -q -r%V1 -r%V2 -u '%F'
     sqlite> select value from config where name="filelist";
     co -q -p%V '%F' | diff -c /dev/null -
     sqlite> .exit
   
  -Any commands using version or file replacements (%V, %V1, %V2, %F) but
  -lacking single quotes (') around them should be corrected:
  +  Any commands using version or file replacements (%V, %V1, %V2, %F) but
  +  lacking single quotes (') around them should be corrected:
   
     $ <prefix>/bin/sqlite <prefix>/var/cvstrac/<project>.db
  -  SQLite version 2.8.14
  -  Enter ".help" for instructions
     sqlite> update config
        ...> set value="rcsdiff -q -r'%V1' -r'%V2' -u '%F'"
        ...> where name="filediff";
  @@ -77,9 +75,10 @@
        ...> where name="filelist";
     sqlite> .exit
   
  -An identical result can be achieved by logging in to the CVSTrac project
  -pages as the user 'setup'. Select 'Diff Programs' from the 'Setup Menu',
  -and then review both HTML input fields for missing single quotes as shown.
  +  An identical result can be achieved by logging in to the CVSTrac
  +  project pages as the user 'setup'. Select 'Diff Programs' from the
  +  'Setup Menu', and then review both HTML input fields for missing
  +  single quotes as shown.
   ________________________________________________________________________
   
   References:
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to