Secunia Logo
 
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.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Sun Java JDK / JRE Multiple Vulnerabilities // 47 views
2. Zeroboard Multiple Vulnerabilities // 43 views
3. ClamAV "cli_check_jpeg_exploit()" Denial of Service Vulnerability // 32 views
4. DAHDI "ZT_SPANCONFIG" IOCTL Privilege Escalation Vulnerability // 31 views
5. IBM Rational ClearQuest Multiple Vulnerabilities // 31 views
6. IBM Rational ClearCase Cross-Site Scripting Vulnerability // 29 views
7. bcoos "cid" SQL Injection Vulnerability // 28 views
8. Debian update for flamethrower // 28 views
9. Linksys WRT160N Cross-Site Scripting Vulnerability // 28 views
10. ASP Portal "ASPPortal.mdb" Database Disclosure Security Issue // 27 views