Go to file
ibuler 0d4e346210 chore: 修改readme 2021-01-18 00:26:51 -06:00
.github perf(github): 更新github issue模版 2020-11-10 10:30:15 +08:00
apps Merge pull request #5440 from jumpserver/dev 2021-01-17 19:29:37 +08:00
data [Update] 修改settings和配置文件 2017-12-21 18:54:29 +08:00
docs Merge branch 'stable' into dev 2019-03-04 10:47:31 +08:00
logs Add new directory logs 2016-09-04 12:37:42 +08:00
requirements feat: 抽象View Mapping Serializer架构设计; 重构工单View、Serializer模块 (#5371) 2021-01-02 07:25:23 +08:00
tmp Dev (#1053) 2018-03-07 23:18:34 +08:00
utils stash (#5178) 2020-12-08 14:26:18 +08:00
.dockerignore added Vagrantfile to support windows dev (#3036) 2019-07-29 17:00:31 +08:00
.gitignore ci(release&build): 添加 github workflows, 自动构建 release 2020-07-07 13:03:48 +08:00
Dockerfile fix(docker): 修复Dockerfile中 echo引起的sh和bash换行兼容问题 2020-12-11 19:26:46 +08:00
LICENSE [Demo] update demo mode code 2017-06-19 17:59:13 +08:00
README.md chore: 修改readme 2021-01-18 00:26:51 -06:00
README_EN.md chore: 修改readme 2021-01-18 00:26:51 -06:00
Vagrantfile added Vagrantfile to support windows dev (#3036) 2019-07-29 17:00:31 +08:00
config_example.yml Update config_example.yml 2020-10-12 05:23:49 -05:00
entrypoint.sh perf: 优化entrypoint.sh 2020-12-03 14:23:16 +08:00
jms perf: 日志增加请求耗时 (#5406) 2021-01-12 18:15:59 +08:00
run_server.py [Update] 管理脚本 2018-03-19 11:26:51 +08:00

README_EN.md

Jumpserver

Python3 Django Docker Pulls


CRITICAL BUG WARNING

JumpServer found a critical bug for pre auth and info leak, You should fix quickly.

Thanks for reactivity of Alibaba Hackerone bug bounty program report us this bug

Vulnerable version:

< v2.6.2
< v2.5.4
< v2.4.5 
= v1.5.9

Safe version:

>= v2.6.2
>= v2.5.4
>= v2.4.5 
= v1.5.9 Unstander version, so no change

Fix method: Upgrade to save version

Quick temporary fix method:(recommend)

Modify nginx config file, disable vulnerable api

/api/v1/authentication/connection-token/
/api/v1/users/connection-token/

Nginx config path

# Community old version
/etc/nginx/conf.d/jumpserver.conf

# Enterpise old version
jumpserver-release/nginx/http_server.conf
 
# New version
jumpserver-release/compose/config_static/http_server.conf

Modify nginx config

### On the server location top, or before of /api and /
location /api/v1/authentication/connection-token/ {
   return 403;
}
 
location /api/v1/users/connection-token/ {
   return 403;
}
### Add two location above
 
location /api/ {
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header Host $host;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_pass http://core:8080;
  }
 
...

Then restart nginx

docker deployment: 
$ docker restart jms_nginx

rpm or other deployment:
$ systemctl restart nginx

Fix verify

$ wget https://github.com/jumpserver/jumpserver/releases/download/v2.6.2/jms_bug_check.sh 

# bash jms_bug_check.sh HOST 
$ bash jms_bug_check.sh demo.jumpserver.org
漏洞已修复 (fixed)
漏洞未修复 (vulnerable)

Attack detection

Download the check script under the directory logs than the gunicorn on

$ pwd
/opt/jumpserver/core/logs

$ ls gunicorn.log
gunicorn.log

$ wget 'https://github.com/jumpserver/jumpserver/releases/download/v2.6.2/jms_check_attack.sh'
$ bash jms_check_attack.sh
系统未被入侵 (safe)
系统已被入侵 (attacked)


Jumpserver is the first fully open source bastion in the world, based on the GNU GPL v2.0 open source protocol. Jumpserver is a professional operation and maintenance audit system conforms to 4A specifications.

Jumpserver is developed using Python / Django, conforms to the Web 2.0 specification, and is equipped with the industry-leading Web Terminal solution which have beautiful interface and great user experience.

Jumpserver adopts a distributed architecture to support multi-branch deployment across multiple areas. The central node provides APIs, and login nodes are deployed in each branch. It can be scaled horizontally without concurrency restrictions.

Change the world, starting from little things.


Features

Jumpserver 功能

Start

Quick start Docker Install

Step by Step deployment. Docs

Full documentation Docs

Demo、Video 和 Snapshot

We provide online demo, demo video and screenshots to get you started quickly.

Demo Video Snapshot

SDK

We provide the SDK for your other systems to quickly interact with the Jumpserver API.

  • Python Jumpserver other components use this SDK to complete the interaction.
  • Java 恺珺同学提供的Java版本的SDK thanks to 恺珺 for provide Java SDK

Copyright (c) 2014-2019 Beijing Duizhan Tech, Inc., All rights reserved.

Licensed under The GNU General Public License version 2 (GPLv2) (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.gnu.org/licenses/gpl-2.0.html

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.