
Cloud Vulnerability DB
A community-led vulnerabilities database
The vulnerability (GHSA-fgp6-8g62-qx6w) was identified in the npm package 'smartsearchwp', which was discovered to contain malicious code. The issue was published to the GitHub Advisory Database on September 3, 2020, and last updated on January 9, 2023. All versions of the package are affected, and there are no patched versions available (GitHub Advisory).
The vulnerability has been assigned a Critical severity rating with a CVSS score of 9.8. The CVSS base metrics indicate Network attack vector, Low attack complexity, No privileges required, No user interaction needed, Unchanged scope, and High impact on Confidentiality, Integrity, and Availability. The vulnerability is associated with CWE-506 (GitHub Advisory).
The malicious package was designed to steal credentials from websites where it is loaded. It contains functionality to traverse DOM elements searching for username and password fields, uploading the collected data to a remote server. Additionally, the package performs port scanning of the local gateway and uploads this information. It also includes a feature to fetch and execute commands from a remote server using eval. However, the npm security team found that bugs in the malware prevented it from successfully executing these malicious actions (GitHub Advisory).
The malicious code is not automatically invoked upon installation or require. Exploitation would require transpiling TypeScript code and implementing it in a website. The npm security team's analysis revealed that several bugs in the malware prevent it from successfully performing its intended malicious actions (GitHub Advisory).
The recommended action is to completely remove the package from the environment. According to the advisory, there is no indication of further compromise beyond the package itself (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."