Kaltura - Remote Code Execution and... CVE-2017-14141, CVE-2017-14142, CVE-2017-14143

- AV AC AU C I A
发布: 2025-04-13
修订: 2025-04-13

### 1) Unauthenticated Remote Code Execution through unserialize() from cookie data Because of a hardcoded cookie secret, the cookie signature validation can be bypassed and malicious user input can be passed via the 'userzone' cookie to the unserialize() function: ``` abstract class kalturaAction extends sfAction { private $cookieSecret = 'y3tAno3therS$cr3T'; // [...] protected function getUserzoneCookie() { $cookie = $this->getContext()->getRequest()->getCookie('userzone'); $length = strlen($cookie); if ($length <= 0) return null; $serialized_data = substr($cookie, 0, $length - 32); $hash_signiture = substr($cookie, $length - 32); // check the signiture if (md5($serialized_data . $this->cookieSecret) != $hash_signiture) return null; $userzone_data = unserialize(base64_decode($serialized_data)); ``` To pass this validation the base64 encoded serialized object has to be hashed and this hash appended to the encoded data. A Zend Framework POP chain [1] can then be used to execute PHP...

0%
暂无可用Exp或PoC
当前有0条受影响产品信息