[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
HTB23005: Multiple XSS in N-13 News
- To: bugtraq@xxxxxxxxxxxxxxxxx
- Subject: HTB23005: Multiple XSS in N-13 News
- From: advisory@xxxxxxxxxxx
- Date: Wed, 15 Jun 2011 10:43:36 +0200 (CEST)
Vulnerability ID: HTB23005
Reference: http://www.htbridge.ch/advisory/multiple_xss_in_n_13_news.html
Product: N-13 News
Vendor: Network-13 ( http://network-13.com/ )
Vulnerable Version: 4.0.1 and probably prior
Tested on: 4.0.1
Vendor Notification: 25 May 2011
Vulnerability Type: XSS (Cross Site Scripting)
Status: Fixed by Vendor
Risk level: Medium
Credit: High-Tech Bridge SA Security Research Lab (
http://www.htbridge.ch/advisory/ )
Vulnerability Details:
High-Tech Bridge SA Security Research Lab has discovered multiple
vulnerabilities in N-13 News, which can be exploited to perform cross-site
scripting attacks.
1) Input passed via the GET "id" parameter to 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 affected website.
The following PoC code is available:
http://[host]/index.php?id=%3C/script%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E
2) Input passed via the POST "parent" parameter to index.php (when POST
"rating" parameter is set to "true") 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 affected website.
The following PoC code is available:
<form action="http://[host]/index.php" method="post">
<input type="hidden" name="rating" value="true">
<input type="hidden" name="parent"
value="<script>alert(document.cookie);</script>">
<input value="OK" type="submit">
</form>
3) Input passed via the GET "id" parameter to admin.php (when GET "action"
parameter is set to "editcomments" and GET "edit" parameter is set to "true")
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 affected website.
The following PoC code is available:
http://[host]/admin.php?action=editcomments&edit=true&id=%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E
4) Input passed via the GET "pid" parameter to admin.php (when GET "action"
parameter is set to "editcomments") 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 affected website.
The following PoC code is available:
http://[host]/admin.php?action=editcomments&pid=%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E
5) Input passed via the GET "id" parameter to admin.php (when GET "action"
parameter is set to "options" and GET "mod" parameter is set to "newscats" and
GET "edit" parameter is set to "true") 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 affected website.
The following PoC code is available:
http://[host]/admin.php?action=options&mod=newscats&edit=true&id=%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E
6) Input passed via the GET "catid" parameter to admin.php (when GET "action"
parameter is set to "options" and GET "mod" parameter is set to "imageuploads")
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 affected website.
The following PoC code is available:
http://[host]/admin.php?action=options&mod=imageuploads&catid=%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E
Solution: Upgrade to the most recent version