Closed (fixed)
Project:
Security Review
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Apr 2011 at 14:37 UTC
Updated:
24 Jun 2011 at 19:02 UTC
I had permitted the style tag for all logged in users. According to http://www.feedparser.org/docs/html-sanitization.html this is dangerous but was not listed in the security report in the Help tab. What was listed there was the tr tag. How could this table row tag be dangerous?
Comments
Comment #1
coltranesecurity_review_unsafe_tags() in the module includes the style tag, so it is indeed searched for. Table tags, like tr, are also included because of some of attributes that are allowed. The sanitization filter that Drupal uses does a good job of filtering, but it's not perfect.
Feel free to reopen if you think there's still a bug.
Comment #2
spflanze commentedDoes the dangerous tr tag mean Drupal's own web site has a security vulnerability? The tr tag does appear as one of the "Allowed HTML tags" of this very Comment field I am typing this message into.
What dangerous attributes does the tr tag have?
Comment #3
gregglesThe list of vulnerable tags comes from http://ha.ckers.org/xss.html
It depends a bit on how paranoid you are. The table and td tags are mostly a problem on IE6, NS8.1 and Opera 9.02 which are not the most popular browsers on earth but still used quite a bit...
Comment #4
greggles