Lookup for vulnerabilities affecting packages.

Vulnerability_idVCID-y2r5-sqjj-f3fc
Summary
eZ Publish Remote code execution in file uploads
This Security Advisory is about a vulnerability in the way eZ Platform and eZ Publish Legacy handles file uploads, which can in the worst case lead to remote code execution (RCE), a very serious threat. An attacker would need access to uploading files to be able to exploit the vulnerability, so if you have strict controls on this and trust all who have this permission, you're not affected. On the basis of the tests we have made, we also believe the vulnerability cannot be exploited as long as our recommended vhost configuration is used. Here is the v2.5 recommendation for Nginx, as an example:

 https://github.com/ezsystems/ezplatform/blob/2.5/doc/nginx/vhost.template#L31

 This vhost template specifies that only the file app.php in the web root is executed, while vulnerable configurations allow execution of any php file. Apache is affected in the same way as Nginx, and is also protected by using the recommended configuration. The build-in webserver in PHP stays vulnerable, as it doesn't use this type of configuration (this webserver should only be used for development, never for production). We cannot be 100% certain our configuration is not vulnerable. We also do not know if all our users use the recommended configuration, so we send out this fix to be on the safe side.

The fix includes a blocklist feature for uploaded filenames, such as ".php". The file types on the blocklist cannot be uploaded. The blocklist is configurable. In eZ Platform you will find it as ezsettings.default.io.file_storage.file_type_blocklist in eZ/Bundle/EzPublishCoreBundle/Resources/config/default_settings.yml in vendors/ezsystems/ezpublish-kernel. In eZ Publish Legacy you will find it as FileExtensionblockList in settings/file.ini. By default it blocks these file types: php, php3, phar, phpt, pht, phtml, pgif. The fix also inclues a new block against path traversal attacks, though this kind of attack was not reproducible in our tests.
Aliases
0
alias GHSA-3vwr-jj4f-h98x
Fixed_packages
Affected_packages
0
url pkg:composer/ezsystems/ezpublish-kernel@5.4.0
purl pkg:composer/ezsystems/ezpublish-kernel@5.4.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5jc4-962r-6kez
1
vulnerability VCID-8cdb-zjbz-1kdv
2
vulnerability VCID-a9x3-rx3e-8kbj
3
vulnerability VCID-y2r5-sqjj-f3fc
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-kernel@5.4.0
1
url pkg:composer/ezsystems/ezpublish-kernel@6.13.0
purl pkg:composer/ezsystems/ezpublish-kernel@6.13.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5jc4-962r-6kez
1
vulnerability VCID-7k4g-s55n-zba3
2
vulnerability VCID-8cdb-zjbz-1kdv
3
vulnerability VCID-m6hv-1sz4-mfff
4
vulnerability VCID-n9ba-bdr7-vkfg
5
vulnerability VCID-ukn1-91je-x7hw
6
vulnerability VCID-vpbp-kn99-hygk
7
vulnerability VCID-y2r5-sqjj-f3fc
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-kernel@6.13.0
2
url pkg:composer/ezsystems/ezpublish-kernel@7.5.0
purl pkg:composer/ezsystems/ezpublish-kernel@7.5.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-1eex-e332-37e8
1
vulnerability VCID-3pbx-gwd6-jyfs
2
vulnerability VCID-7k4g-s55n-zba3
3
vulnerability VCID-86hr-ej2a-ubbw
4
vulnerability VCID-8cdb-zjbz-1kdv
5
vulnerability VCID-hhfp-81fr-zkhn
6
vulnerability VCID-jz3f-vywm-v7a7
7
vulnerability VCID-m6hv-1sz4-mfff
8
vulnerability VCID-n9ba-bdr7-vkfg
9
vulnerability VCID-q58t-76x6-mqgp
10
vulnerability VCID-tw5w-dvc4-gfh4
11
vulnerability VCID-ueng-9gm9-4qb2
12
vulnerability VCID-ukn1-91je-x7hw
13
vulnerability VCID-veax-u5rr-4kbv
14
vulnerability VCID-vpbp-kn99-hygk
15
vulnerability VCID-y2r5-sqjj-f3fc
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-kernel@7.5.0
References
0
reference_url https://ezplatform.com/security-advisories/ezsa-2020-001-remote-code-execution-in-file-uploads
reference_id
reference_type
scores
0
value HIGH
scoring_system generic_textual
scoring_elements
url https://ezplatform.com/security-advisories/ezsa-2020-001-remote-code-execution-in-file-uploads
1
reference_url https://github.com/ezsystems/ezpublish-kernel
reference_id
reference_type
scores
0
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/ezsystems/ezpublish-kernel
2
reference_url https://github.com/FriendsOfPHP/security-advisories/blob/master/ezsystems/ezpublish-kernel/2020-03-03-1.yaml
reference_id
reference_type
scores
0
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/FriendsOfPHP/security-advisories/blob/master/ezsystems/ezpublish-kernel/2020-03-03-1.yaml
3
reference_url https://web.archive.org/web/20210304031629/https://developers.ibexa.co/security-advisories/ezsa-2020-001-remote-code-execution-in-file-uploads
reference_id
reference_type
scores
0
value HIGH
scoring_system generic_textual
scoring_elements
url https://web.archive.org/web/20210304031629/https://developers.ibexa.co/security-advisories/ezsa-2020-001-remote-code-execution-in-file-uploads
4
reference_url https://github.com/advisories/GHSA-3vwr-jj4f-h98x
reference_id GHSA-3vwr-jj4f-h98x
reference_type
scores
url https://github.com/advisories/GHSA-3vwr-jj4f-h98x
Weaknesses
0
cwe_id 94
name Improper Control of Generation of Code ('Code Injection')
description The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
1
cwe_id 937
name OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities
description Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013.
2
cwe_id 1035
name OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities
description Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017.
Exploits
Severity_range_score7.0 - 8.9
Exploitability0.5
Weighted_severity8.0
Risk_score4.0
Resource_urlhttp://public2.vulnerablecode.io/vulnerabilities/VCID-y2r5-sqjj-f3fc