Skip to content
Access control Write-up Intermediate

BFLA(Broken Function Level Authorization) em ONT’s Huawei EG814

A low-privileged user on Huawei ONT devices could call a firewall function that should be restricted to administrators, allowing them to disable or enable firewall rules. Combined with default or known CLI credentials, this could let the low-privileged user escalate to administrator or root access.

João Cavalcante Follow

Published on medium.com

Quebra de nível de acesso que possibilita desabilitar e habilitar funcionalidade de firewall da ONT a partir de um usuário menos privilegiado(Epuser). Vulnerabilidade testada nas versões de software:

João Cavalcante, 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

Impact

A low-privileged user could change the firewall state, and if the CLI also used default or known credentials, this could lead to administrator or root access.

What the attacker needed

Low-privileged account (Epuser); default or known CLI credentials

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.

The device has different user levels, and some actions should only be allowed for administrators. Here, a normal user could still turn the firewall on or off, which they should not be able to do. If the device also has a default or guessable admin password for its command line, that normal user could become a full administrator.

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.