Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Security Issue with Win2k and Apache 2.2

Status
Not open for further replies.

rethaew

Programmer
Joined
Jun 14, 2006
Messages
2
Location
US
Good Day. I have recently been put in charge of managing a web server and I am not very familiar with Apache, or web servers in general, so please forgive my ignorance.

The server has Windows2k, Apache 2.2 and Activeperl 5.8. The problem is that there does not seem to be any security with the perl. Any web site that has CGI enabled can run a perl script that will execute system commands, modify files, etc. ANYWHERE on the server, not just in the home directory for that site. This is a gaping security hole that needs to be fixed. So if a user wanted to do some damage, he could in theory delete all other web site folders, destroy some system files, etc. Very bad.

I have searched the web and forums for a solution but this major issues doesn't seem to be addressed much. Can anyone advise on how to limit CGI activity to a web site's home directy with this setup.

Thanks.

Tim
 
Cross posting across fora is bad karma d00d ... but given that you don't trust the input of anyone over there, that's ok, I guess.

However, I've a feeling you're gonna get similar responses here ...

Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
 
In retrospect, you'd be best advised to discuss this with the Apache experts in the relevant fora

Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
 
hehehe... he has this q cross-posted all over the place.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top