PHP object injection via unsuppressible __pclass class inference in command monitoring events
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 6.3epss 0.3%
exploitation probability
0.3%top 79% of all CVEs
observed exploitation
nono source reports it
Deserialization of untrusted data in the command monitoring support of the MongoDB PHP Driver can cause class names embedded in document content to be honored when the driver builds monitoring event objects. When an application registers a command monitoring subscriber and includes untrusted data in a database operation, an unauthenticated party who controls that data may cause an application class implementing the driver's persistable interface to be instantiated and its unserialization method invoked with the supplied data. The resulting impact depends on the classes available in the application.
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
Affected products
MongoDB · PHP DriverReferences
https://github.com/mongodb/mongo-php-driver/pull/2115https://github.com/mongodb/mongo-php-driver/releases/tag/1.21.10https://github.com/mongodb/mongo-php-driver/releases/tag/2.1.10https://github.com/mongodb/mongo-php-driver/releases/tag/2.5.3https://github.com/mongodb/mongo-php-driver/security/advisories/GHSA-cmvj-vxvq-rh2c