Skip to content
Access control Write-up Beginner

Breaking Down Barriers : CVE-2023–2227

The Modoboa API endpoint /api/v2/parameters/core/ lacked authentication and authorization, allowing unauthenticated users to read sensitive configuration data and modify it via PUT requests. An attacker could view and alter administrative settings, potentially taking over the system.

7h3h4ckv157 Follow

Published on infosecwriteups.com

Greeting esteemed readers! It is with great enthusiasm that I convey to you a seminal revelation which I have unearthed in the domain of cybersecurity.

7h3h4ckv157, on infosecwriteups.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 API endpoint for core parameters was missing permission checks, so it allowed any request regardless of authentication or role.

Impact

An unauthenticated attacker could read and modify sensitive administrative settings, potentially leading to full system compromise.

What the attacker needed

None

How it was found

  1. Send a GET request to /api/v2/parameters/core/ without authentication.
  2. Observe that the response contains sensitive configuration data.
  3. Send a PUT request to the same endpoint with modified JSON data.
  4. Observe that the server accepts the change and returns 200 OK.

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.

This report is about a web application that didn't check who was allowed to see or change its settings. Anyone could send a request to a specific address and read private configuration details, and even change them, without logging in. That means an outsider could mess with the system's core settings.

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.

More by 7h3h4ckv157

View all

9 more disclosed reports, best first.

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.