{"id":1406,"date":"2026-08-31T16:32:22","date_gmt":"2026-08-31T16:32:22","guid":{"rendered":"https:\/\/www.securesteps.tn\/?p=1406"},"modified":"2026-08-31T16:32:22","modified_gmt":"2026-08-31T16:32:22","slug":"just-health-walkthrough","status":"publish","type":"post","link":"https:\/\/www.securesteps.tn\/ar\/just-health-walkthrough\/","title":{"rendered":"Just Health Walkthrough \u2014 Exfiltrating \/flag Through a 31-Hop Redirect Chain"},"content":{"rendered":"<h1>Just Health Walkthrough \u2014 Exfiltrating \/flag Through a 31-Hop Redirect Chain<\/h1>\n<p><strong>Platform:<\/strong> CyberTalents \u00b7 <strong>Category:<\/strong> Web \u00b7 <strong>Difficulty:<\/strong> Medium\/Hard<br \/><strong>Goal:<\/strong> Read <code>\/flag<\/code>, which only responds to requests from <code>127.0.0.1<\/code>.<\/p>\n<hr \/>\n<h2>Challenge<\/h2>\n<p>&#8220;Just Health&#8221; is a Flask health-check application. You create checks (HTTP, ping, DNS&#8230;) and it probes them on a schedule. The source is provided (<code>Dockerfile<\/code>, <code>app\/<\/code>).<\/p>\n<p>The flag lives at <code>\/flag<\/code> \u2014 but only for localhost:<\/p>\n<pre><code>@auth_bp.route(\"\/flag\")\ndef flag():\n    if request.remote_addr != \"127.0.0.1\":\n        abort(403)\n    with open(\"\/flag.txt\") as f:\n        return f.read(), 200, ...\n<\/code><\/pre>\n<p>We&#8217;re not localhost. But the app <em>does<\/em> make outbound requests on our behalf \u2014 an SSRF primitive.<\/p>\n<h2>The vulnerability: SSRF + response reflection<\/h2>\n<p>The HTTP health check uses:<\/p>\n<pre><code>requests.get(url, allow_redirects=True, ...)\n<\/code><\/pre>\n<p>The URL is fully user-controlled. Normally the response body is <strong>not<\/strong> returned \u2014 the result message is just &#8220;HTTP 200&#8221;.<\/p>\n<p>But look at the exception handler:<\/p>\n<pre><code>except requests.exceptions.TooManyRedirects:\n    dest = requests.get(last_location, allow_redirects=False, ...)\n    message = f\"Too many redirects ... final destination {dest.text[:8192]}\"\n<\/code><\/pre>\n<p>When <code>requests<\/code> raises <code>TooManyRedirects<\/code> (it does so while processing the <strong>31st<\/strong> redirect response), the app fetches the <strong>last <code>Location<\/code> header<\/strong> with redirects disabled and reflects up to 8192 bytes of its body into the check result.<\/p>\n<p>So the plan: build a redirect chain of <strong>31 hops<\/strong> whose 31st response has <code>Location: http:\/\/127.0.0.1:5000\/flag<\/code> (the app listens on port <strong>5000<\/strong> inside the container \u2014 nginx proxies 80 externally). When the chain is followed:<\/p>\n<ul>\n<li>hop 31 \u2192 <code>TooManyRedirects<\/code> fires<\/li>\n<li>app fetches <code>http:\/\/127.0.0.1:5000\/flag<\/code> directly \u2192 200 + flag body<\/li>\n<li>flag is reflected into the result message we can read<\/li>\n<\/ul>\n<h2>Building the chain (the hard part)<\/h2>\n<p>The check URL is limited to <strong>2048 characters<\/strong> \u2014 a pure httpbin nesting of 31 levels (~7KB) won&#8217;t fit. We need URL shorteners that:<\/p>\n<ul>\n<li>are reachable from the challenge server with python-requests&#8217; default UA (no bot-blocking)<\/li>\n<li>don&#8217;t deduplicate or blacklist targets<\/li>\n<li>redirect anywhere \u2014 including <code>127.0.0.1<\/code><\/li>\n<\/ul>\n<h3>The hops<\/h3>\n<ul>\n<li><strong>tinyurl<\/strong> \u2014 accepts <code>http:\/\/127.0.0.1:5000\/flag<\/code> directly, serves 301 to any UA. Perfect final hop.<\/li>\n<li><strong>clck.ru<\/strong> \u2014 each clck link is itself <strong>2 hops<\/strong>: <code>clck.ru\/xxx \u2192 302 \u2192 sba.yandex.ru\/redirect?url=&lt;target&gt; \u2192 302 \u2192 &lt;target&gt;<\/code>.<\/li>\n<li><strong>httpbin<\/strong> <code>redirect-to?url=&lt;next&gt;<\/code> \u2014 one hop to chain into the next clck link.<\/li>\n<\/ul>\n<p>So one clck link whose target is <code>httpbin.org\/redirect-to?url=&lt;next-clck-link&gt;<\/code> gives <strong>3 hops<\/strong>: <code>clck \u2192 sba \u2192 httpbin \u2192 next clck<\/code>.<\/p>\n<h3>The chain<\/h3>\n<pre><code>c1 \u2192 sba \u2192 hb(c2) \u2192 c2 \u2192 sba \u2192 hb(c3) \u2192 ... \u2192 c10 \u2192 sba \u2192 hb(T) \u2192 T \u2192 301 \u2192 \/flag\n<\/code><\/pre>\n<p>10 clck links \u00d7 3 hops + 1 tinyurl hop = <strong>31 redirects<\/strong>. The 31st response is tinyurl&#8217;s 301 with <code>Location: http:\/\/127.0.0.1:5000\/flag<\/code> \u2014 exactly what <code>TooManyRedirects<\/code> needs.<\/p>\n<h2>Dead ends we hit (worth knowing)<\/h2>\n<ul>\n<li><strong>cleanuri.com<\/strong> \u2014 404s the python-requests UA (bot protection). Useless.<\/li>\n<li><strong>is.gd \/ v.gd<\/strong> \u2014 blacklist shortener domains and <em>follow<\/em> the chain to reject localhost destinations. Useless.<\/li>\n<li><strong>clck.ru<\/strong> \u2014 dedups by raw target string, and passes clck.ru targets through without creating a new record \u2192 you cannot chain clck\u2192clck directly; you must interleave httpbin.<\/li>\n<li><strong>sba.yandex.ru<\/strong> \u2014 throttles hard after ~10 requests (403). Keep sba hops \u2264 10 \u2014 exactly why the chain uses 10 clck links.<\/li>\n<li><strong>spoo.me<\/strong> \u2014 rejects localhost in targets.<\/li>\n<li><strong>Port<\/strong>: <code>127.0.0.1:80<\/code> is refused inside the container; the app binds <code>0.0.0.0:5000<\/code>.<\/li>\n<\/ul>\n<h2>Exploit flow<\/h2>\n<ol>\n<li>Create the tinyurl link to <code>\/flag<\/code>, then build c10 \u2192 c1 backwards (each <code>clck(hb(next))<\/code>).<\/li>\n<li>Login (any account works), add a new HTTP check whose URL is <code>c1<\/code>.<\/li>\n<li>Trigger the check run.<\/li>\n<li>The result message contains the reflected flag.<\/li>\n<\/ol>\n<pre><code>Flag{QCFAWHJYdTlNMFpIRWF1QWcxZURpSGgrSjE2bTRCR3dpS3V4dWNBRU9UV1U5ST1iMjg3YjdkZjJiMThhNDgy}\n\nNote (2026-08-31): the flag rotates per instance. Fresh instance yielded a different flag with the same exploit, unchanged.\n<\/code><\/pre>\n<h2>Why this worked (the real lesson)<\/h2>\n<ol>\n<li><strong>SSRF with a side channel.<\/strong> The classic fix for blind SSRF is &#8220;you can&#8217;t see the response&#8221; \u2014 this app broke that by reflecting the final redirect destination&#8217;s body in an error path.<\/li>\n<li><strong>The 31-hop trick.<\/strong> <code>TooManyRedirects<\/code> fires <em>after<\/em> receiving the 31st redirect \u2014 the app then fetches the last Location from the server side, turning our attacker-chosen URL into a server-side request to localhost.<\/li>\n<li><strong>Shortener ecosystems are unpredictable.<\/strong> The same chain collapses on one service (dedup, bot walls, localhost blacklists) and works on another \u2014 recon of each hop&#8217;s behavior was half the solve.<\/li>\n<\/ol>\n<p><strong>Defense takeaways:<\/strong><\/p>\n<ul>\n<li>Block loopback\/private ranges in any URL-fetching feature (SSRF allowlists + DNS rebinding protection).<\/li>\n<li>Don&#8217;t follow \u2014 let alone reflect \u2014 arbitrary redirect destinations.<\/li>\n<li>Never expose response bodies of server-side fetches, even in error messages.<\/li>\n<\/ul>\n<h2>Files<\/h2>\n<ul>\n<li><code>exploit4.py<\/code> \u2014 the working exploit (chain build + check create + run)<\/li>\n<li><code>test_redirect.py<\/code> \u2014 local simulation of the TooManyRedirects reflection<\/li>\n<\/ul>\n<hr \/>\n<p><em>Writeup of a solved CyberTalents web challenge. All attack surface described here is part of the challenge&#8217;s intended vulnerable application.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Turning a blind SSRF into a readable flag by abusing TooManyRedirects: a 31-hop chain of clck.ru + httpbin + tinyurl redirects ending at 127.0.0.1 (CyberTalents Web CTF).<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1406","post","type-post","status-publish","format-standard","hentry","category-webapplicationsecurity"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Turning a blind SSRF into a readable flag by abusing TooManyRedirects: a 31-hop chain of clck.ru + httpbin + tinyurl redirects ending at 127.0.0.1 (CyberTalents Web CTF).\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Zied BELGHITH\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.securesteps.tn\/ar\/just-health-walkthrough\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"ar_AR\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Secure Steps - Cybersecurity assessments, insights, and clear remediation.\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Just Health Walkthrough \u2014 Exfiltrating \/flag Through a 31-Hop Redirect Chain - Secure Steps\" \/>\n\t\t<meta property=\"og:description\" content=\"Turning a blind SSRF into a readable flag by abusing TooManyRedirects: a 31-hop chain of clck.ru + httpbin + tinyurl redirects ending at 127.0.0.1 (CyberTalents Web CTF).\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.securesteps.tn\/ar\/just-health-walkthrough\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-08-31T16:32:22+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-08-31T16:32:22+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Just Health Walkthrough \u2014 Exfiltrating \/flag Through a 31-Hop Redirect Chain - Secure Steps\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Turning a blind SSRF into a readable flag by abusing TooManyRedirects: a 31-hop chain of clck.ru + httpbin + tinyurl redirects ending at 127.0.0.1 (CyberTalents Web CTF).\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.securesteps.tn\\\/ar\\\/just-health-walkthrough\\\/#blogposting\",\"name\":\"Just Health Walkthrough \\u2014 Exfiltrating \\\/flag Through a 31-Hop Redirect Chain - Secure Steps\",\"headline\":\"Just Health Walkthrough \\u2014 Exfiltrating \\\/flag Through a 31-Hop Redirect Chain\",\"author\":{\"@id\":\"https:\\\/\\\/www.securesteps.tn\\\/ar\\\/author\\\/zied_belhotmail-com\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.securesteps.tn\\\/ar\\\/#organization\"},\"datePublished\":\"2026-08-31T16:32:22+00:00\",\"dateModified\":\"2026-08-31T16:32:22+00:00\",\"inLanguage\":\"ar\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.securesteps.tn\\\/ar\\\/just-health-walkthrough\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.securesteps.tn\\\/ar\\\/just-health-walkthrough\\\/#webpage\"},\"articleSection\":\"Web Application Security\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.securesteps.tn\\\/ar\\\/just-health-walkthrough\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.securesteps.tn\\\/ar#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.securesteps.tn\\\/ar\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.securesteps.tn\\\/ar\\\/category\\\/webapplicationsecurity\\\/#listItem\",\"name\":\"Web Application Security\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.securesteps.tn\\\/ar\\\/category\\\/webapplicationsecurity\\\/#listItem\",\"position\":2,\"name\":\"Web Application Security\",\"item\":\"https:\\\/\\\/www.securesteps.tn\\\/ar\\\/category\\\/webapplicationsecurity\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.securesteps.tn\\\/ar\\\/just-health-walkthrough\\\/#listItem\",\"name\":\"Just Health Walkthrough \\u2014 Exfiltrating \\\/flag Through a 31-Hop Redirect Chain\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.securesteps.tn\\\/ar#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.securesteps.tn\\\/ar\\\/just-health-walkthrough\\\/#listItem\",\"position\":3,\"name\":\"Just Health Walkthrough \\u2014 Exfiltrating \\\/flag Through a 31-Hop Redirect Chain\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.securesteps.tn\\\/ar\\\/category\\\/webapplicationsecurity\\\/#listItem\",\"name\":\"Web Application Security\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.securesteps.tn\\\/ar\\\/#organization\",\"name\":\"securesteps.tn\",\"description\":\"Cybersecurity assessments, insights, and clear remediation.\",\"url\":\"https:\\\/\\\/www.securesteps.tn\\\/ar\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.securesteps.tn\\\/ar\\\/author\\\/zied_belhotmail-com\\\/#author\",\"url\":\"https:\\\/\\\/www.securesteps.tn\\\/ar\\\/author\\\/zied_belhotmail-com\\\/\",\"name\":\"Zied BELGHITH\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.securesteps.tn\\\/ar\\\/just-health-walkthrough\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/96c18e9fc52e08c45006f84f0408ced54b58a24c6b0f5677185df3b75650034d?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Zied BELGHITH\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.securesteps.tn\\\/ar\\\/just-health-walkthrough\\\/#webpage\",\"url\":\"https:\\\/\\\/www.securesteps.tn\\\/ar\\\/just-health-walkthrough\\\/\",\"name\":\"Just Health Walkthrough \\u2014 Exfiltrating \\\/flag Through a 31-Hop Redirect Chain - Secure Steps\",\"description\":\"Turning a blind SSRF into a readable flag by abusing TooManyRedirects: a 31-hop chain of clck.ru + httpbin + tinyurl redirects ending at 127.0.0.1 (CyberTalents Web CTF).\",\"inLanguage\":\"ar\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.securesteps.tn\\\/ar\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.securesteps.tn\\\/ar\\\/just-health-walkthrough\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.securesteps.tn\\\/ar\\\/author\\\/zied_belhotmail-com\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.securesteps.tn\\\/ar\\\/author\\\/zied_belhotmail-com\\\/#author\"},\"datePublished\":\"2026-08-31T16:32:22+00:00\",\"dateModified\":\"2026-08-31T16:32:22+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.securesteps.tn\\\/ar\\\/#website\",\"url\":\"https:\\\/\\\/www.securesteps.tn\\\/ar\\\/\",\"name\":\"Secure Steps\",\"description\":\"Cybersecurity assessments, insights, and clear remediation.\",\"inLanguage\":\"ar\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.securesteps.tn\\\/ar\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Just Health Walkthrough \u2014 Exfiltrating \/flag Through a 31-Hop Redirect Chain - Secure Steps","description":"Turning a blind SSRF into a readable flag by abusing TooManyRedirects: a 31-hop chain of clck.ru + httpbin + tinyurl redirects ending at 127.0.0.1 (CyberTalents Web CTF).","canonical_url":"https:\/\/www.securesteps.tn\/ar\/just-health-walkthrough\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.securesteps.tn\/ar\/just-health-walkthrough\/#blogposting","name":"Just Health Walkthrough \u2014 Exfiltrating \/flag Through a 31-Hop Redirect Chain - Secure Steps","headline":"Just Health Walkthrough \u2014 Exfiltrating \/flag Through a 31-Hop Redirect Chain","author":{"@id":"https:\/\/www.securesteps.tn\/ar\/author\/zied_belhotmail-com\/#author"},"publisher":{"@id":"https:\/\/www.securesteps.tn\/ar\/#organization"},"datePublished":"2026-08-31T16:32:22+00:00","dateModified":"2026-08-31T16:32:22+00:00","inLanguage":"ar","mainEntityOfPage":{"@id":"https:\/\/www.securesteps.tn\/ar\/just-health-walkthrough\/#webpage"},"isPartOf":{"@id":"https:\/\/www.securesteps.tn\/ar\/just-health-walkthrough\/#webpage"},"articleSection":"Web Application Security"},{"@type":"BreadcrumbList","@id":"https:\/\/www.securesteps.tn\/ar\/just-health-walkthrough\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.securesteps.tn\/ar#listItem","position":1,"name":"Home","item":"https:\/\/www.securesteps.tn\/ar","nextItem":{"@type":"ListItem","@id":"https:\/\/www.securesteps.tn\/ar\/category\/webapplicationsecurity\/#listItem","name":"Web Application Security"}},{"@type":"ListItem","@id":"https:\/\/www.securesteps.tn\/ar\/category\/webapplicationsecurity\/#listItem","position":2,"name":"Web Application Security","item":"https:\/\/www.securesteps.tn\/ar\/category\/webapplicationsecurity\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.securesteps.tn\/ar\/just-health-walkthrough\/#listItem","name":"Just Health Walkthrough \u2014 Exfiltrating \/flag Through a 31-Hop Redirect Chain"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.securesteps.tn\/ar#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.securesteps.tn\/ar\/just-health-walkthrough\/#listItem","position":3,"name":"Just Health Walkthrough \u2014 Exfiltrating \/flag Through a 31-Hop Redirect Chain","previousItem":{"@type":"ListItem","@id":"https:\/\/www.securesteps.tn\/ar\/category\/webapplicationsecurity\/#listItem","name":"Web Application Security"}}]},{"@type":"Organization","@id":"https:\/\/www.securesteps.tn\/ar\/#organization","name":"securesteps.tn","description":"Cybersecurity assessments, insights, and clear remediation.","url":"https:\/\/www.securesteps.tn\/ar\/"},{"@type":"Person","@id":"https:\/\/www.securesteps.tn\/ar\/author\/zied_belhotmail-com\/#author","url":"https:\/\/www.securesteps.tn\/ar\/author\/zied_belhotmail-com\/","name":"Zied BELGHITH","image":{"@type":"ImageObject","@id":"https:\/\/www.securesteps.tn\/ar\/just-health-walkthrough\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/96c18e9fc52e08c45006f84f0408ced54b58a24c6b0f5677185df3b75650034d?s=96&d=mm&r=g","width":96,"height":96,"caption":"Zied BELGHITH"}},{"@type":"WebPage","@id":"https:\/\/www.securesteps.tn\/ar\/just-health-walkthrough\/#webpage","url":"https:\/\/www.securesteps.tn\/ar\/just-health-walkthrough\/","name":"Just Health Walkthrough \u2014 Exfiltrating \/flag Through a 31-Hop Redirect Chain - Secure Steps","description":"Turning a blind SSRF into a readable flag by abusing TooManyRedirects: a 31-hop chain of clck.ru + httpbin + tinyurl redirects ending at 127.0.0.1 (CyberTalents Web CTF).","inLanguage":"ar","isPartOf":{"@id":"https:\/\/www.securesteps.tn\/ar\/#website"},"breadcrumb":{"@id":"https:\/\/www.securesteps.tn\/ar\/just-health-walkthrough\/#breadcrumblist"},"author":{"@id":"https:\/\/www.securesteps.tn\/ar\/author\/zied_belhotmail-com\/#author"},"creator":{"@id":"https:\/\/www.securesteps.tn\/ar\/author\/zied_belhotmail-com\/#author"},"datePublished":"2026-08-31T16:32:22+00:00","dateModified":"2026-08-31T16:32:22+00:00"},{"@type":"WebSite","@id":"https:\/\/www.securesteps.tn\/ar\/#website","url":"https:\/\/www.securesteps.tn\/ar\/","name":"Secure Steps","description":"Cybersecurity assessments, insights, and clear remediation.","inLanguage":"ar","publisher":{"@id":"https:\/\/www.securesteps.tn\/ar\/#organization"}}]},"og:locale":"ar_AR","og:site_name":"Secure Steps - Cybersecurity assessments, insights, and clear remediation.","og:type":"article","og:title":"Just Health Walkthrough \u2014 Exfiltrating \/flag Through a 31-Hop Redirect Chain - Secure Steps","og:description":"Turning a blind SSRF into a readable flag by abusing TooManyRedirects: a 31-hop chain of clck.ru + httpbin + tinyurl redirects ending at 127.0.0.1 (CyberTalents Web CTF).","og:url":"https:\/\/www.securesteps.tn\/ar\/just-health-walkthrough\/","article:published_time":"2026-08-31T16:32:22+00:00","article:modified_time":"2026-08-31T16:32:22+00:00","twitter:card":"summary","twitter:title":"Just Health Walkthrough \u2014 Exfiltrating \/flag Through a 31-Hop Redirect Chain - Secure Steps","twitter:description":"Turning a blind SSRF into a readable flag by abusing TooManyRedirects: a 31-hop chain of clck.ru + httpbin + tinyurl redirects ending at 127.0.0.1 (CyberTalents Web CTF)."},"aioseo_meta_data":{"post_id":"1406","title":null,"description":null,"keywords":null,"keyphrases":{"focus":[],"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2026-08-29 02:20:31","updated":"2026-08-31 17:50:18","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.securesteps.tn\/ar\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.securesteps.tn\/ar\/category\/webapplicationsecurity\/\" title=\"Web Application Security\">Web Application Security<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tJust Health Walkthrough \u2014 Exfiltrating \/flag Through a 31-Hop Redirect Chain\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.securesteps.tn\/ar"},{"label":"Web Application Security","link":"https:\/\/www.securesteps.tn\/ar\/category\/webapplicationsecurity\/"},{"label":"Just Health Walkthrough \u2014 Exfiltrating \/flag Through a 31-Hop Redirect Chain","link":"https:\/\/www.securesteps.tn\/ar\/just-health-walkthrough\/"}],"_links":{"self":[{"href":"https:\/\/www.securesteps.tn\/ar\/wp-json\/wp\/v2\/posts\/1406","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.securesteps.tn\/ar\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.securesteps.tn\/ar\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.securesteps.tn\/ar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.securesteps.tn\/ar\/wp-json\/wp\/v2\/comments?post=1406"}],"version-history":[{"count":1,"href":"https:\/\/www.securesteps.tn\/ar\/wp-json\/wp\/v2\/posts\/1406\/revisions"}],"predecessor-version":[{"id":1408,"href":"https:\/\/www.securesteps.tn\/ar\/wp-json\/wp\/v2\/posts\/1406\/revisions\/1408"}],"wp:attachment":[{"href":"https:\/\/www.securesteps.tn\/ar\/wp-json\/wp\/v2\/media?parent=1406"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.securesteps.tn\/ar\/wp-json\/wp\/v2\/categories?post=1406"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.securesteps.tn\/ar\/wp-json\/wp\/v2\/tags?post=1406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}