Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2015-5723

HIGH 7.8EPSS 24%

Doctrine Security Misconfiguration Vulnerability

Also known as GHSA-pw5c-xqf2-6xc2

Mitigation

  • Upgrade doctrine/annotations to 1.2.7 or later.
  • Upgrade doctrine/cache to one of 1.4.2, 1.3.2 (or later in the same release line).
  • Upgrade doctrine/common to one of 2.4.3, 2.5.1 (or later in the same release line).
  • Upgrade doctrine/orm to 2.5.1 or later.
  • Upgrade doctrine/mongodb-odm to 1.0.2 or later.
  • Upgrade doctrine/mongodb-odm-bundle to 3.0.1 or later.
  • Upgrade zendframework/zendframework1 to 1.12.16 or later.
  • Upgrade zendframework/zend-cache to one of 2.5.3, 2.4.8 (or later in the same release line).

Who should check

  • Projects that depend on Packagist package doctrine/annotations (< 1.2.7)
  • Projects that depend on Packagist package doctrine/cache (>= 1.4.0, < 1.4.2)
  • Projects that depend on Packagist package doctrine/common (< 2.4.3)
  • Projects that depend on Packagist package doctrine/orm (>= 2.5.0, < 2.5.1)
  • Projects that depend on Packagist package doctrine/mongodb-odm (< 1.0.2)
  • Projects that depend on Packagist package doctrine/mongodb-odm-bundle (< 3.0.1)
  • Projects that depend on Packagist package zendframework/zendframework1 (>= 1.12.0, < 1.12.16)
  • Projects that depend on Packagist package zendframework/zend-cache (>= 2.5.0, < 2.5.3)

Vulnerability facts

Affected
doctrine/annotations < 1.2.7; doctrine/cache >= 1.4.0, < 1.4.2; doctrine/common < 2.4.3; doctrine/orm >= 2.5.0, < 2.5.1; doctrine/mongodb-odm < 1.0.2; doctrine/mongodb-odm-bundle < 3.0.1; zendframework/zendframework1 >= 1.12.0, < 1.12.16; zendframework/zend-cache >= 2.5.0, < 2.5.3; aws/aws-sdk-php >= 3.0.0, < 3.2.1; zendframework/zendframework >= 2.4.0, < 2.4.8; zfcampus/zf-apigility-doctrine >= 1.0.0, < 1.0.3
Fixed in
1.2.7, 1.4.2, 1.3.2, 2.4.3, 2.5.1, 1.0.2, 3.0.1, 1.12.16, 2.5.3, 2.4.8, 3.2.1, 1.0.3
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.0, NVD)CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.38% chance of exploitation in 30 days (percentile 24, 2026-11-26)
CWE
CWE-264
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
Packagist doctrine/annotations< 1.2.71.2.7osv
Packagist doctrine/cache>= 1.4.0, < 1.4.21.4.2, 1.3.2osv
Packagist doctrine/common< 2.4.32.4.3, 2.5.1osv
Packagist doctrine/orm>= 2.5.0, < 2.5.12.5.1osv
Packagist doctrine/mongodb-odm< 1.0.21.0.2osv
Packagist doctrine/mongodb-odm-bundle< 3.0.13.0.1osv
Packagist zendframework/zendframework1>= 1.12.0, < 1.12.161.12.16osv
Packagist zendframework/zend-cache>= 2.5.0, < 2.5.32.5.3, 2.4.8osv
Packagist aws/aws-sdk-php>= 3.0.0, < 3.2.13.2.1osv
Packagist zendframework/zendframework>= 2.4.0, < 2.4.82.4.8osv
Packagist zfcampus/zf-apigility-doctrine>= 1.0.0, < 1.0.31.0.3osv
n/a——nvd

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2015-5723. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2015-5723.md
Affected: doctrine/annotations < 1.2.7; doctrine/cache >= 1.4.0, < 1.4.2; doctrine/common < 2.4.3; doctrine/orm >= 2.5.0, < 2.5.1; doctrine/mongodb-odm < 1.0.2; doctrine/mongodb-odm-bundle < 3.0.1; zendframework/zendframework1 >= 1.12.0, < 1.12.16; zendframework/zend-cache >= 2.5.0, < 2.5.3; aws/aws-sdk-php …
Fixed in: 1.2.7, 1.4.2, 1.3.2, 2.4.3, 2.5.1, 1.0.2, 3.0.1, 1.12.16, 2.5.3, 2.4.8, 3.2.1, 1.0.3

Steps:
1. Search this machine and project for doctrine/annotations (Packagist), doctrine/cache (Packagist), doctrine/common (Packagist), doctrine/orm (Packagist), doctrine/mongodb-odm (Packagist), doctrine/mongodb-odm-bundle (Packagist): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

Other

FAQ

Is CVE-2015-5723 being exploited?

There is no confirmed exploitation: CVE-2015-5723 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.38% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2015-5723?

High: CVSS 7.8 (v3.0, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2015-5723?

doctrine/annotations < 1.2.7; doctrine/cache >= 1.4.0, < 1.4.2; doctrine/common < 2.4.3; doctrine/orm >= 2.5.0, < 2.5.1; doctrine/mongodb-odm < 1.0.2; doctrine/mongodb-odm-bundle < 3.0.1; zendframework/zendframework1 >= 1.12.0, < 1.12.16; zendframework/zend-cache >= 2.5.0, < 2.5.3; aws/aws-sdk-php >= 3.0.0, < 3.2.1; zendframework/zendframework >= 2.4.0, < 2.4.8; zfcampus/zf-apigility-doctrine >= 1.0.0, < 1.0.3.

Is there a fix for CVE-2015-5723?

Yes. Fixed in 1.2.7, 1.4.2, 1.3.2, 2.4.3, 2.5.1, 1.0.2, 3.0.1, 1.12.16, 2.5.3, 2.4.8, 3.2.1, 1.0.3. Upgrade doctrine/annotations to 1.2.7 or later. Upgrade doctrine/cache to one of 1.4.2, 1.3.2 (or later in the same release line). Upgrade doctrine/common to one of 2.4.3, 2.5.1 (or later in the same release line). Upgrade doctrine/orm to 2.5.1 or later. Upgrade doctrine/mongodb-odm to 1.0.2 or later. Upgrade doctrine/mongodb-odm-bundle to 3.0.1 or later. Upgrade zendframework/zendframework1 to 1.12.16 or later. Upgrade zendframework/zend-cache to one of 2.5.3, 2.4.8 (or later in the same release line).

How do I check if I'm affected by CVE-2015-5723?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors