[Full-disclosure] Apache Illegal Request Handling Possible XSS Vulnerability
rich at westpoint.ltd.uk
Tue Apr 24 12:40:44 BST 2007
> Michal Majchrowicz wrote:
>> In this case I agree this is a solution. If Apache wouldn't accept any 'separators' then XSS (and other stuff) wouldn't be possible at all. Is there anywhere described which chars can be used in protocol "field"?
> There is no "flaw".
I agree, the only genuine hole here is that the script is printing
untrusted input without quoting it.
Lots cut here, but to add another example to your list of ways the
real parser differs from the grammar:
GET / HT
is accepted as a valid request by Apache too :-)
Richard Moore, Principal Software Engineer,
Albion Wharf, 19 Albion Street, Manchester, M1 5LN, England
Tel: +44 161 237 1028
Fax: +44 161 237 1031
Full-Disclosure is hosted and sponsored by Secunia.