GithubHelp home page GithubHelp logo

thinkgem / jeesite5 Goto Github PK

View Code? Open in Web Editor NEW
1.7K 209.0 839.0 44.33 MB

Java rapid development platform, based (Spring Boot, Spring MVC, Apache Shiro, MyBatis, Beetl, Bootstrap, AdminLTE), online code generation, including modules: Organization, role users, menu and button authorization, data permissions, system parameters, content management, workflow, etc. Loose coupling design is adopted; one key skin switch; account security Settings, password policies; Online scheduled task configuration; Support cluster, support SAAS; Support for multiple data sources

Home Page: https://gitee.com/thinkgem/jeesite4/issues

License: Apache License 2.0

Batchfile 0.17% Java 14.92% CSS 8.59% JavaScript 61.43% HTML 13.97% Shell 0.16% Dockerfile 0.01% SCSS 0.35% Less 0.31% TSQL 0.08%
java spring-boot spring-mvc mybatis bootstrap3 beetl jquery shiro

jeesite5's Issues

Arbitrary URL redirection vulnerability

这是英文的漏洞报告,中文的在(This is the English report, the Chinese report is 任意url跳转

Description

@RequestMapping(value = "index") When logging in, there is no restriction on __url, resulting in a jump to the forged page after successful login.

Vulnerability details

After receiving the request, the interface gets the address of __url.

com.jeesite.modules.sys.web#index()
image
image
image
Get the value of __url in the request, if the authentication is successful, jump to the constructed url.

TEST

url:*****/js/a/login?__url=http://baidu.com/

LOCAL TEST:http://localhost:8980/js/a/login?__url=http://baidu.com/
image
image
image
The package successfully jumps to the constructed url
image

关于模块升级

系统启动时会自动检测模块是否安装,自动检测模块版本是否需要升级数据库,如果有数据库升级脚本,则系统自动执行。 能否简单介绍下模块的升级说明?
6

渲染问题

点击菜单时, 时常会卡在加载中. 如下图
screen shot 2018-03-15 at 09 45 19

initdb 脚本问题

If columns are dropped from a table, the columns are also removed from
any index of which they are a part. If all columns that make up an
index are dropped, the index is dropped as well.

  • 脚本报错Specified key was too long; max key length is 3072 bytes原因不明
    mysql 5..7
    innodb
    utf-8

模块升级问题,续

1、模块的版本是根据这个文件获取的:/src/main/resources/db/upgrade/模块编码/versions
配置下图:
e

问题: 该目录配置在新建的模块当中时执行 失败!

只有放到jeesite-module-core upgrade 目录下时才能执行成功,这样会改动core 是否合理

任意url跳转

This is the Chinese report, the English report is in(这是中文的漏洞报告,英文的在): Arbitrary URL redirection vulnerability

描述

***@RequestMapping(value = "index")***在登陆时,没有对__url做出限制,导致登陆成功后,跳转到伪造页面。 版本:v5.2.0

漏洞详细

该接口接受到请求后,获取__url的地址。

com.jeesite.modules.sys.web#index()
image
image
image
在请求里面获取__url的值,如果鉴权成功,跳转到构造的url。

测试

url:*****/js/a/login?__url=http://baidu.com/

本地测试:http://localhost:8980/js/a/login?__url=http://baidu.com/
image
image
image
放包成功跳转到构造的url
image

disableAutoAddCorpCodeWhere

user.getSqlMap().getWhere().disableAutoAddCorpCodeWhere().and(columnName, queryType, value, num)

disableAutoAddCorpCodeWhere()方法表示什么意思,num表示什么

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.