{"id":14638091,"url":"https://github.com/tarihub/blackjump","last_synced_at":"2025-09-07T06:32:13.455Z","repository":{"id":200118913,"uuid":"704850042","full_name":"tarihub/blackjump","owner":"tarihub","description":"JumpServer 堡垒机未授权综合漏洞利用, Exploit for CVE-2023-42442 / CVE-2023-42820 / RCE 2021","archived":false,"fork":false,"pushed_at":"2025-06-06T08:17:45.000Z","size":275,"stargazers_count":262,"open_issues_count":0,"forks_count":30,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-09-01T02:57:38.897Z","etag":null,"topics":["cve-2023-42442","cve-2023-42820","jumpserver"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tarihub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-14T09:35:07.000Z","updated_at":"2025-08-26T04:13:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"8f0ffa84-ccea-4b67-8539-6fb3df492b00","html_url":"https://github.com/tarihub/blackjump","commit_stats":null,"previous_names":["tarimoe/blackjump","tarihub/blackjump"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tarihub/blackjump","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarihub%2Fblackjump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarihub%2Fblackjump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarihub%2Fblackjump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarihub%2Fblackjump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tarihub","download_url":"https://codeload.github.com/tarihub/blackjump/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarihub%2Fblackjump/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274005341,"owners_count":25205934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cve-2023-42442","cve-2023-42820","jumpserver"],"created_at":"2024-09-10T02:01:42.714Z","updated_at":"2025-09-07T06:32:13.009Z","avatar_url":"https://github.com/tarihub.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"## blackjump\n\n[中文](https://github.com/tarimoe/blackjump/) | [English](https://github.com/tarimoe/blackjump/blob/main/README_en.md)\n\n\u003e 免责声明: 本工具仅面向合法授权的企业安全建设行为，在使用本工具进行检测时，\u003cb\u003e您应确保该行为符合当地的法律法规，并且已经取得了足够的授权。请勿对非授权目标使用\u003c/b\u003e。\n\u003e \n\u003e 如您在使用本工具的过程中存在任何非法行为，\u003cb\u003e您需自行承担相应后果，我们将不承担任何法律及连带责任\u003c/b\u003e。\n\n\nJumpServer 堡垒机综合漏洞利用\n- [x] 未授权任意用户密码重置 (CVE-2023-42820)\n- [x] 未授权一键下载所有操作录像 (CVE-2023-42442)\n- [x] 未授权任意命令执行漏洞 (RCE 2021)\n\n## 安装\n```bash\npython3 -m pip install -r requirements.txt\n```\n\n## 使用指南\n+ CVE-2023-42820: 如果知道目标的用户名和邮箱可以指定 `--user` 和 `--email` 参数\n```bash\npython3 blackjump.py reset https://vulerability\n```\n![img.png](img/img.png)\n\n+ CVE-2023-42442: `output/` 目录下的 `\u003cuuid4\u003e.tar` 文件扔进 \u003cu\u003e[jumpserver播放器播放即可](https://github.com/jumpserver/VideoPlayer/releases)\u003c/u\u003e \n```bash\npython3 blackjump.py dump https://vulerability\n```\n![img_1.png](img/img_1.png)e\n\n+ RCE\n```shell\npython3 blackjump.py rce http(s)://vulerability\n```\n![img.png](img/img_2.png)\n\n+ 帮助\n```bash\npython3 blackjump.py {reset,dump,rce} -h\n```\n\n## 参考\n1. https://github.com/Veraxy00/Jumpserver-EXP (RCE 2021 漏洞在其基础上优化部分情况命令执行失败或获取不到资产问题)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarihub%2Fblackjump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftarihub%2Fblackjump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarihub%2Fblackjump/lists"}