A Prototype Pollution issue in Aliconnect /sdk v.0.0.6 allows an attacker to execute arbitrary code via the aim function in the aim.js component.
The vulnerability (CWE-1321) consists of the ability to modify the prototype of built-in JavaScript objects through unclean input data. An attacker can provide a crafted object containing properties such as '__proto__', which will be merged with the global Object prototype. In the case of Aliconnect SDK, the vulnerable component is aim.js — specifically the aim() function — which processes input data without proper validation, leading to prototype poisoning and arbitrary code execution.
An attacker can execute arbitrary code on the server side (RCE), which can effectively lead to complete breach of confidentiality, integrity and availability of the system — including takeover of the application and its operating environment.
Patches available from the vendor should be applied according to references. Until a fix is released, it is recommended to avoid using the aim() function with untrusted input data, implement input validation and sanitization, and consider applying Object.freeze(Object.prototype) as a temporary workaround.
Aliconnect Software Development Kit (package /sdk) in version 0.0.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HAliconnect Software Development Kit
APPAliconnect0.0.6