Security
Headlines
HeadlinesLatestCVEs

Headline

CVE-2022-39396: Remote code execution via MongoDB BSON parser through prototype pollution

Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Versions prior to 4.10.18, and prior to 5.3.1 on the 5.X branch, are vulnerable to Remote Code Execution via prototype pollution. An attacker can use this prototype pollution sink to trigger a remote code execution through the MongoDB BSON parser. This issue is patched in version 5.3.1 and in 4.10.18. There are no known workarounds.

CVE
#nodejs#js#rce#zero_day#mongo

Package

npm parse-server (npm)

Affected versions

(<4.10.18) || (>=5.0.0 <5.3.1)

Patched versions

(>=4.10.18 <5.0.0) || (>=5.3.1)

Description

Impact

An attacker can use this prototype pollution sink to trigger a remote code execution through the MongoDB BSON parser.

Patches

Prevent prototype pollution in MongoDB database adapter.

Workarounds

Disable remote code execution through the MongoDB BSON parser.

Collaborators

Mikhail Shcherbakov (KTH), Cristian-Alexandru Staicu (CISPA) and Musard Balliu (KTH) working with Trend Micro Zero Day Initiative

References

  • GHSA-prm5-8g2m-24gg

Related news

Prototype pollution project yields another Parse Server RCE

Bug emerges from ambition to find ‘end-to-end exploits beyond DoS’

CVE: Latest News

CVE-2023-50976: Transactions API Authorization by oleiman · Pull Request #14969 · redpanda-data/redpanda
CVE-2023-6905
CVE-2023-6903
CVE-2023-6904
CVE-2023-3907