Orange Applications for Business
Vigil@nce Vigil@nce Vigil@nce
analyzing computer vulnerabilities since 1999
  home presentation vulnerabilities documentation contact  
subscriber area subscriber area
free access free access
The Vigil@nce team watches vulnerabilities impacting your computers, and then offers security solutions, a database and tools to fix them.
recent vulnerabilities recent vulnerabilities
tracked products tracked products
RSS feed RSS feed
vulnerability

vulnerability alert CVE-2012-6113

PHP: memory reading via openssl_encrypt

Synthesis of the vulnerability

When an attacker can control data sent to the PHP openssl_encrypt() function, and when he can read the result of this function, then he can obtain fragments of the application memory.
Impacted products: PHP.
Severity: 1/4.
Creation date: 21/01/2013.
Identifiers: 1099793, 61413, BID-57462, CVE-2012-6113, VIGILANCE-VUL-12341.

Description of the vulnerability

The PHP openssl_encrypt() function encrypts data. For example:
  $encrypted = openssl_encrypt($data, ...);

However, if data size is zero, this function does not initialize the integer storing the data size. The openssl_encrypt() function then returns a memory fragment, of a random size (this size is the value previously stored at the address of this integer).

When an attacker can control data sent to the PHP openssl_encrypt() function, and when he can read the result of this function, he can therefore obtain fragments of the application memory.
Complete Vigil@nce bulletin.... (free access)

Share this bulletin

Delicious Digg Facebook Google bookmarks LinkedIn Mail Reddit StumbleUpon Technorati Twitter 

Computer vulnerabilities tracking service

Vigil@nce provides computers vulnerabilities patches. The Vigil@nce computer vulnerability tracking service alerts your teams of vulnerabilities or threats impacting your information system. The technology watch team tracks security threats targeting the computer system. The Vigil@nce team tracks computer vulnerabilities impacting systems and applications.



















Copyright 1999-2014 Vigil@nce. Vigil@nce is a service from Orange Applications for Business. Site map. Legal notice. Version française