Skip to content
Access control Write-up Intermediate

H3C CVM auth bypass & information disclosure

A WebSocket endpoint on a management port accepted a handshake with a deliberately altered key and no credentials, then streamed hardware management data. An attacker who could reach the port could read board, fan, power, licence and lock status without authenticating.

medium.com

Published on medium.com

It was late. The floor in the datacenter it was cold been sitting there for a few hours, but the excitement of breaking everything kept me going.

harmless-teddy, 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 WebSocket handler never checked authentication and did not validate the handshake key before streaming data.

Impact

An unauthenticated attacker with network access to the port could read sensitive hardware management data, including lock states and licence status.

What the attacker needed

Network access to port 8090

How it was found

  1. Scan the host and notice port 8090 open with an unusual protocol.
  2. Try plain tools and see the server complain about TLS and encryption versions.
  3. Send an HTTP request asking to upgrade the connection to WebSocket, with a modified sample key.
  4. Receive a 101 Switching Protocols response and read the JSON data streamed back.

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 a browser opens to a server, starting with a small handshake request. This server answered the handshake even though the client sent a nonsense key and no login, and then sent back a stream of device status information. Anyone who could reach that port could read it.

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.