PHP 5.5.25 segfault in php_pgsql_meta_data

2015.06.18
Credit: remi
Risk: Medium
Local: Yes
Remote: No
CWE: CWE-Other


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

With specially crafted PHP code, can raise a segfault in php_pgsql_meta_data pg_insert($conn, '.', array('foo' => 'bar') This is related to incomplete fix for #68741 strtok_r return value is not checked in php_pgsql_meta_data

References:

https://bugs.php.net/bug.php?id=69667
http://git.php.net/?p=php-src.git;a=commit;h=f93d24aa673f0d06fc8ecb5bdb211d7e82440f21


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