[okl.lt] Раскрытие администраторских функций в .js + Возможность использования этих функций.
The application exposed administrator-only functions in client-side JavaScript, and the server did not properly check authorisation when those functions were called. A regular user could therefore perform actions meant only for administrators.
- Paid in 3 days
- Disclosed after 3 months
Summary by the program
@iframe reported insufficient authorization at okl.lt which allowed regular users to perform actions intended to be accessible to administrators only. This vulnerability was aggravated by the fact that administrators-only API could be reversed-engineered from the HTML code.
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
Root cause
Likely the server trusted the client to enforce administrator-only access instead of checking the user's role on every request.
Impact
A regular user could perform administrator-only actions, though the text does not specify which actions or their full consequences.
What the attacker needed
A regular user account
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.
Some websites send JavaScript code to your browser that includes hidden admin features. Normally the server should still check whether you are an admin before doing anything. Here the server did not check properly, so a normal user could call those admin features and they would work.
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.