Cross-tenant database retargeting via dot/NUL injection in namespace strings in the PHP Driver
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in PHP Extension 1.21.6, PHP Extension 2.4.1, PHP Library 1.21.4 and 1 more.
The MongoDB client library for PHP does not sufficiently sanitize special elements in application-supplied namespace identifiers before using them to construct the target namespace for database operations. An application that incorporates untrusted text into these identifiers may have operations silently directed at a different storage location than the one the application intended.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| MongoDB | PHP Extension | <1.21.6, >=2.0.0 <2.4.1 | 1.21.6, 2.4.1 |
| MongoDB | PHP Library | <1.21.4, >=2.0.0 <2.4.1 | 1.21.4, 2.4.1 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in MongoDB, strongest first
Embed
A live severity badge for an advisory, README or ticket