Skip to main content
Vulnerability Database/CVE-2025-10393

CVE-2025-10393: Miurla Morphic SSRF Vulnerability

CVE-2025-10393 is a server-side request forgery flaw in Miurla Morphic affecting the fetchHtml function that allows remote attackers to manipulate HTTP requests. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2025-10393 Overview

CVE-2025-10393 is a Server-Side Request Forgery (SSRF) vulnerability [CWE-918] affecting miurla morphic versions up to 0.4.5. The flaw resides in the fetchHtml function within the /api/advanced-search endpoint, specifically in the HTTP Status Code 3xx (redirect) handler. Attackers can manipulate the function to coerce the server into issuing arbitrary outbound HTTP requests. The exploit has been publicly disclosed and can be triggered remotely over the network.

Critical Impact

Remote attackers with low privileges can abuse the redirect handler to make the morphic backend issue arbitrary HTTP requests, enabling internal network reconnaissance and interaction with otherwise inaccessible services.

Affected Products

  • miurla morphic versions up to and including 0.4.5
  • The /api/advanced-search endpoint
  • The fetchHtml HTTP 3xx redirect handler component

Discovery Timeline

  • 2025-09-14 - CVE-2025-10393 published to the National Vulnerability Database (NVD)
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-10393

Vulnerability Analysis

The vulnerability is a classic Server-Side Request Forgery pattern [CWE-918]. The fetchHtml function in morphic retrieves content from URLs supplied through the /api/advanced-search route. When the upstream server returns an HTTP 3xx redirect, the handler follows the Location header without validating the destination.

An attacker can supply an initial URL that redirects to internal addresses such as 127.0.0.1, localhost, link-local metadata endpoints (for example 169.254.169.254), or RFC1918 private ranges. The morphic backend then issues the follow-up request from its own network position. This grants attackers access to services that are not exposed to the public internet.

Root Cause

The root cause is insufficient validation of redirect targets inside the HTTP 3xx handler used by fetchHtml. The code trusts the destination returned by the upstream server and does not re-apply allowlist or IP range checks after each redirect hop. Validation performed only on the initial user-supplied URL is bypassed by returning a redirect to a restricted destination.

Attack Vector

Exploitation requires network access to a morphic deployment and a low-privilege account that can invoke /api/advanced-search. The attacker hosts a controlled endpoint that responds with a 3xx status and a Location header pointing to an internal resource. The attacker submits the controlled URL through the advanced search API. The morphic server follows the redirect and returns, caches, or acts upon the internal response. See the GitHub Issue #670 and VulDB entry #323828 for additional technical context.

Detection Methods for CVE-2025-10393

Indicators of Compromise

  • Outbound HTTP requests from the morphic application host to internal IP ranges such as 127.0.0.0/8, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, or 169.254.0.0/16.
  • Application logs showing /api/advanced-search requests with URLs pointing to attacker-controlled hosts followed by redirect chains.
  • Unexpected access attempts to cloud metadata endpoints such as http://169.254.169.254/latest/meta-data/.

Detection Strategies

  • Instrument the fetchHtml code path to log every URL fetched, including each redirect hop, and alert when destinations resolve to private or loopback addresses.
  • Deploy egress filtering at the network layer and alert on blocked connections originating from the morphic workload.
  • Correlate web access logs for /api/advanced-search with downstream DNS queries and outbound socket activity from the same process.

Monitoring Recommendations

  • Monitor DNS resolution requests from the morphic container or host for unusual external domains referenced in search parameters.
  • Track response-size and response-time anomalies on /api/advanced-search that may indicate internal service probing.
  • Enable audit logging on cloud instance metadata services (IMDSv2 enforcement on AWS) to catch unauthorized metadata reads.

How to Mitigate CVE-2025-10393

Immediate Actions Required

  • Restrict external access to the /api/advanced-search endpoint until a patched release is deployed.
  • Apply egress network controls that deny the morphic workload from reaching RFC1918, loopback, and link-local IP ranges.
  • Review /api/advanced-search request logs for suspicious URLs and redirect chains targeting internal resources.

Patch Information

At the time of publication, no official fixed release has been enumerated in the enriched CVE data for miurla morphic. Track the upstream project at GitHub Issue #670 and the VulDB CTI entry #323828 for remediation status. Upgrade to a version later than 0.4.5 once the maintainers publish a fix.

Workarounds

  • Wrap the HTTP client used by fetchHtml with a resolver that rejects private, loopback, link-local, and multicast addresses on every redirect hop.
  • Disable automatic redirect following in the HTTP client and re-validate any Location header before issuing the next request.
  • Enforce an allowlist of permitted outbound destinations for the morphic workload at the proxy or service mesh layer.
bash
# Example egress restriction using iptables on the morphic host
iptables -A OUTPUT -d 127.0.0.0/8   -j REJECT
iptables -A OUTPUT -d 10.0.0.0/8    -j REJECT
iptables -A OUTPUT -d 172.16.0.0/12 -j REJECT
iptables -A OUTPUT -d 192.168.0.0/16 -j REJECT
iptables -A OUTPUT -d 169.254.0.0/16 -j REJECT

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.