Skip to content
IDOR Write-up Beginner

Cisco Broadworks Vulnerabilities Cve 2021 34785 Cve 2021 34786

A read-only admin could change another admin's password or delete their account by submitting the victim's first name, last name and login ID to the change-password or delete-account endpoint, because the server trusted those identifiers instead of the session. This allowed privilege escalation to full admin and deletion of arbitrary admin accounts.

Eslam Akl Follow

Published on infosecwriteups.com

Hi! Today I will talk about my last findings at Cisco products BroadSoft BroadWorks, one of Cisco products.

Eslam Akl, on infosecwriteups.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 change-password and delete-account endpoints identified the target account from user-supplied firstname, lastname and loginid parameters instead of the authenticated session, and did not require the old password or a CSRF token.

Impact

A read-only admin could take over a full admin account and delete arbitrary admin accounts; the author also reports that the same requests worked without a CSRF token.

What the attacker needed

A read-only admin account; ability to read other admins' names and IDs; ability to intercept requests

The fix

The change-password and delete-account functions should act only on the session's own account, require the old password or a security question, and include a CSRF token.

How it was found

  1. Log in as a read-only admin and view the admin account to learn its first name, last name and admin ID.
  2. Open your own account's change-password function, enter a new password and intercept the request.
  3. Replace your details in the request with the admin's details and send it; it returns 200 OK.
  4. Log in with the new password to confirm the admin account was taken over.
  5. Intercept the delete-account request, replace the details with the admin's details and send it to delete the admin 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 write-up has not been written yet. The Original tab links to the source.

An admin panel had a 'change my password' and 'delete my account' button. The server decided which account to act on from details sent in the request (name and login ID) rather than from who was logged in. A low-privilege admin could therefore put another admin's details in the request and take over or delete that account.

What is IDOR?

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.