GitHub Advisory Database
GHSA-pw5c-xqf2-6xc2
Doctrine Security Misconfiguration Vulnerability
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | doctrine/annotations | All versions before 1.2.7 (fixed in 1.2.7) |
| Packagist | doctrine/cache | From 1.4.0 before 1.4.2 (fixed in 1.4.2) |
| Packagist | doctrine/common | All versions before 2.4.3 (fixed in 2.4.3) |
| Packagist | doctrine/common | From 2.5.0-stable before 2.5.1 (fixed in 2.5.1) |
| Packagist | doctrine/orm | From 2.5.0 before 2.5.1 (fixed in 2.5.1) |
| Packagist | doctrine/mongodb-odm | All versions before 1.0.2 (fixed in 1.0.2) |
| Packagist | doctrine/mongodb-odm-bundle | All versions before 3.0.1 (fixed in 3.0.1) |
| Packagist | zendframework/zendframework1 | From 1.12.0 before 1.12.16 (fixed in 1.12.16) |
| Packagist | zendframework/zend-cache | From 2.5.0 before 2.5.3 (fixed in 2.5.3) |
| Packagist | aws/aws-sdk-php | From 3.0.0 before 3.2.1 (fixed in 3.2.1) |
| Packagist | doctrine/cache | From 1.0.0 before 1.3.2 (fixed in 1.3.2) |
| Packagist | zendframework/zend-cache | From 2.4.0 before 2.4.8 (fixed in 2.4.8) |
| Packagist | zendframework/zendframework | From 2.4.0 before 2.4.8 (fixed in 2.4.8) |
| Packagist | zfcampus/zf-apigility-doctrine | From 1.0.0 before 1.0.3 (fixed in 1.0.3) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-5723
- https://framework.zend.com/security/advisory/ZF2015-07
- https://github.com/FriendsOfPHP/security-advisories/blob/master/aws/aws-sdk-php/CVE-2015-5723.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/doctrine/cache/CVE-2015-5723.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/doctrine/orm/CVE-2015-5723.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zend-cache/CVE-2015-5723.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework/CVE-2015-5723.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework1/CVE-2015-5723.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/zfcampus/zf-apigility-doctrine/CVE-2015-5723.yaml
- https://github.com/aws/aws-sdk-php/releases/tag/3.2.1
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2IUUC7HPN4XE5NNTG4MR76OC662XRZUO
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HPS7A54FQ2CR6PH4NDR6UIYJIRNFXW67
- https://lists.fedoraproject.org/archives/list/[email protected]/message/2IUUC7HPN4XE5NNTG4MR76OC662XRZUO
- https://lists.fedoraproject.org/archives/list/[email protected]/message/HPS7A54FQ2CR6PH4NDR6UIYJIRNFXW67
- https://www.doctrine-project.org/2015/08/31/security_misconfiguration_vulnerability_in_various_doctrine_projects.html
- http://framework.zend.com/security/advisory/ZF2015-07
- http://www.debian.org/security/2015/dsa-3369
- http://www.doctrine-project.org/2015/08/31/security_misconfiguration_vulnerability_in_various_doctrine_projects.html