Skip to content
Access control Disclosed report Intermediate

[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.

iframe Follow

Originally disclosed on HackerOne

Critical View original
  • 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.

The original report as published on HackerOne, by iframe. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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.

More by iframe

View all

5 more disclosed reports, best first.

More from ok.ru

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.