logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: ModSecurity: Access denied with code 500 (phase 2)
Author
pbbhatt



Joined: 13 Jan 2009
Posts: 1

PostPosted: Tue 13 Jan '09 10:54    Post subject: ModSecurity: Access denied with code 500 (phase 2) Reply with quote

Hi...

I have install mantis on "forteqa.com" and when i will submit my bugs , so sometimes its given me " Internal server error". When i have seen in apache error_logs its show me following error.

[Tue Jan 13 01:50:06 2009] [error] [client 59.95.248.76] ModSecurity: Access denied with code 500 (phase 2). Pattern match "(insert[[:space:]]+into.+values|select.*from.+[a-z|A-Z|0-9]|select.+from|bulk[[:space:]]+insert|union.+select|convert.+\\(.*from)" at ARGS:description. [file "/usr/local/apache/conf/modsec2.user.conf"] [line "355"] [id "300016"] [rev "2"] [msg "Generic SQL injection protection"] [severity "CRITICAL"] [hostname "forteqa.com"] [uri "/bugs/bug_report.php"] [unique_id "oGfxpkg0y68AAH-29wwAAAAX"]

Kindly give me solution.....

Regards,
Pinakin

email Id: pbbhatt@gmail.com
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Thu 05 Mar '09 13:16    Post subject: Reply with quote

You should enable a mod_sec log to see which rule blocks your mantis. And than modify or remove that rule.
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Thu 05 Mar '09 22:58    Post subject: Reply with quote

The rule is in that message

file: usr/local/apache/conf/modsec2.user.conf"] [line "355"]


I've never found an out to the SQL attack rules. I set them off every time I post to a forum and the forum is flat file not SQL.

I commented out the rule.
Back to top


Reply to topic   Topic: ModSecurity: Access denied with code 500 (phase 2) View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules