My Oracle Support Banner

When Using OS Authenticated Connections With Pooling,The Same Connection is Used for Different Users (Doc ID 1085304.1)

Last updated on FEBRUARY 26, 2019

Applies to:

Oracle Data Provider for .NET - Version to [Release 11.1]
Information in this document applies to any platform.


When using OS Authentication (or kerberos), Oracle client, and ODP version with pooling=true
after user A opens a connection and closes it. Thereby releasing it into the pool, if user B opens another connection using the same connection string. He will obtain the pooled connection and effectively impersonate user A (AUTHENTICATED_IDENTITY is that of user A). This is absolutely unwanted and presents a security flaw.

ODP should create a different connection pool for user B even though the connection string is the same. This means the provider has to differentiate between the connection pools not only upon the actual connection string parameters but to also take into account the identity of the connection string user.




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.