Improper UUID validation results in bypass of #419896
The server accepted tracer values that did not conform to the UUID specification, allowing characters outside the a-f and 0-9 ranges. This likely indicates a flawed regex filter, but the impact is unknown.
- Fixed in 13 days
- Paid in 13 days
- Disclosed after 13 days
This was found while evaluating the vulnerability and patch identified in #419896. I determined the deployed patch to be effective. However, I noticed tracer values could be sent which didn't conform to the UUID specification as characters outside of the a-f and 0-9 ranges could be used. For example, a value such as "zzzzzzzz-zzzz-zzzz-zzzz-zzzzzzzzzzzzzz" was accepted by the server as valid. Likely this indicates a problem with a regex filter that needs to be slightly changed.
Steps
- Navigate to a program which allows anonymous submissions.
- Open the report submission form and add an attachment.
- Observe the request sent to /attachments includes a client side generated UUID in the tracer field.
- Replay the request from step 3. Use an invalid UUID (e.g. "zzzzzzzz-zzzz-zzzz-zzzz-zzzzzzzzzzzzzz") for the tracer and observe the server accepts the value.
Impact
The impact is unknown, but it is believed to have a cascading side effect. I was asked to submit this by @jobert.
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 the regex filter used to validate UUIDs is too permissive and allows characters outside the hexadecimal range.
Impact
The impact is unknown, but it is believed to have a cascading side effect.
What the attacker needed
Anonymous submission allowed
How it was found
- Navigate to a program which allows anonymous submissions.
- Open the report submission form and add an attachment.
- Observe the request sent to /attachments includes a client side generated UUID in the tracer field.
- Replay the request from step 3. Use an invalid UUID (e.g. "zzzzzzzz-zzzz-zzzz-zzzz-zzzzzzzzzzzzzz") for the tracer and observe the server accepts the value.
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.
A UUID is a unique identifier that should only contain certain characters (0-9 and a-f). The server was supposed to check this but accepted invalid characters like 'z'. This means the validation is too loose, but we don't know what harm it could cause.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.