PHP 5.6.5 use after free in phar_object.c

2015.03.10
Credit: internot
Risk: Medium
Local: Yes
Remote: No
CVE: N/A
CWE: N/A

Description: ------------ Hi, In /ext/phar/phar_object.c: 2131 newpath = oldpath; but then: 2142 efree(oldpath); 2143 zend_throw_exception_ex(spl_ce_BadMethodCallException, 0 TSRMLS_CC, "phar \"%s\" exists and must be unlinked prior to conversion", newpath);

References:

http://seclists.org/oss-sec/2015/q1/789
https://bugs.php.net/bug.php?id=68901


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