Server-Side Request Forgery (SSRF) in Netmask package for npm



Published: 2021-03-29 | Updated: 2021-04-07
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-29418
CVE-2021-28918
CWE-ID CWE-918
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
Netmask
Web applications / Modules and components for CMS

Vendor Olivier Poitrey

Security Bulletin

This security bulletin contains information about 1 vulnerabilities.

Updated: 30.03.2021

Updated list of affected and fixed versions, added additional links.

Updated: 06.04.2021

Assigned another CVE-ID to address incomplete patch in version 2.0.0.

1) Server-Side Request Forgery (SSRF)

EUVDB-ID: #VU51767

Risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N/E:P/RL:O/RC:C]

CVE-ID: CVE-2021-29418,CVE-2021-28918

CWE-ID: CWE-918 - Server-Side Request Forgery (SSRF)

Exploit availability: No

Description

The disclosed vulnerability allows a remote attacker to perform SSRF attacks.

The vulnerability exists due to insufficient validation of user-supplied input in octal literals. A remote attacker can send a specially crafted HTTP request and trick the application to initiate requests to arbitrary systems.

Successful exploitation of this vulnerability may allow a remote attacker gain access to intranets, VPNs, containers, adjacent VPC instances, or LAN hosts.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Netmask: 0.0.1 - 2.0.0

External links

http://github.com/sickcodes/security/blob/master/advisories/SICK-2021-011.md
http://github.com/advisories/GHSA-pch5-whg9-qr2r
http://www.npmjs.com/advisories/1658
http://github.com/rs/node-netmask/commit/3f19a056c4eb808ea4a29f234274c67bc5a848f4
http://vuln.ryotak.me/advisories/6


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###