They're here! More Muvipix.com Guides by Steve Grisetti!
The Muvipix.com Guides to Premiere & Photoshop Elements 2024
As well as The Muvipix.com Guide to CyberLink PowerDirector 21
Because there are stories to tell
muvipix.com

Mod Security and Perl Scripts

Talk about anything here.

Mod Security and Perl Scripts

Postby _Paz_ » Wed Jan 28, 2015 4:41 pm

Anyone here know anything about Mod Security?

I have a Perl script running on my site. Used to be fine, before my BlueScreen and reinstallation of OS. Now, as admin, I haven't been able to make changes on the "Settings" page, until today. The author of the script and I have been working without success until he suggested I have my website host make some modifications.

It's fixed now, but by having Mod Security turned OFF.

Anyone know how vulnerable this will make my site?

thanks,

Paz
Lenovo W70l; 1.6 GHz, i7 quad core, Win 7, 64 bit, 16 gigs DDR-3 RAM; NVIDIA Quadro FX 2800; Two 1T 7200 internal drives; BluRay burner
User avatar
_Paz_
Super Contributor
Super Contributor
 
Posts: 1353
Joined: Mon Jul 11, 2011 12:32 pm
Location: Central Alabama, USA NTSC

Re: Mod Security and Perl Scripts

Postby Bob » Wed Jan 28, 2015 6:12 pm

That's difficult to say. It will depend entirely on how Mod Security was configured.

Mod Security is an open source Web Application Firewall. By itself, Mod Security doesn't do anything. It provides the tools to inspect inbound and outbound web traffic and provides a means to write rules to control the traffic. The rules are what provides the security. Mod Security does have a free core set of rules and there are companies that provide rules for a fee. It's entirely up to the web server provider as to whether or not they will incorporate any of them. Many leave that entirely up to the web site administrator. This is something you will need to discuss with your web site service provider.

It certainly sounds like there is a rule blocking access to your settings page. Perhaps reinstalling the OS changed something in your system that the rule is using to authenticate your access to the page. If your provider has Mod Security logging turned on, it should have logged an entry for the failed attempt and that may identify the rule. Once you know the specific rule, you should be able to determine whether it's something you can take care of on your computer or whether the rule needs to be modified.
User avatar
Bob
Moderator
Moderator
 
Posts: 5925
Joined: Wed Feb 21, 2007 4:49 am
Location: Southern California, USA

Re: Mod Security and Perl Scripts

Postby _Paz_ » Thu Jan 29, 2015 10:01 am

If your provider has Mod Security logging turned on, it should have logged an entry for the failed attempt and that may identify the rule. Once you know the specific rule, you should be able to determine whether it's something you can take care of on your computer or whether the rule needs to be modified.


Yes! What a simple, but ingenious solution! Thank you!

I have learned that the only this one - of my subdomains - will have ModSecurity removed. This is an image upload script that requires visitors to join, using captcha code plus email verification for them to become members. All financial transactions will be on a different subdomain, that has a different script running on it.

The fact that the $$$ side will still have more protection relieves my concerns a great deal, but I will definitely check with my web host to see if they can figure out anything via a particular failure code.

Thanks, Bob! You're the best!
Lenovo W70l; 1.6 GHz, i7 quad core, Win 7, 64 bit, 16 gigs DDR-3 RAM; NVIDIA Quadro FX 2800; Two 1T 7200 internal drives; BluRay burner
User avatar
_Paz_
Super Contributor
Super Contributor
 
Posts: 1353
Joined: Mon Jul 11, 2011 12:32 pm
Location: Central Alabama, USA NTSC

Re: Mod Security and Perl Scripts

Postby _Paz_ » Thu Jan 29, 2015 11:51 pm

Update:

After several emails back and forth this afternoon, turning ModSecurity on and off and with my webhost "white listing" all the problems, they said there were so many it would be better to simply turn it off. They said the company they get their version of ModSecurity from has constant updates based on latest threats, that the threats and updates are always changing.

I've also found some companies that offer ModSecurity that I could pay a monthly fee for myself. I have not asked my web host if that would work with in their service or not, but it seems that would be likely to keep me busy all the time, so since there are no financial transactions involved, just the possible destruction of my site, I asked them to keep it off and I'll hope the hoops in the script itself keep hobgoblins out.

Bob, once again, thanks for you help. You have a marvelous ability to explain technical things in a way I can understand.

Paz
Lenovo W70l; 1.6 GHz, i7 quad core, Win 7, 64 bit, 16 gigs DDR-3 RAM; NVIDIA Quadro FX 2800; Two 1T 7200 internal drives; BluRay burner
User avatar
_Paz_
Super Contributor
Super Contributor
 
Posts: 1353
Joined: Mon Jul 11, 2011 12:32 pm
Location: Central Alabama, USA NTSC


Return to Water Cooler 


Similar topics


Who is online

Users browsing this forum: No registered users and 83 guests