Skip to content
Access control Write-up Intermediate

Xerox Alto zero-day: cracking disk password protection on a 45 year old system

The Xerox Alto's disk password protection could be bypassed by clearing a flag word in the boot file, and the password hash algorithm was weak enough to be reversed almost instantly. An attacker with physical access to a disk could disable the password or recover the original password.

righto.com

Published on righto.com

We've been archiving a bunch of old Xerox Alto disk packs from the 1970s. A few of them turned out to be password-protected, so I needed to figure out how to get around the password protection.

The author, on righto.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

The password flag was stored in a known location on disk and could be cleared, and the password hash algorithm was reversible and lost bits for long passwords.

Impact

An attacker with access to a password-protected disk could bypass the password and read its contents, or recover the original password.

What the attacker needed

Physical access to the disk; ability to read/write disk data

How it was found

  1. Read the directory as raw data to find the location of sys.boot.
  2. Follow the pointer from the first block to the second block.
  3. Clear the password flag word in the second block.
  4. Boot the disk without a password prompt.

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 Xerox Alto was an early computer that stored data on large disk packs. It had a password system to protect disks, but the password check could be turned off by changing a single value on the disk, and the password itself could be worked out from stored data because the method used to hide it was flawed. This means someone with the disk could read its contents without knowing the 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.