PDA

Bekijk Volledige Versie : [ GLSA 200605-04 ] phpWebSite: Local file inclusion



Sune Kloppenborg Jeppesen
02/05/06, 22:00
--nextPart2353603.ILj67YLRFr
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200605-04
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Normal
Title: phpWebSite: Local file inclusion
Date: May 02, 2006
Bugs: #130295
ID: 200605-04

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

Synopsis
========

Remote attackers can include local files which may lead to the
execution of arbitrary code.

Background
==========

phpWebSite provides a complete web site content management system.

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

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 www-apps/phpwebsite < 0.10.2 >= 0.10.2

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

rgod has reported that the "hub_dir" parameter in "index.php" isn't
properly verified. When "magic_quotes_gpc" is disabled, this can be
exploited to include arbitrary files from local ressources.

Impact
======

If "magic_quotes_gpc" is disabled, which is not the default on Gentoo
Linux, a remote attacker could exploit this issue to include and
execute PHP scripts from local ressources with the rights of the user
running the web server, or to disclose sensitive information and
potentially compromise a vulnerable system.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All phpWebSite users should upgrade to the latest available version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=www-apps/phpwebsite-0.10.2"

References
==========

[ 1 ] CVE-2006-1819
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-1819

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

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

http://security.gentoo.org/glsa/glsa-200605-04.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 2006 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.0

--nextPart2353603.ILj67YLRFr
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQBEV6OgzKC5hMHO6rkRAvFmAJ4nWtsxvoiO1XB7zmdf1T NQ4XTXjgCdFlpP
QjaYFYtG3AsQWdoagCkmo/M=
=fCBr
-----END PGP SIGNATURE-----

--nextPart2353603.ILj67YLRFr--