Concepts / Exploitation and privilege escalation

Exploitation and privilege escalation

Default credentials

Also called default password, default login, factory credentials, shipped password, admin/admin

The username and password a device or appliance ships with — a confirmed way in whenever nobody changes it before the box goes live.

The shipped password is public
The shipped password is public

The device names its product and the product's manual names the login. No exploit is needed, and the log shows an ordinary successful login.

Default credentials are the username and password a device, database or admin panel ships with, such as admin/admin, so an operator can log in on first boot. They are published, so anyone who learns the product (from a banner or a page title) knows the login. Unchanged, they are a way in that needs no exploit, looks like a normal successful login, and survives patching. Change every default before go-live.

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab