|
NewsPHP Inclusion of Arbitrary Files
|
|
Secunia Advisory:
|
SA9619
|
|
|
Release Date:
|
2003-08-27
|
|
Popularity:
|
5,273 views
|
|
|
Critical:
|
 Moderately critical
|
|
Impact:
|
Exposure of sensitive information System access
|
|
Where:
|
From remote
|
|
Solution Status:
|
Vendor Patch
|
|
| Software: | newsPHP (NPHP)
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
|
Description: Two vulnerabilities have been identified in NewsPHP allowing malicious people to include arbitrary files and bypass authentication.
1) The problem is that the language file parameter isn't properly verified if it is undefined in the configuration file (this is default). This allows malicious people to supply an arbitrary path to local files.
Example:
http://[victim]/nphp/nphpd.php?nphp_config[LangFile]=/any/file
2) A malicious person can access all functions in NewsPHP if only he can guess the exact number of users on the system. This could be enumerated fairly easy.
Example:
nphpd.php?output&pword=a&uname=fake_user&nphp_users[n_users][0]=fake_user&
nphp_users[n_users][1]=0cc175b9c0f1b6a831c399e269772661&nphp_users[n_users][3]=5
Where "n_users" = number of users on the system.
This has been confirmed in version 216. Earlier versions may also be affected.
Solution: Edit the souce code so that input is handled properly or use another product.
Provided and/or discovered by: Dariusz 'Officerrr' Kolasinski
|
|
|
Track this Secunia Advisory
|
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.
Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.
|
|
|
About this Secunia Advisory
|
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.
Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
|