Skip to content
Access control Write-up Intermediate

Exploiting WebSocketCommunication in a JIRA `redacted` Add-On

The WebSocket endpoint of a JIRA add-on accepted user-controlled parameters (name and avatar) that were not validated, allowing an attacker to tamper with them and alter the server's response. This could let an attacker impersonate another user or inject malicious data into the chat.

updatelap Follow

Published on medium.com

While exploring the functionality of a popular JIRA-redacted Add-On for project estimation, a vulnerability was discovered in the WebSocket communication channel. This flaw allows an attacker to manipulate WebSocket requests, leading to the alteration of server responses.

Jafar Abo Nada, on medium.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 server trusted client-supplied identity parameters (name, avatar) in the WebSocket URL without validating or binding them to the authenticated user.

Impact

This could allow an attacker to impersonate another user, disrupt communication, or inject malicious data into the server response, potentially compromising the integrity of the application.

What the attacker needed

Add-on installed by admin; attacker has a user account; access to WebSocket endpoint

How it was found

  1. An administrator installs the add-on.
  2. The admin creates a project.
  3. A user is added to the project.
  4. The user enters a comment in the chat section.
  5. The attacker modifies the name and avatar parameters in the WebSocket URL and reconnects.

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 WebSocket is a two-way connection between a browser and a server, often used for live chat. Here, the chat add-on trusted extra details sent in the connection address (like a display name and avatar link) without checking them, so someone could change those details and make the server show different information. This is like writing someone else's name on a form and having it accepted without ID.

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 updatelap

View all

5 more disclosed reports, best first.

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.