PT-2016-3697 · Doctrine+1 · Orm+6

Jonathan Eskew

+1

·

Published

2015-10-06

·

Updated

2022-05-17

·

CVE-2015-5723

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Doctrine Annotations versions prior to 1.2.7 Cache versions prior to 1.3.2 and versions 1.4.x prior to 1.4.2 Common versions prior to 2.4.3 and versions 2.5.x prior to 2.5.1 ORM versions prior to 2.4.8 and versions 2.5.x prior to 2.5.1 MongoDB ODM versions prior to 1.0.2 MongoDB ODM Bundle versions prior to 3.0.1
Description The issue 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. This is due to the use of world-writable permissions for cache directories.
Recommendations For Doctrine Annotations versions prior to 1.2.7, update to version 1.2.7 or later. For Cache versions prior to 1.3.2, update to version 1.3.2 or later. For Cache versions 1.4.x prior to 1.4.2, update to version 1.4.2 or later. For Common versions prior to 2.4.3, update to version 2.4.3 or later. For Common versions 2.5.x prior to 2.5.1, update to version 2.5.1 or later. For ORM versions prior to 2.4.8, update to version 2.4.8 or later. For ORM versions 2.5.x prior to 2.5.1, update to version 2.5.1 or later. For MongoDB ODM versions prior to 1.0.2, update to version 1.0.2 or later. For MongoDB ODM Bundle versions prior to 3.0.1, update to version 3.0.1 or later.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2015-5723
DSA-3369-1
GHSA-PW5C-XQF2-6XC2
MGASA-2015-0391

Affected Products

Cache
Common
Doctrine Annotations
Mongodb Odm
Mongodb Odm Bundle
Orm
Php