unbounded room creation problem - app DoS mitigation #26

Closed
opened 2026-05-24 23:31:50 +00:00 by cf7 · 0 comments
Owner

Might be breaking-

  • limits pad_ids to 64 characters
  • default limit to 10000 rooms

Currently any /get request allows the creation of a pad while blocking the RAM which allows a fairly simple DoS.

Kinda difficult to understand atm.

Example: /ws/<1MB-of-random-data> request makes the server save this key which allows to flood the server fairly quickly as there is no limit - same for /get requests.

Might be breaking- - limits pad_ids to 64 characters - default limit to 10000 rooms Currently any /get request allows the creation of a pad while blocking the RAM which allows a fairly simple DoS. Kinda difficult to understand atm. Example: `/ws/<1MB-of-random-data>` request makes the server save this key which allows to flood the server fairly quickly as there is no limit - same for `/get` requests.
cf7 added the
Kind/Bug
Kind/Security
Compat/Breaking
labels 2026-05-24 23:31:50 +00:00
cf7 closed this issue 2026-05-25 10:21:27 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: cf7/aukpad#26
No description provided.