Hello,
I have a strange problem:
If I place a content in the extended entry whitch has two tags in it like <a></a>, then I get the error "Forbitten, You don't have permission to access /serendipity_admin.php on this server."
If I put something between the tags like <a>1</a> it works again, it only fails if there "><" with nothing in between. Also putting the same content in the normal entry does not show the error.
I gess, the problem exists since I updated two of my event plugins yesterday. I remeber it were "event freetag" and "event mycalender", but deaktivating them did not solve my problem. Even temporarly deaktivating all event plugins did not have any effect. The error was still there.
Here is my event plugin list (german)
Textformatierung: Smilies
Erweiterte Eigenschaften von Artikeln
Textformatierung: Smarty Parsing
Textformatierung: Textile
HTML Meta-Tags
Spamschutz
Statische Seiten
Spartacus
Freie Artikel-Tags
Geotag
[Layout-Plugin: Druckfreundliche Version]
Karma
Lightbox/Thickbox JS/Graybox
Hebe Suchwörter hervor
Kontaktformular
Suchmaschinen-Sitemap Generator
Übliche XHTML-Fehler beseitigen
Statistiken
Einträge ankündigen
Mein Kalender
Dashboard
Sample!
QuickNotes
Smilie-Auswahlleiste
What could I do to find the problem?
Forbitten You don't have permission...
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Re: Forbitten You don't have permission...
<a></a>... by itself, or with an href="foo" or name="foo"? I was unable to reproduce this error in my sandbox s9y installation, but I do not have the same list of plugins.
=Don=
-
kleinerChemiker
- Regular
- Posts: 765
- Joined: Tue Oct 17, 2006 2:36 pm
- Location: Vienna/Austria
- Contact:
Re: Forbitten You don't have permission...
Is it an error from serendipity or Apache?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Forbitten You don't have permission...
Hi!
A 403 error actually sounds like Apache mod_security, ask your provider if thats enabled.
Regards,
Garvin
A 403 error actually sounds like Apache mod_security, ask your provider if thats enabled.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: Forbitten You don't have permission...
It is all of a sudden with any two tags, also with <b><c> or with >< , but only in extended entry. I temporarly disabled all event plugins, but still have the error.Don Chambers wrote:<a></a>... by itself, or with an href="foo" or name="foo"? I was unable to reproduce this error in my sandbox s9y installation, but I do not have the same list of plugins.
How could I find this out?kleinerChemiker wrote:Is it an error from serendipity or Apache?
I think, this was the right question, thank you!garvinhicking wrote:Hi!
A 403 error actually sounds like Apache mod_security, ask your provider if thats enabled.
Yes,I found something at my error log:
Code: Select all
[Sat Jun 13 21:56:40 2009] [error] [client 89.246.165.72] ModSecurity: Access denied with code 403 (phase 2). Pattern match "(< ?(?:script|about|applet|activex|chrome).*(?:script|about|applet|activex|chrome) ?>|> ?< ?(img ?src|a ?href) ?= ?(ht|f)tps?:/|" ?> ?<|" ?[a-z]+ ?<.*>|> ?"? ?(>|<)|< ?/?i?frame|\\%env)" at ARGS:serendipity[extended]. [file "/etc/apache2/modsec2/10_asl_rules.conf"] [line "570"] [id "340147"] [rev "38"] [msg "Generic XSS filter"] [severity "CRITICAL"] [hostname "www.dd4kids.de"] [uri "/serendipity_admin.php"] [unique_id "OTCPJ04vCnsAADh@g8MAAABH"]Author von Dresden für Kinder
Re: Forbitten You don't have permission...
My provider answered already. Your where right garvin, it was a new firewall rule in mod_security. I got a personal exeption rule against the false positiv and everything is working again.
Thank you for the support anyway!
Thank you for the support anyway!
Author von Dresden für Kinder