Secunia Logo  
 
CuteNews Cross-Site Scripting and Directory Traversal
Secunia Advisory: SA18981
Release Date: 2006-02-22
Last Update: 2006-05-05
Popularity: 7,900 views

Critical:
Less critical
Impact: Cross Site Scripting
Manipulation of data
Exposure of sensitive information
Where: From remote
Solution Status: Partial Fix

Software:CuteNews 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-0885
CVE-2006-1121
CVE-2006-1925


Description:
Some vulnerabilities have been discovered in CuteNews, which can be exploited by malicious users to disclose or manipulate potentially sensitive information, and by malicious people to conduct cross-site scripting attacks.

1) Input passed to the "show" parameter in "show_news.php", the "source" parameter in "index.php", and to the URL when showing comments isn't properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

Examples:
http://[victim]/show_news.php?subaction=addcomment&id=[id]&name=[valid_username]&show=[code]
http://[victim]/index.php?subaction=showcomments&id=[id]&archive=&start_from=&ucat=&">[code]
http://[victim]/index.php?mod=editnews&action=editnews&id=[id]&source=[code]

2) Input passed to the "source" parameter in "index.php" isn't properly sanitised before being used to edit news. This can be exploited via directory traversal attacks to disclose or manipulate parts of the contents of arbitrary files having a specially structure (elements separated by a "|" pipe character).

Successful exploitation requires editor privileges.

3) Input passed to the "mod" parameter in "index.php" is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

The vulnerabilities have been confirmed in version 1.4.1. Other versions may also be affected.

Solution:
1-2) Update to version 1.4.5.
http://cutephp.com/cutenews/

3) Edit the source code to ensure that input is properly sanitised.

Provided and/or discovered by:
1) Roozbeh Afrasiabi and imei addmimistrator

Additional information provided by Snake_23, LoK-Crew.

2) Steven M. Christey

3) *.A.u.r.a.*

Changelog:
2006-03-02: Added CVE reference.
2006-03-06: Added additional vulnerability.
2006-03-14: Added CVE reference.
2006-04-20: Added additional information provided by Snake_23.
2006-04-21: Added vulnerability provided by Steven M. Christey.
2006-04-27: Added vulnerability provided by *.A.u.r.a.*.
2006-05-05: Updated "Solution" section.

Original Advisory:
1) http://myimei.com/security/2006-02-20...tforprotectedusernamesxss-attack.html
http://kapda.ir/advisory-277.html

3) http://www.aria-security.net/advisory/portals/cutenews.txt


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. NTP OpenSSL "EVP_VerifyFinal()" Spoofing Vulnerability // 41 views
2. phpBB reveals user IPs // 39 views
3. Cisco Global Site Selector DNS Request Denial of Service // 38 views
4. Drupal Project Module File Upload and Cross-Site Scripting // 38 views
5. Red Hat update for openssl // 38 views
6. SmbFTPD Long Command Processing Vulnerability // 35 views
7. Drupal Project Issue Tracking Module Multiple Vulnerabilities // 34 views
8. Lasso OpenSSL "DSA_verify()" Spoofing Vulnerability // 33 views
9. ISC BIND "EVP_VerifyFinal()" and "DSA_do_verify()" Spoofing Vulnerability // 32 views
10. tnftpd Long Command Processing Vulnerability // 32 views