← concepts · the commons
font path
5 moment(s) that assert this concept — showing 1–5 of 5
single sourceRests on a single channel — treat as a lead, verify independently
↣ how this spread over time →Computerphile · youtube · en
1Setting the font path to include 'root:' allows the Xorg process to write to the /etc/shadow file during startup.
“we're setting the font path— which is what the -fp flag does— to have this string, "root:, blah, blah, blah"”
spoken · 384s · 2018-10-30
Computerphile · youtube · en
2A program with set UID bit set can write arbitrary data to the font path and inject it into the shadow password file, allowing root access by omitting the password field.
“the format of that line we've written is the exact format required to tell the operating system the password for root and all its details, but in this case, the password would normally be between the first two colons, and that's blank; there's no hash there.”
spoken · 451s · 2018-10-30
Computerphile · youtube · en
3An attacker can exploit the ability to write to font path to modify the shadow password file and log in as root without a password.
“we can change the password for root, or any other user we'd want to, and then log in as that user without any issue.”
spoken · 526s · 2018-10-30
Computerphile · youtube · en
4An attacker can leverage the font path write capability to redirect log output to arbitrary locations, though the structured format of the file prevents direct overwriting of program binaries.
“you think, 'well, okay, if I can write the log file into different places, can I use that as a sort of way to get the data I want into the right place?'”
spoken · 578s · 2018-10-30
Computerphile · youtube · en
5The font path output format includes square brackets at the beginning of each line, which prevents direct use for overwriting executable files.
“you've got all those square brackets at the beginning of lines, and so you couldn't just use it to, say, overwrite a program file.”
spoken · 593s · 2018-10-30