Case 1
microsoft/markitdown
@ed178952a667convert_to_markdown(uri)
SSRF Exposure & Hardening
Indicative score 8.6 High
VERIFIED_LIVEVERIFIED_FIXED
In plain wordsThis tool fetches any web address an AI model hands it, including addresses that should only be reachable from inside a network. On a running copy of the code, all 11 attempts got through. With the second version of the fix none did, and normal requests still worked.
This MCP server fetches any http(s) URI a model gives it. In a container built from the commit, every request variant we tried reached an internal target. The maintainers document that the tool fetches whatever the caller provides, so we report this as exposure and hardening. The owner decides whether to accept it.
- 11 / 11
- attacks reached the internal target before the patch
- 0 / 11
- after the patch
- 2 / 2
- benign requests intact
The 11 requests
127.0.0.1localhost127.10.0.0.02130706433[::ffff:127.0.0.1]169.254.169.254100.100.100.20010.0.0.5[fd00:ec2::254]redirect from a public host
Attempt 1NOT_FIXED
Two requests still reached the target: the cloud metadata address in the shared range and the redirect.
Attempt 2VERIFIED_FIXED
The attack log went back to the local model. Its next patch stopped all 11, and both benign requests still worked.
BoundaryTested on the exact commit in isolated Docker (python:3.12-slim, no outside network). Not tested: DNS rebinding. file: URIs are outside the scope of this patch.