Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Incidents
[Top] [All Lists]

Re: DNS CACHE POISONING? - Our Portal is redirecting to our first compet

Subject: Re: DNS CACHE POISONING? - Our Portal is redirecting to our first competition
Date: Tue, 29 Jan 2008 08:39:04 +0000
On Tue, 2008-01-29 at 07:57 +0800, Eduardo Tongson wrote:
You make it sound so easy to gain root. I am aware that the Linux
kernel is not 100% guaranteed free from privilege escalation bugs. But
it is very important to know the escalation vector. Given that the
kernel used is fully updated and root SSH login dismissed do you know
a way of getting root without an unknown kernel bug?

Nope. However, having spent several years in high-volume relatively
cheap bulk hosting, I can say with experience that if you permit
unrestricted PHP or CGI execution on your system then it's only a matter
of time before some customer uploads something with a hole so big you
could drive a bus through it. At that point, the bus becomes the local
user - whether the webserver user (in the case of PHP as a module, or
CGI with no privilege separation like suEXEC) or the hosted user (CGI or
PHP with a wrapper to change user, often used for accounting purposes as
well as privilege separation).

Once an unknown remote user is on your system, the glib comment I made
was "all bets are off - they're not root yet". I don't know what setuid
root scripts exist on the system in question, nor what other mods may
have been made which expose privilege escalation issues. I'm pointing
out what I believe could be a (the) likely attack vector, from
experience.

It could equally well be something else, but before we all run around
shouting that "the sky is falling" we should probably examine what we
do, or can, know first.

Graeme

<Prev in Thread] Current Thread [Next in Thread>