Lucene search
K

N-13 News 4.0.1 Cross Site Scripting

🗓️ 19 Jun 2011 00:00:00Reported by High-Tech Bridge SAType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 14 Views

N-13 News 4.0.1 Cross Site Scripting Vulnerabilit

Code
`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  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation