Skip to content
Access control Write-up Intermediate

JAKCMS PRO <= 2.2.5 Session Variable Overloading Vulnerability

The session.php script in JAKCMS PRO does not properly verify a session variable, allowing an attacker to bypass authentication and reach some administrative functions.

karmainsecurity.com

Published on karmainsecurity.com

JAKCMS has a flaw related to the js/editor/plugins/jakadminexplorer/php/session.php script which does not properly verify a session variable. This can be exploited to bypass the authentication mechanism and gain access to certain administrative functions.

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 session.php script trusted a client-influenced session variable instead of confirming the user's authenticated state on the server.

Impact

An attacker could bypass authentication and gain access to certain administrative functions.

What the attacker needed

Access to the session.php script

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.

A website uses a session variable, a small piece of data stored on the server to remember that you are logged in. Here the script checked that variable badly, so someone could pretend to be an administrator without logging in. That let them reach some admin features.

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.