[Full-disclosure] [ GLSA 200605-04 ] phpWebSite: Local file inclusion



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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@xxxxxxxxxx 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

Attachment: pgpKMAQVPIZXf.pgp
Description: PGP signature

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

Relevant Pages

  • [ GLSA 200605-04 ] phpWebSite: Local file inclusion
    ... Title: phpWebSite: Local file inclusion ... execution of arbitrary code. ... phpWebSite provides a complete web site content management system. ... Security is a primary focus of Gentoo Linux and ensuring the ...
    (Bugtraq)
  • Local file detection found through Adobe Reader ActiveX control
    ... Hyperdose Security Advisory ... Local file detection found through Adobe Reader ActiveX control ... the attacker can call the LoadFile ...
    (Bugtraq)
  • Re: MAJOR security hole via MS Word
    ... This is not a security hole in Word - it is poor security on the local ... hard disk. ... The policies only prevent the user form getting to the C ... local file permissions to prevent unauthorised access or ...
    (microsoft.public.windowsxp.security_admin)
  • get IE to allow local files into trusted zone
    ... "To help protect your security, Internet Explorer has restricted this file from showing active content that could access your computer. ... The site is actually a local file, NOT on the internet, or intranet, but located on my own E: ... Please tell me that there is a way to allow IE to display this page with full active access, without having to compromise security from outside sites. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)