Full Disclosure mailing list archives

Re: [RT-SA-2016-001] Padding Oracle in Apache mod_session_crypto


From: gremlin () gremlin ru
Date: Fri, 23 Dec 2016 23:25:47 +0300

On 2016-12-23 13:28:33 +0100, RedTeam Pentesting GmbH wrote:

res = apr_crypto_passphrase(&key, &ivSize, passphrase,
strlen(passphrase), (unsigned char *) (&salt), sizeof(apr_uuid_t),
*cipher, APR_MODE_CBC, 1, 4096, f, r->pool);

CBC. Again.

The earliest mention of CFB which I know is dated 1989.
The earliest mention of CTR which I know is dated 1990-ies.

But there still are people who use CBC...

Please, PLEASE, PPLEEEEAASSSE don't use it. Instead, use either
Blowfish in CFB mode or at least Rijndael (AES) in CTR (or GCM)
mode - both are available, for example, in the OpenSSL library.


-- 
Alexey V. Vissarionov aka Gremlin from Kremlin
GPG: 8832FE9FA791F7968AC96E4E909DAC45EF3B1FA8

Attachment: _bin
Description:


_______________________________________________
Sent through the Full Disclosure mailing list
https://nmap.org/mailman/listinfo/fulldisclosure
Web Archives & RSS: http://seclists.org/fulldisclosure/

Current thread: