Skip to content
Access control Write-up Beginner

My First CVE: Discovery of Broken Access Control in the DATAGERRY

The DATAGERRY platform's /rest/rights/ endpoint lacked authentication despite documentation requiring a JWT, allowing unauthenticated users to disclose sensitive information. The report also mentions a separate CVE for other endpoints that allow unauthenticated information disclosure and command execution.

Byte Hunter Follow

Published on medium.com

Recently, CVE-2024–46627 was published for DATAGERRY Platform that allows unauthenticated users to disclose sensitive information and execute commands via crafted web API requests at the following endpoints:

Byte Hunter, 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

Likely the /rest/rights/ endpoint was missing an authentication check in the server code, even though the API documentation said a JWT cookie was required.

Impact

An unauthenticated attacker could disclose sensitive information from the /rest/rights/ endpoint; the report also states that other endpoints allow unauthenticated information disclosure and command execution, but does not demonstrate that.

What the attacker needed

Network access to the DATAGERRY instance

How it was found

  1. Review the API documentation and note that endpoints require a JWT token.
  2. Send a request to the /rest/rights/ endpoint without any authentication.
  3. Observe that the endpoint returns data without requiring authorisation.

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.

An API endpoint is a URL that a program uses to talk to a server. Normally, some endpoints should require you to log in first. Here, one endpoint that was supposed to require a login token could be accessed by anyone, so it leaked information.

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 Byte Hunter

View all

1 more disclosed report, 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.