SUSE/Portus 2.2 Cross Site Scripting

2017-09-19T00:00:00
ID PACKETSTORM:144260
Type packetstorm
Reporter Ricardo Sanchez
Modified 2017-09-19T00:00:00

Description

                                        
                                            `Class Input Validation Error  
Remote Yes  
Stored Yes  
  
Credit rsanchezr  
Vulnerable SUSE/Portus 2.2 - https://github.com/SUSE/Portus  
  
Portus 2.2 is prone to a cross-site scripting vulnerability because it  
fails to sufficiently sanitize user-supplied data.  
  
An attacker may leverage this issue to execute arbitrary script code in the  
browser of an unsuspecting user in the context of the affected site. This  
may allow the attacker to steal cookie-based authentication credentials and  
to launch other attacks.  
  
To exploit this issue following steps:  
  
1- Create a Team like "<script>alert(1)</script>" for example.  
2- Click into "Create new namespace" link and search into "Team" field  
something like this "<script".  
`