CVE-2017-1000431: Ezsystems/ezpublish legacy Cross-Site Scripting Vulnerability
MODERATECVE-2017-1000431 is a MODERATE (CVSS 6.1) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Ezsystems/ezpublish legacy libraries in the Packagist ecosystem. The issue involves ez publish cross-site scripting (xss) vulnerability. Remediation is available by upgrading affected packages to version 5.4.10, 5.3.12.1.
CVE-2017-1000431 at a Glance
Security Impact
CVSS: 6.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N).
How to Fix CVE-2017-1000431
To remediate this vulnerability, upgrade all affected Ezsystems/ezpublish legacy dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade ezsystems/ezpublish-legacy to 5.4.10
Upgrade ezsystems/ezpublish-legacy to 5.3.12.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for ezsystems/ezpublish-legacy
How to Check if You Are Affected
To determine whether your application is affected by CVE-2017-1000431, inspect your project dependencies for Ezsystems/ezpublish legacy:
inspect dependencies for ezsystems/ezpublish-legacy
Analyze the terminal output to locate any version of Ezsystems/ezpublish legacy in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.4.10), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Ezsystems/ezpublish legacy, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2017-1000431 Affected Ezsystems/ezpublish legacy Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ezsystems/ezpublish-legacy
|
Packagist |
≥ 5.4.0
< 5.4.10
|
5.4.10
|
|
ezsystems/ezpublish-legacy
|
Packagist |
≥ 5.3.0
< 5.3.12.1
|
5.3.12.1
|
References
Frequently Asked Questions
What is CVE-2017-1000431?
Which Ezsystems/ezpublish legacy versions are affected?
What version fixes CVE-2017-1000431?
Is ezsystems/ezpublish-legacy affected?
What is the CVSS score of CVE-2017-1000431?
What CWE is associated with CVE-2017-1000431?
How can I check Packagist dependencies for CVE-2017-1000431?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-m98q-p5gq-q5ff",
"modified" : "2024-04-25T20:58:27Z",
"published" : "2022-05-14T03:49:37Z",
"aliases" : [ "CVE-2017-1000431" ],
"summary" : "eZ Publish Cross-site Scripting (XSS) vulnerability",
"details" : "eZ Systems eZ Publish version 5.4.0 to 5.4.9, and 5.3.12.0 and older, is vulnerable to an XSS issue in the search module, resulting in a risk of attackers injecting scripts which may e.g. steal authentication credentials.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "ezsystems/ezpublish-legacy"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.4.0"
}, {
"fixed" : "5.4.10"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "ezsystems/ezpublish-legacy"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.3.0"
}, {
"fixed" : "5.3.12.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-1000431"
}, {
"type" : "WEB",
"url" : "https://github.com/ezsystems/ezpublish-legacy/commit/c7174295fa0b9bd81bd4af908082464b0b80f278"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/ezsystems/ezpublish-legacy/CVE-2017-1000431.yaml"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20210408035246/http://share.ez.no/community-project/security-advisories/ezsa-2017-005-xss-issue-in-search"
}, {
"type" : "WEB",
"url" : "http://share.ez.no/community-project/security-advisories/ezsa-2017-005-xss-issue-in-search"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-25T20:58:27Z",
"nvd_published_at" : "2018-01-02T20:29:00Z"
}
}