News for hackers. Stuff that matters.
Re:Tales of SugarCRM Security Horrors by philsnow on Monday April 24, 2017 @11:44AM (#14185208)
The core issue is that sugar crm uses PHP built in `unserialize` on user controlled input, and they don't want to switch to json ostensibly because of performance issues.

Why don't they hmac the payloads (with a timestamp and something tied to the user (an ID, the username, whatever)) and verify the hmac before deserializing?Verifying an hmac prevents undetected tampering, is fast, and there are libraries for it in ~every language.

Re:Tales of SugarCRM Security Horrors by iancarroll on Monday April 24, 2017 @12:24PM (#14185579)
The performance part doesn't make sense to me either. What are they serializing in a CRM that is so time-critical? I found a benchmark [0] that shows differences of like .2 milliseconds for a 904 byte array.

[0] http://techblog.procurios.nl/k/n618/news/view/34972/14863/ca...