Skip to content
Access control Write-up Intermediate

Latest Joomla Exploit ‘CVE-2020-35616’ – Joomla ACL Security Vulnerabilities

A non-superuser could submit a form with an ACL ruleset that granted permissions to other user groups, bypassing the intended access control. An attacker with a low-privileged account could thus escalate privileges for themselves or others.

blog.securelayer7.net

Published on blog.securelayer7.net

Vulnerability Research

The author, on blog.securelayer7.net

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 save function did not validate or strip ACL rulesets submitted by non-superusers, so any supplied rules were applied.

Impact

A non-superuser could grant themselves or others elevated permissions, potentially leading to full control over parts of the site.

What the attacker needed

A low-privileged account (e.g., manager); ability to edit a category

The fix

The vulnerability was fixed in Joomla 3.9.23 by adding a validate function that removes ACL rulesets from non-superusers.

How it was found

  1. Create three users: super-user, manager, and administrator.
  2. Super-user creates a category and sets permissions: all allowed for manager, all denied for administrator.
  3. Administrator logs in and cannot perform actions on the category.
  4. Manager logs in, edits the category, and adds POST parameters to set ACL rules granting all permissions to the administrator group.
  5. Administrator now has all permissions on the category.

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.

Joomla is a system for building websites. It uses access control lists (ACLs) to decide who can do what. The bug meant that a user without special rights could sneak in extra permissions when saving a form, giving themselves or others more power than they should have.

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.