ADVISORIES

GitHub Advisory Database

GHSA-qpj9-qcwx-8jv2

PowSyBl Core XML Reader allows XXE and SSRF

Details

Impact

_What kind of vulnerability is it? Who is impacted?_ In certain places, powsybl-core XML parsing is vulnerable to an XXE attack and in on place also to an SSRF attack. This allows an attacker to elevate their privileges to read files that they do not have permissions to, including sensitive files on the system. The vulnerable class is com.powsybl.commons.xml.XmlReader which is considered to be untrusted in use cases where untrusted users can submit their XML to the vulnerable methods. This can be a multi-tenant application that hosts many different users perhaps with different privilege levels.

Am I impacted?

You are vulnerable if you allow untrusted users to import untrusted CGMES or XIIDM network files.

Patches

com.powsybl:powsybl-commons:6.7.2 and higher

References

powsybl-core v6.7.2

Affected packages

EcosystemPackageAffected versions
Mavencom.powsybl:powsybl-commons
All versions before 6.7.2 (fixed in 6.7.2)

References