{"url":"http://public2.vulnerablecode.io/api/packages/56950?format=json","purl":"pkg:composer/ezsystems/ezpublish-legacy@2018.6.1%2B4","type":"composer","namespace":"ezsystems","name":"ezpublish-legacy","version":"2018.6.1+4","qualifiers":{},"subpath":"","is_vulnerable":false,"next_non_vulnerable_version":"2019.3.6+1","latest_non_vulnerable_version":"2019.3.6+1","affected_by_vulnerabilities":[],"fixing_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/54903?format=json","vulnerability_id":"VCID-f41r-p9hu-hyhx","summary":"Ez Platform and Legacy are prone to an insecure interpretation of PHP/PHAR uploads\nThe eZ Platform and Legacy are affected by an issue related to how uploaded PHP and PHAR files are handled, and consists of two parts: 1. Web server configuration, and 2. Disabling the PHAR stream wrapper.\n\n**1. WEB SERVER CONFIGURATION**\nThe sample web server configuration in our documentation can in some cases allow the execution of uploaded PHP/PHAR code. This can be abused to allow priviledge escalation and breach of content access controls, among other things. Please ensure that your web server will not execute files in directories were files may be uploaded, such as web/var/ and ezpublish_legacy/var/\n\nAs an example, here is how you can make Apache return HTTP 403 Forbidden for a number of executable file types in your eZ Platform var directory. Please adapt it to your needs. It is then possible to enable logging of HTTP 403 in a separate log file if you wish, you could do this to see if someone is trying to abuse the server.\n```\nRewriteEngine On","references":[{"reference_url":"https://github.com/ezsystems/ezplatform/commit/9a0c52dc4535e4b3ce379f80222dc53f705a2cfd","reference_id":"","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/ezsystems/ezplatform/commit/9a0c52dc4535e4b3ce379f80222dc53f705a2cfd"},{"reference_url":"https://github.com/ezsystems/ezpublish-legacy","reference_id":"","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/ezsystems/ezpublish-legacy"},{"reference_url":"https://github.com/ezsystems/ezpublish-legacy/commit/d21957bf202b091ab39dfb5be300f6c30be3933e","reference_id":"","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/ezsystems/ezpublish-legacy/commit/d21957bf202b091ab39dfb5be300f6c30be3933e"},{"reference_url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/ezsystems/ezpublish-legacy/2018-11-21-1.yaml","reference_id":"","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/ezsystems/ezpublish-legacy/2018-11-21-1.yaml"},{"reference_url":"http://share.ez.no/community-project/security-advisories/ezsa-2018-009-do-not-interpret-php-phar-uploads","reference_id":"","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"http://share.ez.no/community-project/security-advisories/ezsa-2018-009-do-not-interpret-php-phar-uploads"},{"reference_url":"https://web.archive.org/web/20210614192208/https://share.ez.no/community-project/security-advisories/ezsa-2018-009-do-not-interpret-php-phar-uploads","reference_id":"","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://web.archive.org/web/20210614192208/https://share.ez.no/community-project/security-advisories/ezsa-2018-009-do-not-interpret-php-phar-uploads"},{"reference_url":"https://github.com/advisories/GHSA-pqjm-xcp8-wgmm","reference_id":"GHSA-pqjm-xcp8-wgmm","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-pqjm-xcp8-wgmm"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/81440?format=json","purl":"pkg:composer/ezsystems/ezpublish-legacy@2018.9.1%2B3","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-legacy@2018.9.1%252B3"},{"url":"http://public2.vulnerablecode.io/api/packages/81442?format=json","purl":"pkg:composer/ezsystems/ezpublish-legacy@5.3.12%2B6","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-legacy@5.3.12%252B6"},{"url":"http://public2.vulnerablecode.io/api/packages/81441?format=json","purl":"pkg:composer/ezsystems/ezpublish-legacy@5.4.12%2B3","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-legacy@5.4.12%252B3"},{"url":"http://public2.vulnerablecode.io/api/packages/57078?format=json","purl":"pkg:composer/ezsystems/ezpublish-legacy@2017.12.4%2B3","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-legacy@2017.12.4%252B3"},{"url":"http://public2.vulnerablecode.io/api/packages/56950?format=json","purl":"pkg:composer/ezsystems/ezpublish-legacy@2018.6.1%2B4","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-legacy@2018.6.1%252B4"}],"aliases":["GHSA-pqjm-xcp8-wgmm"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-f41r-p9hu-hyhx"},{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/40407?format=json","vulnerability_id":"VCID-ufw5-emg4-cqd6","summary":"EZSA-2018-006 XSS vulnerability in 'disabled module' error template","references":[{"reference_url":"http://share.ez.no/community-project/security-advisories/ezsa-2018-006-xss-vulnerability-in-disabled-module-error-template","reference_id":"","reference_type":"","scores":[],"url":"http://share.ez.no/community-project/security-advisories/ezsa-2018-006-xss-vulnerability-in-disabled-module-error-template"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/56949?format=json","purl":"pkg:composer/ezsystems/ezpublish-legacy@2017.12.4%2B2","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-legacy@2017.12.4%252B2"},{"url":"http://public2.vulnerablecode.io/api/packages/56950?format=json","purl":"pkg:composer/ezsystems/ezpublish-legacy@2018.6.1%2B4","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-legacy@2018.6.1%252B4"},{"url":"http://public2.vulnerablecode.io/api/packages/56951?format=json","purl":"pkg:composer/ezsystems/ezpublish-legacy@2019.3.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-6cyy-uhhk-63aa"},{"vulnerability":"VCID-qymv-b76a-2yh2"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-legacy@2019.3.0"}],"aliases":["GMS-2018-66"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-ufw5-emg4-cqd6"}],"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-legacy@2018.6.1%252B4"}