Gentoo: PHProjekt Multiple vulnerabilities
Posted by Benjamin D. Thomas   
Gentoo Multiple vulnerabilities have been discovered in PHProjekt, allowing for the execution of arbitrary PHP and SQL code, and cross-site scripting attacks.An authenticated user could elevate their privileges by exploiting the vulnerabilities described above. Note that the magic_quotes_gpc PHP configuration setting must be set to "off" to exploit these vulnerabilities.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200706-07
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: High
     Title: PHProjekt: Multiple vulnerabilities
      Date: June 19, 2007
      Bugs: #170905
        ID: 200706-07

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

Multiple vulnerabilities have been discovered in PHProjekt, allowing
for the execution of arbitrary PHP and SQL code, and cross-site
scripting attacks.

Background
==========

PHProjekt is a project management and coordination tool written in PHP.

Affected packages
=================

    -------------------------------------------------------------------
     Package             /  Vulnerable  /                   Unaffected
    -------------------------------------------------------------------
  1  www-apps/phprojekt       < 5.2.1                         >= 5.2.1

Description
===========

Alexios Fakos from n.runs AG has discovered multiple vulnerabilities in
PHProjekt, including the execution of arbitrary SQL commands using
unknown vectors (CVE-2007-1575), the execution of arbitrary PHP code
using an unrestricted file upload (CVE-2007-1639), cross-site request
forgeries using different modules (CVE-2007-1638), and a cross-site
scripting attack using unkown vectors (CVE-2007-1576).

Impact
======

An authenticated user could elevate their privileges by exploiting the
vulnerabilities described above. Note that the magic_quotes_gpc PHP
configuration setting must be set to "off" to exploit these
vulnerabilities.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All PHProjekt users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=www-apps/phprojekt-5.2.1"

References
==========

  [ 1 ] CVE-2007-1575
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-1575
  [ 2 ] CVE-2007-1576
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-1576
  [ 3 ] CVE-2007-1638
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-1638
  [ 4 ] CVE-2007-1639
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-1639

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200706-07.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2007 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5