Skip to content

Fr1ezy/Fr1ezy-ms-basic_XSS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

ms-basic_XSS

Version

Maven: net. microsoft: ms basic<=2.1.13.4

There is an XSS vulnerability in the search function

image

It can be seen that the XSS was caused by the page returning an error message image

The server will encounter errors image

As you can see, the error page returned two messages ${code} and ${msg} image

Based on the error message, locate it in the XssHttpServletRequestWrapper.clean method, and you can see that the error message returned by the front-end is the exception thrown by the XssHttpServletRequestWrapper.clean method, which directly returns the exception information leading to XSS image

image

Due to XssHttpServletRequestWrapper processing user input parameters before Servlet, it can lead to XSS vulnerabilities

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published