Secunia Logo
Netsikker nu! 2008
 
NewsPHP Admin Access and Cross Site Scripting
Secunia Advisory: SA11346
Release Date: 2004-04-13
Popularity: 5,404 views

Critical:
Highly critical
Impact: Cross Site Scripting
Privilege escalation
System access
Where: From remote
Solution Status: Unpatched

Software:NewsPHP

Subscribe: Instant alerts on relevant vulnerabilities


Description:
Manuel Lopez has reported some vulnerabilities in NewsPHP, allowing malicious people to gain administrative access and conduct Cross Site Scripting attacks.

NewsPHP fails to properly verify the privileges of an authenticated user. It is possible to gain administrative access by constructing a fake cookie with the following value "autorized=admin; root=admin".

Input passed to the "cat_id" parameter in "index.php" isn't properly verified before it is returned to the user. This can be exploited to execute arbitrary HTML or script code in a user's browser session in context of an affected site by tricking the user into visiting a malicious website or follow a specially crafted link

An issue allowing administrative users to upload arbitrary files was also reported. This can be exploited to compromise the system.

The vulnerabilities reportedly affect all versions.

Solution:
Restrict access to administrative functions using htaccess or similar.

Edit the source code to ensure that input passed to the "cat_id" parameter is properly sanitised.

Provided and/or discovered by:
Manuel Lopez


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. phpBB BBcode "url" Script Insertion Vulnerability // 73 views
2. phpBB "url" bbcode Script Insertion Vulnerability // 71 views
3. VMware VirtualCenter Multiple Vulnerabilities // 53 views
4. Microsoft Windows Vista Page Fault Handling Denial of Service // 50 views
5. VMware ESX Server Sun Java JDK / JRE Multiple Vulnerabilities // 50 views
6. VMware ESX / ESXi "JMP" Privilege Escalation Vulnerability // 42 views
7. Serv-U File Renaming Directory Traversal and STOU Denial of Service // 36 views
8. JMweb MP3 Script "src" File Inclusion Vulnerabilities // 33 views
9. Kontiki Delivery Management System "action" Cross-Site Scripting // 32 views
10. Nucleus EUC-JP Cross-Site Scripting Vulnerability // 31 views