Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-01-2011, 08:11 PM
|
#1
|
LQ Newbie
Registered: Apr 2011
Posts: 5
Rep:
|
A problem with modsecurity and mediawiki, please help!
I'm running Apache2 on a Linux server with the latest modsecurity and crs. Modsecurity spits out three XSS errors in the apache2 error.log every time I visit my mediawiki site Main Page. It complains about anomaly score of 5 exceeded and has denied access. Though the mediawiki still works fine and loads as it should. The error doesn't have a rule-id, so I don't know how to fix this so it ignores those three problems in the mediawiki's index.php. Help appreciated thanks!
|
|
|
04-01-2011, 10:17 PM
|
#2
|
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552
Rep:
|
What is the exact error message that is show up in the error log? The log entry usually has a few key words that you can use to find the rule in the modsecurity config file.
|
|
|
04-05-2011, 05:21 PM
|
#3
|
LQ Newbie
Registered: Apr 2011
Posts: 5
Original Poster
Rep:
|
Thanks stickman for helping me out here.
The error shows the rule, and the access log shows the affected url, so I know all that. I just don't know how to create a whitelist or exception without a rule id number that everyone seems to use. I'm using anomaly scoring mode.
BTW it's hard to copy and paste from the server because the server is a command line linux box.
Thanks again!
|
|
|
04-11-2011, 10:31 PM
|
#4
|
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552
Rep:
|
What is the rule that is blocking the request? Depending on the rule, you might be able to comment it out in the conf, but that would depend on what the scope of the rule is.
BTW, you can still copy-n-paste session, but the method depends on the client. I usually highlight and use shift-del to cut.
|
|
|
All times are GMT -5. The time now is 05:56 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|