Skip to content
Access control Write-up Intermediate

ImpressCMS <= 1.4.2 (findusers.php) Incorrect Access Control Vulnerability

The findusers.php script in ImpressCMS 1.4.2 and earlier grants access when a valid token is supplied, bypassing the intended admin-only check. An attacker could reach the user-finding functionality without being an authenticated administrator.

karmainsecurity.com

Published on karmainsecurity.com

This script should be accessible to authenticated users only. However, because of the “if” statement at lines 20-23, this script could be accessed by unauthenticated attackers if they will provide a valid security token.

The author, on karmainsecurity.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 the access check accepts a valid security token as an alternative to being an administrator, so possessing a token is enough to pass.

What the attacker needed

A valid security token

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.

Some pages on a website are meant to be seen only by logged-in administrators. This page checks for a special code (a token) and lets anyone through who presents one, even if they are not an admin. That means the page's protection can be skipped.

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.