Skip to content
Access control Write-up Intermediate

OpenSIS Vulnerabilities

The password change functionality in OpenSIS lacked proper access controls, so an attacker could change another user's password without authorisation. The author also found a cross-site scripting flaw in a student-facing page, which was fixed quickly.

insinuator.net

Published on insinuator.net

OpenSIS is an open source student information system. Recently, it was affected by several vulnerabilities such as SQL injections, local file inclusions and incorrect access controls (CVE-2020-13380, CVE-2020-13381, CVE-2020-13382, CVE-2020-13383).

The author, on insinuator.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

Likely the password change endpoint trusted the submitted user identifier without verifying the session belonged to that user, and the student page echoed user input without encoding.

Impact

An attacker could change another user's password, potentially taking over the account, while the XSS could run script in a victim's browser; the text does not detail exploitation limits.

What the attacker needed

Access to the password change page; knowledge of a target username

The fix

The XSS was fixed in release v7.5, but the password change issue only received an ineffective obfuscation mechanism rather than a real access control fix.

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 password change page should check that the person asking is the account owner. Here it did not, so someone else could set a new password for another account. Separately, a page that shows text from users did not clean that text, letting an attacker run their own script in a victim's browser.

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.