GLSA 200605-04: phpWebSite: Local file inclusion

Severity:normal
Title:phpWebSite: Local file inclusion
Date:05/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 Architecture(s)
www-apps/phpwebsite < 0.10.2 >= 0.10.2 All supported architectures

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

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 https://bugs.gentoo.org.

License

Copyright 2010 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.

Thank you!