LDP/LDP/retired/LFS/chapter6/ed-exp.xml

11 lines
322 B
XML

<sect2>
<title>Command explanations</title>
<para>The sed commands fix a symlink vulnerability in ed. The ed
executable creates files in /tmp with predictable names. By using
various symlink attacks, it is possible to have ed write to files
it should not, change the permissions of various files, etc.</para>
</sect2>