Lucene search
K

RSA Key Manager version 1.5.x SQL Injection Vulnerability

🗓️ 04 Jun 2010 00:00:00Reported by Kyle QuestType 
zdt
 zdt
🔗 0day.today👁 22 Views

RSA Key Manager 1.5.x SQL Injection Vulnerability in Encryption Key Cache Table

Related
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2010-1904
7 Jun 201014:00
cve
Cvelist
CVE-2010-1904
7 Jun 201014:00
cvelist
EUVD
EUVD-2010-1923
7 Oct 202500:30
euvd
NVD
CVE-2010-1904
7 Jun 201017:12
nvd
Packet Storm
RSA Key Manager 1.5.x SQL Injection
4 Jun 201000:00
packetstorm
Prion
Sql injection
7 Jun 201017:12
prion
securityvulns
RSA Key Manager SQL injection Vulnerability ( CVE-2010-1904 )
8 Jun 201000:00
securityvulns
securityvulns
ESA-2011-001: RSA, The Security Division of EMC, addresses RKM 1.5 C Client SQL Injection Vulnerability
24 Jan 201100:00
securityvulns
securityvulns
RSA Key Manager SQL injection
24 Jan 201100:00
securityvulns
seebug.org
RSA Key Manager客户端Metadata数据SQL注入漏洞
7 Jun 201000:00
seebug
Rows per page
=========================================================
RSA Key Manager version 1.5.x SQL Injection Vulnerability
=========================================================


CVE: CVE-2010-1904

Product: RSA Key Manager

Vendor: EMC/RSA

Vulnerable Component: Key Manager Client

Vulnerable Component Version: 1.5.x

Vulnerability Type: SQL injection

Vendor Contact Date: 4/20/2010

Status: Vendor does not want to fix the vulnerability.



Vulnerability Details:

RSA Key Manager Client software uses an SQLite database to cache its
encryption keys.
The software fails to properly validate the metadata embedded inside of the
RSA Key Manager
encrypted data when it perform a key lookup when the encrypted data is being
decrypted.
An attacker can inject SQL commands into the metadata section of the RSA Key
Manager
encrypted data, which will be executed by the Key Manager Client software.
For example, an attacker can inject SQL statements to modify existing
encryption keys,
remove existing encryption keys, add new encryption keys, etc.


The Key Manager client uses two types of cache: memory cache and file
cache.
As long as both or either of the caches are enabled the problem can be
triggered easily.

RSA Key Manager Client 1.5.x uses the following format when it encrypts
data:

Field 1 = KeyIdString
Field 2 = NULL Terminator
Field 3 = Encryption IV
Field 4 = Encrypted Data

Encryptionn Key Cache tables:

1. "ClassTable" [contains encryption key classes configured on the server]

classID     VARCHAR(255) PRIMARY KEY
keyID       VARCHAR(255) [current key id for this key class]
refreshTime INT UNSIGNED
updateTime  INT UNSIGNED

2. "ConfigTable" [includes kekhash - KEK, Key Encryption Key, hash]

name VARCHAR(255) PRIMARY KEY
value VARCHAR(255)

3. "KeyTable" [holds the cached encryption keys]

keyID       VARCHAR(255) PRIMARY KEY
classID     VARCHAR(255)
keyData     BLOB
algorithm   VARCHAR(255) [usually "AES/CBC"]
refreshTime INT UNSIGNED
updateTime  INT UNSIGNED

Sample Injections:

Injecting the following sql code results in a new encryption key in the Key
Manager (client).

"; INSERT INTO KeyTable
VALUES('1111','MyClass','MyKeyData','ABC',1000,2000);--

Injecting something like the sql code below can be used to replace
the encryption keys used by Key Manager.

"; UPDATE KeyTable SET keyData ='NewKeyData' WHERE classID='MyClass';--




#  0day.today [2018-01-06]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation