I'm not really sure what's going on yet...
This morning at about 8am, I got a cvs update message from my CVS server. One of my anonymous CVS users (specifically cvs-axkit, which I don't think I advertise) added a passwd file to the CVSROOT project on the axkit.org CVS server. My stupid fault for not making the anonymous users just "readers". But I'm not really sure what the purpose was.
Is there some hack there I don't know about? Is my server compromised? The annoying thing is that CVS doesn't seem to keep any IP address information, so I have no idea who was connecting at that time. Can't find anything in my logs about it whatsoever.
I simply can't afford a complete re-install at this time. That would be my idea of a nightmare...
So for now I've disabled xinetd (which was running pserver), until I figure out more
Some quick ideas (Score:2, Informative)
For example:
# access CVS as root with alternative password
root:HACKER'S_CRYPTED_PASSWORD
# alias some CVS login name to root UID
hacker:HACKER'S_CRYPTED_PASSWORD:root
Have you checked if commitinfo/loginfo/etc files are not modified. They can be used to run arbitrary code.
You may want to check if you don't have any rootkits on your computer. Try www.chkrootkit.org [chkrootkit.org].
Ilya Martynov (http://martynov.org/ [martynov.org])
Re:Some quick ideas (Score:2)
say (Score:1)
Re:say (Score:2)
Neither did chkrootkit.
I hate this sort of thing. It feels like such a waste of my day - especially when it's targetted at open source resources like my server. The jollies of the few ruin it for the rest of us.
apache.org or perl.org (Score:2)
-- ask bjoern hansen [askbjoernhansen.com], !try; do();
Re:apache.org or perl.org (Score:2)
Can you drop pserver? (Score:2)
I'm way into using CVSROOT=:ext:user@host:/path/to/repos CVS_RSH=ssh. It's easier to set up than pserver, and probably more secure. I'm pretty sure you could set up an account with no login shell and only read-only access to the repository files and make it work. (But I've never tried it, so YMWV.)
I hope no damage was done. Maybe the guy didn't know what he was doing and just did all that accidentally (hence the log message)? (Or was just trying something out to see if it would work, as opposed to tr
J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
Re:Can you drop pserver? (Score:2)
But if it's going to be a security risk then I'll just kill that.