PT-2023-3087 · Xml2Js · Xml2Js
CVSS v3.1
5.3
Média
| Vetor | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
xml2js versions prior to 0.5.0
Description
The issue is related to uncontrolled modification of object prototype attributes in the xml2js software, which converts XML objects to JavaScript. This can allow a remote attacker to edit properties of the
proto object. The vulnerability arises because the application does not properly validate incoming JSON keys, thus allowing the proto property to be edited.Recommendations
For xml2js versions prior to 0.5.0, update to version 0.5.0 or later to resolve the issue. As a temporary workaround, consider restricting the use of the
proto property in the affected application until a patch is available. Avoid using unvalidated JSON keys in the affected API endpoints until the issue is resolved.Exploit
Correção
Prototype Pollution
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Enumeração de Fraquezas
Identificadores relacionados
Produtos afetados
Xml2Js