Secunia Logo
Netsikker nu! 2008
 
PHP-Nuke Cross-Site Scripting Vulnerabilities
Secunia Advisory: SA14289
Release Date: 2005-02-15
Last Update: 2005-12-15
Popularity: 10,610 views

Critical:
Less critical
Impact: Cross Site Scripting
Exposure of system information
Where: From remote
Solution Status: Unpatched

Software:PHP-Nuke 6.x
PHP-Nuke 7.x

Subscribe: Instant alerts on relevant vulnerabilities


Description:
Some vulnerabilities have been reported in PHP-Nuke, which can be exploited by malicious people to conduct cross-site scripting attacks.

Some input 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 a vulnerable site.

Examples:
http://[host]/modules.php?name=Downloads&d_op=NewDownloads&newdownloadshowdays=[code]
http://[host]/modules.php?name=Web_Links&l_op=NewLinks&newlinkshowdays=[code]
http://[host]/banners.php?op=EmailStats&name=sex&bid=[code]
http://[host]/modules.php?name=Web_Links&l_op=TopRated&ratenum=[code]&ratetype=num
http://[host]/modules.php?name=Web_Links&l_op=viewlinkdetails&ttitle=[code]
http://[host]/modules.php?name=Web_Links&l_op=viewlinkeditorial&ttitle=[code]
http://[host]/modules.php?name=Web_Links&l_op=viewlinkcomments&ttitle=[code]
http://[host]/modules.php?name=Web_Links&l_op=ratelink&ttitle=[code]
http://[host]/modules.php?name=Your_Account&op=userinfo&bypass=1&username=[code]
http://[host]/modules.php?name=Your_Account&op=mailpasswd&username=[code]
http://[host]/modules.php?name=Your_Account&op=avatarlist&avatarcategory=[code]
http://[host]/modules.php?name=Downloads&d_op=outsidedownloadsetup&lid=[code]
http://[host]/modules.php?name=Search&author=[author]&topic=0&min=999999999[code]&query=[our_query]
http://[host]/modules.php?name=Search&author=[author]&topic=0&min=999999999[code]&query=[our_query]&type=users&category=2
http://[host]/modules.php?name=Search&author=[author]&topic=0&min=999999999[code]&query=[our_query]&type=comments&category=2
http://[host]/modules.php?name=Search&author=[author]&topic=0&min=999999999[code]&query=[our_query]&type=stories&category=2
http://[host]/modules.php?name=Search&author=[author]&topic=0&min=999999999[code]&query=[our_query]&type=reviews&category=2
http://[host]/banners.php?op=EmailStats&login=[our_login]&cid=1&bid=[code]

It has also been reported that the full path to some scripts can be disclosed.

The vulnerabilities have been reported in version 6.x through 7.6. Other versions may also be affected.

Solution:
Edit the source code to ensure that input is properly sanitised.

Production systems should not return error messages to clients.

NOTE: The vendor has added a generic filter in order to protect against cross-site scripting attacks. However, it has been reported that this filter is inadequate (reported in version 7.9).

Provided and/or discovered by:
Originally reported by:
* Janek Vind "waraxe"

Additional information provided by:
* Maksymilian Arciemowicz
* sp3x

Changelog:
2005-04-06: Added additional information provided by Maksymilian Arciemowicz and sp3x.
2005-12-15: Added information provided by Maksymilian Arciemowicz in "Solution" section.

Original Advisory:
http://www.waraxe.us/advisory-40.html


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

Today
New advisories: 19
New vulnerabilities: 68
Updated advisories: 62

Moderately // 185 views
Debian update for php5
Moderately // 136 views
Atarone CMS Multiple Vulnerabilities
Moderately // 174 views
Debian update for squid
Less // 187 views
SUSE update for mercurial
Moderately // 231 views
SUSE update for openssh
Less // 176 views
Fedora update for mediawiki

Solutions | More...  


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. Debian update for php5 // 63 views
2. SUSE update for openssh // 56 views
3. H-Sphere webshell4 Cross-Site Scripting and Request Forgery // 41 views
4. Juniper Products Neighbor Discovery Protocol Neighbor Solicitation Vulnerability // 41 views
5. SUSE update for mercurial // 39 views
6. Atarone CMS Multiple Vulnerabilities // 34 views
7. WMNews Cross-Site Scripting Vulnerabilities // 33 views
8. MetaGauge Directory Traversal Vulnerability // 33 views
9. SUSE update for dovecot and graphicsmagic // 33 views
10. HP-UX NFS/ONCplus Denial of Service Vulnerability // 31 views