lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 24 Apr 2007 11:24:44 +0200
From: "Guasconi Vincent" <tyoptyop@...il.com>
To: "Michal Majchrowicz" <m.majchrowicz@...il.com>, 
	full-disclosure@...ts.grok.org.uk
Subject: Re: Apache Illegal Request Handling Possible XSS
	Vulnerability

On 4/24/07, Michal Majchrowicz <m.majchrowicz@...il.com> wrote:
> Hi.
> I think now we can classify this as flaw in Apache. It accepts
> requests that simply make no sense. Take a look at this example:
> <script>alert(document.cookie);</script> /test.php
> <script>alert(document.cookie);</script>
> In some circumstances it may cause XSS vulnerability:
> <?php
>         echo $_SERVER['REQUEST_METHOD'];
>         echo $_SERVER['SERVER_PROTOCOL'];
> ?>
> I am now investigating other possible attacks.
> Regards Michal Majchrowicz.

<?php
        echo htmlentities($_SERVER['REQUEST_METHOD']);
        echo htmlentities($_SERVER['SERVER_PROTOCOL']);
?>

Sorry but,
where's the hole? (^-^)

(OK Apache shouldn't, but you too.)

-- 
Guasconi Vincent
Etudiant.
http://altmylife.blogspot.com

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ