Skip to content
Access control Disclosed report Beginner CVE-2023-2665

RosarioSIS Stores Sensitive Data in a Mechanism without Access Control

RosarioSIS before version 11.0 allowed unauthenticated users to download salary attachments because the files were stored without access control. The predictable filenames made it easy to enumerate and access sensitive salary information.

francoisjacquet/rosariosis

Originally disclosed on huntr

RosarioSIS prior to 11.0 allows anyone, regardless of authentication status, to download and view file attachments under the salaries module. In addition, the file names contain a date in a YYYY-MM-DD format and a random six-string digit, making enumerating file names with automated tools relatively easy. This could allow an attacker to gain access to sensitive salary information. The patch for version 11.0 adds microseconds to filenames to make them harder to guess.

From the GitHub Advisory Database (GHSA-36cm-h8gv-mg97, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could download and view sensitive salary information without any authentication.

What the attacker needed

No authentication required; knowledge of the salaries module path

The fix

The issue was fixed in version 11.0 by adding microseconds to filenames to make them harder to guess, though proper access control would also be needed.

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 report has not been written yet. The Original tab links to the source.

This is a case where files meant to be private were stored in a way that anyone could fetch them without logging in. The file names followed a guessable pattern, so an attacker could try many names and download salary documents. The fix makes the names harder to guess, but the real issue is that access control was missing.

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 from francoisjacquet/rosariosis

View all

The newest disclosed reports for this program.

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.