News for hackers. Stuff that matters.
Re:Tales of SugarCRM Security Horrors by throwanem on Monday April 24, 2017 @06:08AM (#14183077)
There are cases in which one might use it, but no cases in which one should.
Re:Tales of SugarCRM Security Horrors by somebehemoth on Monday April 24, 2017 @08:18AM (#14183627)
If you have completely sanitized data what is the problem with object serialization? Thank you.
Re:Tales of SugarCRM Security Horrors by hdhzy on Monday April 24, 2017 @10:25AM (#14184551)
I think the problem lies somewhere inside "completely sanitized data"."If you have them completely sanitized it usually is not what many would call object serialization (php unserialize) but rather a data format (JSON).
Re:Tales of SugarCRM Security Horrors by throwanem on Monday April 24, 2017 @10:45AM (#14184680)
The only reliable way to sanitize PHP-serialized data is to unserialize it, scrub it, and reserialize it. This poses a nigh intractable chicken-egg problem, and makes a switch to JSON by far a more economical option.