Skip to content
Access control Disclosed report Intermediate

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.

njbooher3 Follow

Originally disclosed on HackerOne

Critical 9.6 View original
  • 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.

The original report as published on HackerOne, by njbooher3. 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 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.

More by njbooher3

View all

13 more disclosed reports, best first.

More from Valve

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.