Skip to content
Access control Write-up Advanced

Libssh 0.8.4 and 0.7.6 Authentication Bypass Vulnerability Fix (CVE-2018-10933)

libssh server code versions 0.6 and above accepted a user-authentication success message in place of the expected authentication request, letting an attacker authenticate without any credentials.

libssh.org

Published on libssh.org

This is an important security and maintenance release in order to address CVE-2018-10933.

The author, on libssh.org

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's authentication state machine trusted a client-supplied success message instead of requiring the normal request-and-verify sequence.

Impact

An attacker could authenticate to a vulnerable libssh server without any credentials.

What the attacker needed

Network access to a vulnerable libssh server

The fix

The vulnerability was fixed in libssh 0.8.4 and 0.7.6.

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.

SSH is the protocol used to log in to remote servers. Normally the server waits for a login request and checks the password or key. Here the server accepted a message that simply says 'login succeeded' before any check happened, so anyone could get in without a password.

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.