Skip to content
Access control Write-up Intermediate

Every CVE Unlocks Another One

A non-admin user with the SETTINGS permission could change proxy settings and disable TLS verification because these options were missing from a hand-maintained admin-only list. This allowed the user to redirect all outbound traffic through an attacker-controlled proxy and accept forged certificates, enabling interception of sensitive data.

medium.com

Published on medium.com

Most people read a CVE as an ending. A bug was found, a patch shipped, the door is closed, move on.

Shmulik Cohen, on medium.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

The program relied on a manually maintained list of dangerous configuration options to restrict non-admin users, and this list was incomplete, missing proxy and TLS verification settings.

Impact

A non-admin user could intercept and modify all outbound traffic, including credentials and updates, and combined with disabling TLS verification, could perform a full man-in-the-middle attack on HTTPS traffic.

What the attacker needed

A non-admin account with SETTINGS permission; attacker controls a proxy server

The fix

The fix should be structural: move an admin_only flag into the config schema so each option declares its own sensitivity, rather than relying on a hand-maintained list.

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.

In this download manager, some users are allowed to change settings but not all settings. The program tried to protect dangerous settings by keeping a list of ones only admins could change, but forgot to add proxy and certificate-checking options. So a regular user could secretly redirect the program's internet traffic through their own server and turn off certificate checks, letting them read or alter data.

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.