|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75007 Create an Unexpected Object in During WDDX Deserialization
Submitted: 2017-07-30 14:34 UTC Modified: 2017-08-02 17:23 UTC
Avg. Score:4.0 ± 1.0
Reproduced:0 of 1 (0.0%)
From: taoguangchen at icloud dot com Assigned:
Status: Open Package: WDDX related
PHP Version: 5.6.31 OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: taoguangchen at icloud dot com
New email:
PHP Version: OS:


 [2017-07-30 14:34 UTC] taoguangchen at icloud dot com
Create an Unexpected Object in During WDDX Deserialization

In During WDDX Deserialization, an unexpected object can be created via the crafted wddx pockets, and bypass __wakeup() method

class obj {
	function __wakeup() {

$wddx = <<<EOT
<?xml version='1.0'?>
<wddxPacket version='1.0'>
			<var name='php_class_name'>
			<var name='prop'>



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-07-31 12:46 UTC]
Like unserialize, wddx_deserialize() must not be fed with untrusted input.
Consequently we don't consider bugs in wddx_deserialize security vulnerabilities.
Removing Private flag...
 [2017-08-02 17:23 UTC]
-Type: Security +Type: Bug
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Nov 29 08:01:23 2020 UTC