Lucene search
K

MITREid 1.3.3 Cross Site Scripting

🗓️ 28 Feb 2020 00:00:00Reported by Aaron BishopType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 105 Views

MITREid 1.3.3 OpenID-Connect-Java-Spring-Server Cross Site Scripting vulnerabilit

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2020-5497
19 Mar 202414:11
circl
CVE
CVE-2020-5497
4 Jan 202002:07
cve
Cvelist
CVE-2020-5497
4 Jan 202002:07
cvelist
EUVD
EUVD-2020-0378
7 Oct 202500:30
euvd
Github Security Blog
XSS in MITREid Connect
1 Apr 202016:35
github
NVD
CVE-2020-5497
4 Jan 202003:15
nvd
OSV
CVE-2020-5497
4 Jan 202003:15
osv
OSV
GHSA-C2H6-7GM8-CV4W XSS in MITREid Connect
1 Apr 202016:35
osv
Prion
Design/Logic Flaw
4 Jan 202003:15
prion
Positive Technologies
PT-2020-18479 · Mitre · Mitreid Connect
4 Jan 202000:00
ptsecurity
Rows per page
`MITREid Connect OpenID-Connect-Java-Spring-Server  
<https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server> version  
1.3.3 and earlier is vulnerable to Cross-Site Scripting; the users name is  
included in *topbar.tag* and *header.tag* without being sanitized. A user  
can set their name to a value like:  
  
Test</script><script>alert(1)</script>  
  
Which will be included in JSON used by a JavaScript function in *header.tag*  
:  
  
// get the info of the current user, if available (null otherwise)  
> function getUserInfo() {  
> return {"sub":"12318767","name":"  
> *Test</script><script>alert(1)</script>*  
> Test","preferred_username":"Test","given_name":"Test</script><script>alert(1)</script>","family_name":"Test","email":"  
> [email protected]","email_verified":true};}  
  
  
A name such as:  
  
Test<script>alert(1)</script>  
  
would also work; it is included in the page when menus are created by  
*topbar.tag*:  
  
<!-- use a simplified user button system when collapsed -->  
> <ul class="nav hidden-desktop">  
> <li><a href="manage/#user/profile">*Test<script>alert(1)</script>*  
> Test</a></li>  
> <li class="divider"></li>  
> <li><a href="" class="logoutLink"><i class="icon-remove"></i> Log  
> out</a></li>  
  
  
This issue has been reported on Github  
<https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/issues/1521>  
with  
patches pending.  
  
A write up is available at:  
https://www.securitymetrics.com/blog/MITREid-Connect-cross-site-scripting-CVE-2020-5497  
  
  
`

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