Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: [Full-disclosure] Apache Illegal Request Handling Possible XSS Vulnerability |
|---|---|
| Date: | Tue, 24 Apr 2007 11:24:44 +0200 |
On 4/24/07, Michal Majchrowicz <m.majchrowicz@gmail.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/
| Previous by Date: | [Full-disclosure] Apache Illegal Request Handling Possible XSS Vulnerability, Michal Majchrowicz |
|---|---|
| Next by Date: | Re: [Full-disclosure] Apache Illegal Request Handling Possible XSS Vulnerability, Michal Majchrowicz |
| Previous by Thread: | Re: [Full-disclosure] Apache Illegal Request Handling Possible XSS Vulnerability, Kradorex Xeron |
| Next by Thread: | [Full-disclosure] Linksys SPA941 remote DOS with \377 character, Radu State |
| Indexes: | [Date] [Thread] [Top] [All Lists] |