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...
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.