Overview
The vulnerability CVE-2025-57330 is a Prototype Pollution issue in the web3-core-subscriptions package. This package is widely used to manage web3 subscriptions, and the vulnerability affects all versions up to 1.10.4. This issue could potentially allow an attacker to cause a Denial of Service (DoS) to the system, compromise it, or even leak sensitive data, hence the need for immediate attention and mitigation.
Vulnerability Summary
CVE ID: CVE-2025-57330
Severity: High (7.5 CVSS)
Attack Vector: Network
Privileges Required: None
User Interaction: None
Impact: System compromise, data leakage, and potential for DoS
Affected Products
A new way to communicate
Ameeba Chat is built on encrypted identity, not personal profiles.
Message, call, share files, and coordinate with identities kept separate.
- • Encrypted identity
- • Ameeba Chat authenticates access
- • Aliases and categories
- • End-to-end encrypted chat, calls, and files
- • Secure notes for sensitive information
Private communication, rethought.
Product | Affected Versions
web3-core-subscriptions | 1.10.4 and before
How the Exploit Works
The exploit works by an attacker injecting properties into Object.prototype via a carefully crafted payload. This payload can be delivered through network interaction with the application using the vulnerable package. The injection can modify the core behavior of the application, causing it to crash (Denial of Service) or behave unpredictably, potentially leading to system compromise or data leakage.
Conceptual Example Code
Here is a conceptual example of a malicious payload that could exploit this vulnerability:
POST /web3/subscribe HTTP/1.1
Host: target.example.com
Content-Type: application/json
{
"__proto__": {
"shutdown": true
}
}
In this example, if the server parses this JSON and merges it into their application state, it could trigger unwanted behavior like shutting down the system or service. Please note that this is a simplified example and real exploit code may be more complex and less obvious.
