liu-peiyu / geek-framework

基于SpringBoot+Shiro+Redis+Jwt+Thymeleaf+MyBatis 开发的后台用户、角色、权限、会员管理、RestFul、Token和前台用户登录注册以及前后台用户分离的脚手架
Apache License 2.0
828 stars 415 forks source link

Geek-framework can upload JSP backdoor #32

Open yundiao opened 5 years ago

yundiao commented 5 years ago

I. Source code analysis /src/main/java/com/geekcattle/controller/console/UeditorController.java File upload. When an exception of file extension is detected, no exit or return. CodeAnalysis-en

II. Vulnerability testing ueditor Ueditor editor, upload pictures. The front end validates the file extension, so you need to upload a normal image file. After using BurpSuite to intercept, modify the upload file name and content. burpsuite Geek-framework is a java development framework; the ueditor plug-in here is incomplete, but the back door is uploaded.