Arbitrary Code Execution Affecting doctrine/mongodb-odm-bundle package, versions <3.0.1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-DOCTRINEMONGODBODMBUNDLE-70029
  • published31 Aug 2015
  • disclosed31 Aug 2015
  • creditRyan Lane

Introduced: 31 Aug 2015

CVE-2015-5723  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade doctrine/mongodb-odm-bundle to version 3.0.1 or higher.

Overview

Affected versions of doctrine/mongodb-odm-bundle are vulnerable to Arbitrary Code Execution.

Doctrine Annotations before 1.2.7, Cache before 1.3.2 and 1.4.x before 1.4.2, Common before 2.4.3 and 2.5.x before 2.5.1, ORM before 2.4.8 or 2.5.x before 2.5.1, MongoDB ODM before 1.0.2, and MongoDB ODM Bundle before 3.0.1 use world-writable permissions for cache directories, which allows local users to execute arbitrary PHP code with additional privileges by leveraging an application with the umask set to 0 and that executes cache entries as code.

CVSS Scores

version 3.1