Skip to content
Misconfiguration Disclosed report Intermediate

Unauthenticated go-httpbin servers : Leads to Cookie Tossing on *.aws.dev and Open Redirect

An unauthenticated go-httpbin instance on an aws.dev host let anyone set cookies scoped to the parent aws.dev domain and redirect to arbitrary external URLs. An attacker could plant cookies that sibling aws.dev applications receive, and crafted cookie values could trigger a WAF block that made another application unreachable for the victim.

notnotnotveg Follow

Originally disclosed on HackerOne

  • Fixed in 4 days
  • Disclosed after 53 days

Description: The unauthenticated go-httpbin instance exposes multiple endpoints that accept attacker-controlled input without appropriate validation.

Two issues were identified:

  1. Cross-subdomain cookie tossing / cookie injection - /cookies/set allows an unauthenticated user to specify an arbitrary cookie Domain, including the parent aws.dev domain. This allows attacker-controlled cookies set from one *.aws.dev host to be delivered to unrelated sibling applications.
  2. Open redirect - /redirect-to accepts an arbitrary URL and redirects the victim to that destination without validation.

The cookie issue was verified against unrelated *.aws.dev applications. A crafted cookie value was also observed to cause a separate application at ████████ to receive a CloudFront/WAF 403 response, demonstrating a practical cross-tenant denial-of-service impact.

Endpoints:

████████
████████
████████

As an example, Impact was tested on ████████

Steps To Reproduce:

Open Redirect :

Observe the open redirect to arbitrary domains :

Bash
$ curl -s ████████redirect-to?url=http://google.com -D - -o /dev/null
HTTP/1.1 302 Found
Server: ████████
Date: Mon, 24 Aug 2026 21:27:43 GMT
Content-Length: 0
Connection: keep-alive
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: *
Location: http://google.com

$

For Cookie Tossing / Cookie Injection :

  1. (Not related to vulnerable endpoint) First navigate to ████████ to observe normal site behavior (401 with login prompt)

████████

  1. Navigate to the following vulnerable URL to set the cookie dos_poc=<script>alert(1)</script> on domain aws.dev :
████████cookies/set?dos_poc=<script>alert(1)</script>&attr[Domain]=aws.dev

████████

  1. As impact, observe the cookie set by ████████ on aws.dev, triggers a WAF denial (on a single user) on ████████

████████

Impact

Summary:

  • Cross-subdomain cookie injection/tossing: Plant attacker-controlled cookies scoped to *.aws.dev, causing them to be sent to unrelated sibling applications.
  • Denial of service: Crafted cookie values can trigger CloudFront/WAF filtering and make affected applications inaccessible to the victim.
  • Potential cookie shadowing: Attacker-controlled cookies may interfere with security or application cookies used by sibling applications.
  • Open redirect: Redirect users from a trusted aws.dev URL to an attacker-controlled external destination.

The original report as published on HackerOne, by notnotnotveg. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a publicly reachable go-httpbin instance whose cookie-setting and redirect endpoints accept attacker-controlled domain and URL parameters without validation.

Impact

Attacker-controlled cookies could reach unrelated sibling aws.dev applications, potentially shadowing their cookies, and crafted values could cause a CloudFront/WAF 403 that made one application inaccessible to the victim; the redirect could send users from a trusted aws.dev URL to an external site.

What the attacker needed

Go-httpbin reachable on an aws.dev host; victim visits the crafted URL; no authentication needed

How it was found

  1. Visit a sibling aws.dev application to see its normal 401 login prompt.
  2. Request the cookie-setting endpoint with a chosen cookie name and value plus a Domain attribute of aws.dev.
  3. Observe the cookie is set on aws.dev and that another aws.dev application returns a WAF 403 for that user.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Cookies can be scoped to a whole domain, so a cookie set on one subdomain is also sent to other subdomains. A test tool left running on one subdomain let anyone create such cookies, so they could plant values that other sites on the same domain would trust or choke on. The same tool also forwarded visitors to any web address the attacker chose.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More by notnotnotveg

View all

1 more disclosed report, best first.

More from AWS VDP

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.