WG call injection in /economy/contextcommand
The web-facing gateway for context-specific commands did not properly validate parameters, allowing an attacker to make arbitrary calls to an internal data service. This could let them run economy queries beyond their intended capability by confusing the type system.
- Triaged in 37 hours
- Fixed in 46 hours
- Paid in 46 hours
- Disclosed after 5.0 years
Summary by the program
Context-specific commands to a web-facing gateway had insufficient parameter validation. Some economy queries could be run outside the actual requesters' capability by confusing the type system. Some bypasses for initial fixes were also provided.
Summary by the researcher
Insufficient validation of parameters allowed making arbitrary calls to an internal data service.
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 gateway trusted client-supplied parameters and did not enforce type or capability checks before forwarding requests to the internal data service.
Impact
An attacker could run economy queries outside their actual capability by confusing the type system.
What the attacker needed
Access to the web gateway
The fix
The gateway should validate parameters and enforce capability checks; initial fixes had bypasses.
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 web gateway is a front door that passes requests to internal services. Because it did not check the request parameters carefully, someone could trick it into sending commands to an internal data service that they should not be able to reach. This is like a receptionist forwarding your call to any department without checking if you are allowed to talk to them.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.