Skip to content
Access control Write-up Advanced

Meteor allow/deny vulnerability disclosure

A vulnerability in Meteor's allow/deny rules allowed a malicious client to bypass collection-level update restrictions when certain third-party schema packages were installed. An attacker could update unexpected parts of a document, potentially elevating privileges or accessing private data.

forums.meteor.com

Published on forums.meteor.com

abernix September 26, 2017, 4:35pm 1

The author, on forums.meteor.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a logic flaw in how the allow-deny package evaluated update operations when third-party schema packages altered update parameters, causing some deny rules to be skipped.

Impact

An attacker could update unexpected parts of a document, potentially modifying fields like isAdmin to elevate privileges or access private data, but only if the app used allow rules without explicit deny rules and had a schema-enforcing package on the same collection.

What the attacker needed

App uses allow rules without explicit deny; schema-enforcing package on same collection; attacker can send crafted WebSocket payload

The fix

The vulnerability was fixed in allow-deny version 1.0.9, and developers should update with the meteor update allow-deny command.

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 write-up has not been written yet. The Original tab links to the source.

Meteor is a framework for building web apps. It lets developers set rules (called allow and deny) that decide which users can change which database records. This bug meant that if a certain extra package was also installed, a bad user could sneak past those rules and change parts of a record they should not have been able to touch.

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.

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.